I would like to make my elevator go up and down with 2 scripts. But it will not work. I get 0 errors but the elevator platform won't move. Up Elevator
local up = workspace.Control.Control1 local ele = workspace.Elevator function onClick() ele.Body.Position = Vector3.new(60.5, 0.5, -209) end up.ClickDetector.MouseClick:connect(onClick)
Down elevator
local ele = workspace.Elevator local down = workspace.Control.Control2 function onClick() ele.Body.Position = Vector3.new(60.5, -30.5, -209) end down.ClickDetector.MouseClick:connect(onClick)
Please help me
0
, while the Y is somewhere around 50000
Since there are no outputs, I will only guess the problem:
Problem #1 may be: Your brick is 'Anchored'. A brick which is anchored will not move at all under any circumstances else than it's position/CFrame value being changed. Body-movers will not affect it either. Try unanchoring your brick.
Problem #2 may be: Your bodyposition's 'D' (dampening) might be too high.
Problem #3 may be: Your bodyposition's 'P' is too low.