summon falling_block ~ ~1 ~ {BlockState:{Name:activator_rail},Time:1,Passengers:[{id:command_block_minecart,Command:"/gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"/gamerule sendCommandFeedback false"},{id:command_block_minecart,Command:"/setblock ~-1 ~-1 ~-1 minecraft:repeating_command_block[conditional=false,facing=up]{auto:1b,powered:0b,LastExecution:92943L,SuccessCount:0,UpdateLastExecution:1b,conditionMet:1b,CustomName:'{\"text\":\"@\"}',Command:'/execute at @e[type=minecraft:item,name=\"Iron Ingot\"] run execute at @e[type=minecraft:item,name=\"Lever\",distance=..2] run execute at @e[type=minecraft:item,name=\"Redstone Dust\",distance=..2] run summon minecraft:armor_stand ~ ~ ~ {CustomName:\\'{\"text\":\"drone\"}\\',Invisible:1b,NoGravity:1b}',TrackOutput:0b}"},{id:command_block_minecart,Command:"/setblock ~0 ~-1 ~-1 minecraft:repeating_command_block[conditional=false,facing=up]{auto:1b,powered:0b,LastExecution:93031L,SuccessCount:0,UpdateLastExecution:1b,conditionMet:1b,CustomName:'{\"text\":\"@\"}',Command:\"item entity @e[type=minecraft:armor_stand,name=drone] armor.head replace minecraft:iron_helmet\",LastOutput:'{\"extra\":[{\"color\":\"red\",\"extra\":[{\"translate\":\"argument.entity.notfound.entity\"}],\"text\":\"\"}],\"text\":\"[16:30:03] \"}',TrackOutput:1b}"},{id:command_block_minecart,Command:"/setblock ~1 ~-1 ~-1 minecraft:repeating_command_block[conditional=false,facing=up]{auto:1b,powered:0b,LastExecution:93135L,SuccessCount:0,UpdateLastExecution:1b,conditionMet:1b,CustomName:'{\"text\":\"@\"}',Command:'execute as @e[type=item,name=Book] run tellraw @p [\"\",{\"text\":\"------------------------\\\\n \\\\u0020 \\\\u0020RC Drone Controls\\\\n \\\\u0020 \\\\u0020 Made by \"},{\"text\":\"Octagon\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://youtube.com/octagongaming\"}},{\"text\":\"\\\\n------------------------\\\\n Connection Quality \"},{\"text\":\".:| Good\",\"color\":\"green\",\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Zero Interfearance\"}},{\"text\":\"\\\\n\\\\n \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020\"},{\"text\":\"^\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run tp @s ~ ~ ~1\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Go forward\"}},{\"text\":\"\\\\n \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \"},{\"text\":\"<\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run tp @s ~1 ~ ~\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Go left\"}},{\"text\":\" \\\\u0020\"},{\"text\":\"O\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run summon minecraft:tnt ~ ~ ~\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Drop TNT\"}},{\"text\":\" \\\\u0020\"},{\"text\":\">\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run tp @s ~-1 ~ ~\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Go right\"}},{\"text\":\"\\\\n \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020\"},{\"text\":\"v\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run tp @s ~ ~ ~-1\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Go backward\"}},{\"text\":\"\\\\n\\\\n \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \"},{\"text\":\"UP\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run tp @s ~ ~1 ~\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Go up\"}},{\"text\":\" \\\\u0020 \\\\u0020 \\\\n \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020\"},{\"text\":\"DOWN\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run tp @s ~ ~-1 ~\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Go down\"}},{\"text\":\"\\\\n \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020 \\\\u0020\"},{\"text\":\"[x]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/execute at @e[name=drone,type=minecraft:armor_stand] as @e[name=drone,type=minecraft:armor_stand] run kill @s\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Self Destruct\"}},{\"text\":\"\\\\n-------------------------\"}]',TrackOutput:0b}"},{id:command_block_minecart,Command:"/setblock ~-1 ~0 ~-1 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,LastExecution:93236L,SuccessCount:0,UpdateLastExecution:1b,conditionMet:1b,CustomName:'{\"text\":\"@\"}',Command:\"execute at @e[type=minecraft:armor_stand,name=drone] run kill @e[type=minecraft:item,distance=..3]\",TrackOutput:1b}"},{id:command_block_minecart,Command:"/setblock ~0 ~0 ~-1 minecraft:repeating_command_block[conditional=false,facing=up]{auto:1b,powered:0b,LastExecution:93324L,SuccessCount:0,UpdateLastExecution:1b,conditionMet:1b,CustomName:'{\"text\":\"@\"}',Command:\"execute at @e[type=minecraft:item,name=Book] run give @p minecraft:book\",TrackOutput:0b}"},{id:command_block_minecart,Command:"/setblock ~1 ~0 ~-1 minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,LastExecution:91506L,SuccessCount:0,UpdateLastExecution:1b,conditionMet:0b,CustomName:'{\"text\":\"@\"}',Command:\"execute as @e[type=minecraft:item,name=Book] run kill @s\",TrackOutput:0b}"},{id:command_block_minecart,Command:"/setblock ~-2 ~-1 ~-1 minecraft:oak_sign[rotation=0,waterlogged=false]{Color:\"black\",Text4:'{\"text\":\"\"}',Text3:'{\"text\":\"\"}',Text2:'{\"bold\":true,\"italic\":true,\"color\":\"#FFFFFF\",\"text\":\"Octagon\"}',Text1:'{\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @p [\\\\\"\\\\\",{\\\\\"text\\\\\":\\\\\"This command block creation was made and compacted in 1 Command by Octagon.\\\\\\\\n\\\\\",\\\\\"clickEvent\\\\\":{\\\\\"action\\\\\":\\\\\"open_url\\\\\",\\\\\"value\\\\\":\\\\\"https://youtube.com/octagongaming\\\\\"}},{\\\\\"text\\\\\":\\\\\"Click here to goto my channel \\\\\",\\\\\"clickEvent\\\\\":{\\\\\"action\\\\\":\\\\\"open_url\\\\\",\\\\\"value\\\\\":\\\\\"https://youtube.com/octagongaming\\\\\"},\\\\\"hoverEvent\\\\\":{\\\\\"action\\\\\":\\\\\"show_text\\\\\",\\\\\"contents\\\\\":\\\\\"Youtube: Octagon Gaming\\\\\"}},{\\\\\"text\\\\\":\\\\\"Octagon Gaming\\\\\",\\\\\"bold\\\\\":true,\\\\\"italic\\\\\":true,\\\\\"clickEvent\\\\\":{\\\\\"action\\\\\":\\\\\"open_url\\\\\",\\\\\"value\\\\\":\\\\\"https://youtube.com/octagongaming\\\\\"},\\\\\"hoverEvent\\\\\":{\\\\\"action\\\\\":\\\\\"show_text\\\\\",\\\\\"contents\\\\\":\\\\\"Youtube: Octagon Gaming\\\\\"}}]\"},\"extra\":[{\"obfuscated\":true,\"color\":\"#FFFFFF\",\"text\":\"...\"},{\"color\":\"#FFFFFF\",\"text\":\" Made By \"},{\"obfuscated\":true,\"color\":\"#FFFFFF\",\"text\":\"...\"}],\"text\":\"\"}'}"},{id:command_block_minecart,Command:"/setblock ~2 ~-1 ~-1 minecraft:oak_sign[rotation=0,waterlogged=false]{Color:\"black\",Text4:'{\"text\":\"\"}',Text3:'{\"color\":\"#FFFFFF\",\"text\":\"the machine\"}',Text2:'{\"color\":\"#FFFFFF\",\"text\":\"to remove\"}',Text1:'{\"color\":\"#FFFFFF\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"fill ~ ~ ~ ~-4 ~1 ~ air\"},\"text\":\"Click Here\"}'}"},{id:command_block_minecart,Command:"/kill @e[type=minecraft:command_block_minecart,distance=..3]"},{id:command_block_minecart,Command:"setblock ~ ~ ~1 command_block{Command:\"fill ~ ~-1 ~-1 ~ ~ ~ air\"} replace"},{id:command_block_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=0..2]"}]}