Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Area2R
- Area2R = createObject ( 2928,247.80000305176,1806.1999511719,7.8000001907349,0,0,0 )
- local autodoorx = {}
- speed = 3000
- function DXD ()
- if (not autodoorx[plr]) then
- moveObject(Area2R, speed,247.80000305176,1806.1999511719,1.8000001907349)
- outputChatBox("Door opened!", root, 0, 255, 0)
- autodoorx[plr] = true
- return
- elseif (autodoorx[plr]) then
- moveObject(Area2R, speed,247.80000305176,1806.1999511719,7.8000001907349)
- outputChatBox("Door closed!", root, 0, 255, 0)
- autodoorx[plr] = false
- return
- else
- outputChatBox("There was an error!", root, 255, 0, 0)
- autodoorx[plr] = false
- end
- end
- addCommandHandler("ilx",DXD)
Advertisement
Add Comment
Please, Sign In to add comment