open = false; while true do wait(); local PlayerNear = characterIsInRange(); if PlayerNear == true and open == false then play("open",1); play("bars",60); wait(3) moveBars(-0.5); wait(2) play("door",0.8); moveDoor(0.0); --move on -z axis wait(8) moveDoor(0.9); --moving on +x axis open = true; end;
i don't know how to move it back i tried but i don't understand what i am doing wrong
i found out it can only ONLY move on the x axis and not much i can do to make it move on the z axis other then remake the whole script and im not doing that
Um, I agree with Dragon, But also I saw in the script you have "Sideways" and "Backwards". Well, if doors are moving sideways by 0.9 , then wouldn't you want them to move BACK again -0.9?