Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to re-enable this correctly?

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?

2 comments

0

do you activate it with a server script?

0

No I use a local script

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.