Today i was testing some BodyVelocity scripts. So i build a platform that goes forward, but, the only problem is that when someone get on that platform it rotates like crazy. Other things such as the force, altitude and weight wasn't affected.
Here's the script
local Detector = script.Parent.Parent:WaitForChild("ClickDetector) Detector.MouseClick:Connect(function(player) local HLSpeed = 10 script.Parent.MaxForce = Vector3.new(math.huge, math.huge, math.huge) script.Parent.Velocity = Vector3.new(0,0,2) script.Parent.Velocity = script.Parent.Parent.CFrame.LookVector *HLSpeed end)
Is there a way i can make a block that can be moved but not rotated?
Nvm found out myself, i just have to put a body gyro, set max torque to 400000, 400000, 400000 and i'm done :/