wait(.03)
local enabled = true
Player = game.Players.LocalPlayer
xbc = script.Parent
control = Player.Backpack.Controls
xbc.MouseButton1Down:connect(function(Play)
if control.Disabled ~= true then
control.Disabled = false
else
control.Disabled = true
end
end)
How do I make it to where if you click it again it does Disabled = true?

4 comments
Okay! You're right there, but let's take a look. On line 8 you say if the Disable isn't on, turn it off? Why would you turn something thats already off, off?
Remove "Play" in line 7 because MouseButton1Down does not have any arguments.
@LordDragonZord Actually, MouseButton1Down does, it has two, X and Y. However he doesn't need them, so he could remove it, but doesn't need to.
Thanks guys I was able to make it work.