So i’m trying to make a plane, and for some reason when i turn it wont go to the new way.
my code:
local Speed = 50
local MaxSpeed = 10000
local TurnSpeed = 3
local Seat = script.Parent
Seat.Changed:Connect(function(property)
if property == "ThrottleFloat" then
Seat.Parent.Base.MoveForce.Velocity = Seat.Parent.Base.CFrame.LookVector * Speed * Seat.ThrottleFloat
end
if property == "SteerFloat" then
Seat.Parent.Base.RotationForce.AngularVelocity = Vector3.new(0,Seat.SteerFloat * TurnSpeed, 0)
end
end)
any help would be apreciated