RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a local script inside a text button that enables and disables default roblox backpack"
-- local script inside a text button local button = script.Parent local player = game:GetService("Players").LocalPlayer local backpackEnabled = true local function toggleBackpack() if backpackEnabled then player.Backpack.Disabled = true backpackEnabled = false button.Text = "Enable Backpack" else player.Backpack.Disabled = false backpackEnabled = true button.Text = "Disable Backpack" end end button.MouseButton1Click:Connect(toggleBackpack)