View difference between Paste ID: eNpzm8GE and WKNyqmAN
SHOW: | | - or go back to the newest paste.
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]")
5+
    commands.exec("/clear @p[=-23329,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}}")
6+
	commands.exec("/gamemode 2 @p[=-23329,y=28,z=26996,r=1]")
7-
    commands.exec("/replaceitem entity @p[=-23337,y=28,z=26996,r=1] slot.armor.chest minecraft:leather_chestplate 1 0 {display:{color:12324870}}")
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[=-23337,y=28,z=26996,r=1] slot.armor.legs minecraft:leather_leggings 1 0 {display:{color:12324870}}")
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[=-23337,y=28,z=26996,r=1] slot.armor.feet minecraft:leather_boots 1 0 {display:{color:12324870}}")
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("/give @p[=-23337,y=28,z=26996,r=1] minecraft:iron_sword")
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("/feed @p[=-23337,y=28,z=26996,r=1]")
11+
	commands.exec("/give @p[=-23329,y=28,z=26996,r=1] minecraft:iron_sword")
12-
    commands.exec("/heal @p[=-23337,y=28,z=26996,r=1]")
12+
	commands.exec("/give @p[=-23329,y=28,z=26996,r=1] minecraft:apple 16")
13-
    commands.exec("/give @p[=-23337,y=28,z=26996,r=1] minecraft:apple 16")
13+
	commands.exec("/feed @p[=-23329,y=28,z=26996,r=1]")
14-
    commands.exec("/tp @p[x=-23337,y=28,z=26996,r=1] -23467 82 26933")
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