Advertisement
Guest User

startup

a guest
Jul 23rd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. while true do
  2.   i = rs.getAnalogInput("top")
  3.   if i == 1 then
  4.     commands.exec("tp @p 5495.5 88.5 -23.5")
  5.   else if
  6.     i == 2 then
  7.       commands.exec("tp @p 2041.5 63.5 -56.5")
  8.   end
  9. end
  10. sleep(0)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement