# Skrypt: Rozkładana platforma 3x3 ze Slime Blocków! aka Platforma ratunkowa! on right click with magma cream: if name of player's tool is "&a&lPlatforma &2&lSlime": if player's gamemode is creative: set {_loc} to location at block 4 meters below the player set {_1} to {_loc} set {_2} to {_loc} add 1 to x-loc of {_1} add 1 to z-loc of {_1} remove 1 from x-loc of {_2} remove 1 from z-loc of {_2} loop blocks within block at location at {_1} to block at location at {_2}: set block at loop-block to slime block else: set {_loc} to location at block 4 meters below the player set {_1} to {_loc} set {_2} to {_loc} add 1 to x-loc of {_1} add 1 to z-loc of {_1} remove 1 from x-loc of {_2} remove 1 from z-loc of {_2} loop blocks within block at location at {_1} to block at location at {_2}: set block at loop-block to slime block remove 1 magma cream named "&a&lPlatforma &2&lSlime" from player's inventory