Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to re-enable this correctly?

Asked by 4 years ago

So here is my code--

game.Players.PlayerAdded:Connect(function(player)

 player.CharacterAdded:Connect(function(character)

 script.Parent.Touched:Connect(function(part)

 player.Backpack.BrokerScripts.GoldSellerActivation.Disabled = false

 print('touched')

 script.Disabled = true

 end)

 end)

end)

Everything works fine the first time, But during the process I use another script to re-enable it, but once enabled script doesn't work anymore. How do I fix it?

0
do you activate it with a server script? Gameplayer365247v2 1055 — 4y
0
No I use a local script KaptainLance 0 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

Nvm fixed it.

Ad

Answer this question