So I am doing a keydown event, figured it out btw as previous post. But I don't know how to do a cooldown script, and I don't know how to get an animation from the website as in AnimationID's.

Help me please??

Script:

Player = script.Parent.Parent
mouse = Player:GetMouse()

local keyletter = "q"

function onKeyDown(key)
	key = key:lower()
			if key == keyletter then
			
					
				end
			end

mouse.KeyDown:connect(onKeyDown)

1 comment

0

Needs a cooldown too.