Advertisement
Xboss_shipmake

CT Scripts

Jan 19th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. - Double Door Automatic Script:
  2. function OnPlayerHitTile(player,x,y)
  3. if x == x and y == y then
  4. MoveTile(x,y,x,y)
  5. MoveTile(x,y,x,y)
  6. elseif x == x and y == y then
  7. MoveTile(x,y,x,y)
  8. MoveTile(x,y,x,y)
  9. elseif x == x and y == y then
  10. MoveTile(x,y,x,y)
  11. MoveTile(x,y,x,y)
  12. elseif x == x and y == y then
  13. MoveTile(x,y,x,y)
  14. MoveTile(x,y,x,y)
  15. end
  16. end
  17.  
  18. - Single Door
  19. if x == x and y == y then
  20. MoveTile(x,y,x,y)
  21. elseif x == x and y == y then
  22. MoveTile(x,y,x,y)
  23. elseif x == x and y == y then
  24. MoveTile(x,y,x,y)
  25. elseif x == x and y == y then
  26. MoveTile(x,y,x,y)
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement