function abilities(key) if key == "q" then local bodySpin = Instance.new("BodyAngularVelocity") bodySpin.P = 200000 bodySpin.angularvelocity = Vector3.new(0,15,0) bodySpin.maxTorque = Vector3.new(bodySpin.P,bodySpin.P,bodySpin.P) bodySpin.Parent = torso wait(5) end end mouse.KeyDown:connect(abilities)
Why isn't this creeating a new BodyAngularVelocity?
My guess is that you did not define "mouse".
Add this to your script: (before the last line with mouse.KeyDown:connect)
local mouse = game.Players.LocalPlayer:GetMouse()
Assuming it is a LocalScript.