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
1 | local up = workspace.Control.Control 1 |
2 | local ele = workspace.Elevator |
3 | function onClick() |
4 | ele.Body.Position = Vector 3. new( 60.5 , 0.5 , - 209 ) |
5 | end |
6 | up.ClickDetector.MouseClick:connect(onClick) |
Down elevator
1 | local ele = workspace.Elevator |
2 | local down = workspace.Control.Control 2 |
3 | function onClick() |
4 | ele.Body.Position = Vector 3. new( 60.5 , - 30.5 , - 209 ) |
5 | end |
6 | 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.