I’m new to scripting and I wanted to make an obby. But i don’t know how to make moving parts. I tried to make them but the parts will move but will not take the player standing on it the player will fall as soon as the part starts moving. Plz, help me.
You could move the part using TweenService.
1 Like
I have tried tween once but only the part will move n the player doesn’t so the player falls as soon as the part goes a little far
That’s because Tweening moves Parts using CFraming, which moves Anchored Parts a small distance at a time. I’d suggest using a PrismaticConstraint in your obby. Set the ActuatorType to Servo and script the platform to move from one position to another by setting the TargetPosition.
https://developer.roblox.com/en-us/articles/Creating-Your-First-Game
1 Like
Thnx but I think I will use Body Force and Body Gyro as this is a little complicated for a beginner but I will surely try your answer - PrismaticConstraint