Guest User

startup

a guest
Jul 9th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.08 KB | None | 0 0
  1. while true do
  2.   local event = os.pullEvent("redstone")
  3.   --print("check")
  4.   if rs.getInput("back") == true then
  5.     commands.exec("/clear @p[x=-23337,y=28,z=26996,r=1]")
  6.     commands.exec("/replaceitem entity @p[=-23337,y=28,z=26996,r=1] slot.armor.head minecraft:leather_helmet 1 0 {display:{color:12324870}}")
  7.     commands.exec("/replaceitem entity @p[=-23337,y=28,z=26996,r=1] slot.armor.chest minecraft:leather_chestplate 1 0 {display:{color:12324870}}")
  8.     commands.exec("/replaceitem entity @p[=-23337,y=28,z=26996,r=1] slot.armor.legs minecraft:leather_leggings 1 0 {display:{color:12324870}}")
  9.     commands.exec("/replaceitem entity @p[=-23337,y=28,z=26996,r=1] slot.armor.feet minecraft:leather_boots 1 0 {display:{color:12324870}}")
  10.     commands.exec("/give @p[=-23337,y=28,z=26996,r=1] minecraft:iron_sword")
  11.     commands.exec("/feed @p[=-23337,y=28,z=26996,r=1]")
  12.     commands.exec("/heal @p[=-23337,y=28,z=26996,r=1]")
  13.     commands.exec("/give @p[=-23337,y=28,z=26996,r=1] minecraft:apple 16")
  14.     commands.exec("/tp @p[x=-23337,y=28,z=26996,r=1] -23467 82 26933")
  15.  end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment