My Remote event is firing and activating multiple times based on the number of players in a game. For example if there are 3 players the remote event will trigger about 3 times and for 2, two times.

local RemoteEvent = game:GetService("ReplicatedStorage").RemoteEvent

local debounce = false local cooldown = 1.35

script.Parent.Activated:Connect(function() if debounce then return end debounce = true

RemoteEvent:FireServer()


wait(cooldown)
debounce = false

end)

1 comment

0

Where is that script located?