Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can Somone Help make a Cooldown for a Slash?

I do not Know Lua Lua C or Script I know a little bit of scripting tho! Help please!!!!

2 comments

0

Boi, I helped u earlier and u said show ur work. What did I get back? Not even answer accepted. Moderated

0

Please i dont know how to do nothing

1 answer

✓ Accepted answer

To make a cooldown you would want to use debounce example: it can be named anything not just debounce

local debounce = false

tool.Activated:connect(function()
	if debounce == false then
		debounce = true
		print('henlo my dudes') -- the stuff you want to be activated for the script
		wait(.25) -- cooldown
		debounce = false -- makes it false so it can run again
	end
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.