I'm trying to use a BodyAngularVelocity to continually make a character flip over backwards. Unfortunately, instead of flipping over backwards, my character just flips towards the global x direction. The direction should change based on which way the character is facing, but it always goes towards global x.
Yes, there are things that would make this code glitchy. They're not a problem, I'm just disabling and enabling the script. I'll fix them after I get the main part working.
--LocalScript, no output.
local plr = game.Players.LocalPlayer
local chr = plr.Character
local bav = Instance.new("BodyAngularVelocity",chr.Torso)
bav.maxTorque = Vector3.new(1000,1000,1000)*999
bav.P = 9999
bav.angularvelocity = Vector3.new(2,0,0) * math.rad(360)
