So I'm making a door script where the player clicks on one side of a door and would appear on the other side and vice versa, there would also be a GUI transition animation for the player when they click the door and I plan on doing this using RemoteEvents.
local transitioning = false
script.Parent.DoorIn.ClickDetector.MouseClick:Connect(function(Plr)
if transitioning == false then
transitioning = true
--fire said RemoteEvent
wait(0.5)
transitioning = false
end
end)
This just makes it so that the player cannot fire an event whilst the transitioning is occurring, but this means other players cannot activate the transition whilst another player is already transitioning during that 0.5 wait period, I would like other players to click on the door and activate the event despite ANOTHER player is already transitioning.

2 comments
Try putting players in a debounce table, if they are not in the table, put them in and fire the remote event. After firing, remove them from the table.
Wouldn’t that be taxing on the script performance or would it not affect it?