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

2 comments
This does not work. I hope you relize body is A BodyPosition . And the whole elevator is in an enclosed shaft
Ahhh, sorry for not noticing that. I'm gonna try to fix it