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

Moving PlatForms bodyPosition is not working?

Asked by 7 years ago
local model = game.Workspace.MovingPlatForms
local platform = model.Mover
local start = model.Start
local finish = model.Finish
local bodyPosition = platform.BodyPosition

while true do
    bodyPosition.position = start.Position
    wait(6)
    bodyPosition.position = finish.Position
    wait(6)
end

I tried to make a moving platform but it's not working! i tried Free models they are working but if i did the same it's not working....It's really annoying me!

0
What exactly isn't working? Is the platform falling to the ground? Is the platform floating but not moving? Are you getting any errors in output? Dynamese 35 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

in between "while true do" and "end" bodyPosition.position is incorrect. It should be "bodyPosition.Position." The "position should be Position" for both line 8 and 10

0
Not true, the lowercase version might be deprecated, but still works. Dynamese 35 — 7y
Ad

Answer this question