Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Moving PlatForms bodyPosition is not working?

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!

1 comment

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?

1 answer

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

1 comment

0

Not true, the lowercase version might be deprecated, but still works.

This discussion is preserved as it was. New answers, comments, and votes are closed.