How to stop bodygyro from auto rotating?

hello, so my body gyro will auto rotate. Idk why this is happening. This is my gyro’s properties:
image

This is my script(module)

   local self = setmetatable({}, {})
    self.maxSpeed = Seat.MaxSpeed
    self.currentSpeed = 0
    self.currentAgent = nil
    local shotActivated = Instance.new("BindableEvent")
    self.shotActivated = shotActivated.Event
    self.activeKeys = keybinds
    self.gyro = Plane:FindFirstChildWhichIsA("BodyGyro", true)
    self.gyro.CFrame = Body.CFrame * Body.CFrame.Rotation
    self.gyro.MaxTorque = Vector3.new(math.huge, math.huge,math.huge)
    self.force = Plane:FindFirstChildWhichIsA("BodyVelocity", true)
    self.force.MaxForce = Vector3.new(math.huge, math.huge,math.huge)
    function self.initControls(agent)
        controls:addController(agent)
    end

if u have any questions then feel free to ask

1 Like

Hej

By auto rotating do you mean that it wont stop even after you stop setting its cframe value?

1 Like

I mean like it’ll automatically rotate. It works, it just rotates automatically.

Ill need greater clarification to help.

Does it automatically rotate when you spawn it in? Or does it not stop rotating? Or something else?

it does auto rotate when i spawn in

actually, turns out setting the gyro cframe to the body cframe works. This is the old version

 self.gyro.CFrame = Body.CFrame * Body.CFrame.Rotation

new version:

  self.gyro.CFrame = Body.CFrame

Also, you might want to consider doing the gyro.CFrame = body.CFrame in a while loop or something so it wont auto rotate.