local Debounce = {}
local function Test(Player)
if Debounce[Player] = true then
return
end
Debounce[Player] = false
if Debounce[Player] = false then
Debounce[Player] = true
end
end
1 Like
The easiest way of making a debounce not work for every player is to check the player object’s userid or name. A simple if statement should detect if the player shouldn’t have the debounce. Essentially,
if player.Name ~= "NameOfPlayer" then
or
if player.UserId ~= 1234 then -- id
I may have misunderstood what you meant, some more clarification would be nice if this isn’t what you’re looking for,
This would only work for specific players?
My goal is to have a cooldown work serverside, so not everyone else gets the cooldown.
Iif you’re wanting to make a cooldown work for certain players then this would work.
1 Like
Okay, thank you for the clarification.