I have a hat giver script but i need a cooldown for it but i don't know how. Here is the script:
script.Parent.Touched:Connect(function(hit) local hum = hit.Parent:FindFirstChild("Humanoid") if hum then local hat = game.ServerStorage.Hat:Clone() hat.Parent = hit.Parent end end)

2 comments
Thx Punctist it work!
No problem!