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?

1 comment
Oh i didn't paste that in, but I defined all the variables used here. The script runs with no errors, but the only action is the print statement