Is there a way I can do the same with the top arrow or the W key. I am importing a animation and I only want it to work when they are holding down the W or top arrow key.
local animTrack = Humanoid:LoadAnimation(animation) animTrack:Play()
And this page/article extends on the KeyDown event. http://wiki.roblox.com/index.php/Taking_keyboard_input Could you explain where your script is, though? I'm trying to figure it out but I can only get it if it's in a tool.