I'm trying to make a cooldown for a tool. When you activate it, the tool will disable for 5 seconds and enable after 5 seconds.
script.Parent.Equipped:Connect(function()
script.Parent.Activated:Connect(function()
if script.Parent.Activated then
script.Parent.Enabled = false
wait(5)
script.Parent.Enabled = true
end
end)
end)
