Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
1.6K
Rename Backpack/Container Names #32
First script will rename all open backpacks.
Second will rename the container on open.
218b | 6 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
UI.Button("Update Button Name", function()
    for i, container in pairs(getContainers()) do
        if not container.window then return end
        container.window:setText("BP: "..container:getId())
    end
end)
164b | 4 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
onContainerOpen(function(container, previousContainer)
    if not container.window then return end
    container.window:setText("BP: " .. container:getId())
end)

26 May 2021
Ads