How do I use BodyPosition on Blocks?
So now I have 3 blocks. The block on top is the "Finish" block. The block in the middle and what I want to move is the "Platform" and the block on bottom is the "Start". The Platform has a BodyPosition inserted in it and I created this script to have the Platform move to the Finish but instead the Platform just falls.
1 | local model = game.Workspace.MovingPlatformModel |
2 | local platform = model.Platform |
3 | local start = model.Start |
4 | local finish = model.Finish |
5 | local body = platform.BodyPosition |
7 | body.position = finish.Position |
9 | body.position = start.Position |