This is a code where I'm using BodyGyro to rotate the player's body. But when I equip a tool, it starts glitching.
Here's a GIF of what happens when I start flying and equip a weapon. https://gyazo.com/fcba800c4714f076e5616d1be8facaf1
Here's the code that's involved with this.
local bg = Instance.new("BodyGyro", torso)
bg.P = 9e4
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame
Any help with this would be appreciated. Thanks!
