Advertisement
meuced

cc

Jul 9th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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[=-23329,y=28,z=26996,r=1]")
  6.     commands.exec("/gamemode 2 @p[=-23329,y=28,z=26996,r=1]")
  7.     commands.exec("/replaceitem entity @p[=-23329,y=28,z=26996,r=1] slot.armor.head minecraft:leather_helmet 1 0 {display:{color:1754625}}")
  8.     commands.exec("/replaceitem entity @p[=-23329,y=28,z=26996,r=1] slot.armor.chest minecraft:leather_chestplate 1 0 {display:{color:1754625}}")
  9.     commands.exec("/replaceitem entity @p[=-23329,y=28,z=26996,r=1] slot.armor.legs minecraft:leather_leggings 1 0 {display:{color:1754625}}")
  10.     commands.exec("/replaceitem entity @p[=-23329,y=28,z=26996,r=1] slot.armor.feet minecraft:leather_boots 1 0 {display:{color:1754625}}")
  11.     commands.exec("/give @p[=-23329,y=28,z=26996,r=1] minecraft:iron_sword")
  12.     commands.exec("/give @p[=-23329,y=28,z=26996,r=1] minecraft:apple 16")
  13.     commands.exec("/feed @p[=-23329,y=28,z=26996,r=1]")
  14.     commands.exec("/heal @p[=-23329,y=28,z=26996,r=1]")
  15.     commands.exec("/tp @p[=-23329,y=28,z=26996,r=1] -23545 80 26904")
  16.  end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement