Hello! I've created my own plane system but when I use special mode. This anchors the plane and set maxForce
of BV to 0,0,0 and set maxTorque
to BG to 0,0,0
But when I stand on part this is normal from client view but others see it like i'm flying around plane
Client View: http://prntscr.com/o0mlhs
Server View: http://prntscr.com/o0mlma
How do I fix that or this another roblox bug?
Code:
local Stats = script.Parent.Parent:WaitForChild("Stats") local CruiseRE = Instance.new("RemoteEvent",script.Parent.Parent) CruiseRE.Name = "CruiseRE" CruiseRE.OnServerEvent:Connect(function(Player) --if Stats.Speed.Value < 200 then return end if Stats.Anchored.Value == false then if Stats.Cruising.Value == false then Stats.Cruising.Value = true script.Parent.Anchored = true BodyGyro.MaxTorque = Vector3.new(0,0,0) BodyVelocity.MaxForce = Vector3.new(0,0,0) wait() script.Parent.Velocity = Vector3.new(0,0,0) script.Parent.RotVelocity = Vector3.new(0,0,0) end end end)
BV - BodyVelocity
BG - BodyGyro
Here's how I believe this has happened:
To resolve this problem, you might: