Reposting this since my original post got ignored and is now 5 pages down.
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)

3 comments
I get your logic, but it didn't work. It made my character spin around unpredictably, and way too powerfully.
I tested it in studio and it worked perfectly for me(maybe a bit fast but you can change that easily)
I think i need a new method. The direction of the rotation changes, even the speed changes, between tests.