Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i control BodyPosition with a script?

Asked by 9 years ago

How do I control bodypostion with script I need help with this To make an elevator

1 answer

Log in to vote
0
Answered by
nich17 95
9 years ago

I scripted an elevator recently and an example of controlling bodyPosition with a script would look something like this provided u have placed it in a part with a different name so it can be found example engine.

game.Workspace.engine.BodyPosition.P = 100      --  this script finds the engine in the workspace and changes the bodyPosition property P (power) to 100
0
if you want to see an example elevator check this out. http://www.roblox.com/Building-place?id=205928773 nich17 95 — 9y
Ad

Answer this question