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

Can remote events be activated more than one time?

When I make an on touched script, I would be able to activate the remote event for the first time, but for subsequent times, I am unable to do so. Is this the case for remote events? If so, does anyone know how to solve this?

1 answer

✓ Accepted answer

Yes, they can. But they can also break if you keep spam firing the event,

prevent this by adding a cooldown to the onTouched script:

script.Parent.Touched:connect(function(hit)
-- add your line here
script.Disabled = true
wait(3) -- how long the cooldown would be
script.Disabled = false

1 comment

0

Thanks for your answer! Greatly appreciated.

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