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

Why won't this work?

Asked by 10 years ago

So I am trying to build a elevator, and for some reason. When it goes down, It can't go back up My Script:

local model = game.Workspace.Elevator
local platform = model.Platform
local top = model.Top
local bottom = model.Bottom
local bodyPosition = platform.BodyPosition

while true do
bodyPosition.position = bottom.Position
wait(6)
bodyPosition.position = top.Position
wait(6)
end

When I am in studio It shows no errors. To see what I have for the Elevator go here: web.roblox.com/Testing-Area-place?id=174590350

Answer this question