It's hard scripting when tired. I need sleep.
local elevator = script.Parent.Parent.Move.BodyPosition
local Ready = script.Parent.Parent.Panel.Ready.Value
local Floor = script.Parent.Parent.Panel.Floor.Value
function Activate()
if Floor >= 1 and Floor < 3 and Ready == true then
Ready = false
Floor = Floor + 1
elevator.position = elevator.position + Vector3.new(0,32,0)
wait(2)
Ready = true
end
end
script.Parent.ClickDetector.MouseClick:connect(Activate)
`
"Floor" is a number value.
Every part of the script works but the adding part.
Edit: Odd, two things:
Ready value is also not changing,
the elevator is still not going beyond floor 3, despite the Floor value remaining the same.

1 comment
Ah, I see. Thank you. That makes sense, and the elevator appears to be working now.