Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on command "/parkourset":
- cancel event
- set Name of player's tool to "&fParkour Block"
- on place:
- Name of player's tool is "&fParkour Block"
- set {_item} to 1 of player's tool
- wait 4 seconds
- set event-block to air
- give player {_item}
- on place:
- Name of player's shield is "&5Trampoline Block"
- set {_item} to 1 of player's tool
- set {slime::%block's location%} to location of event-block
- wait 8 seconds
- set event-block to air
- give player {_item}
- clear {slime::%block's location%}
- on place:
- Name of player's tool is "&5Trampoline Block"
- set {_item} to 1 of player's tool
- set {slime::%block's location%} to location of event-block
- wait 8 seconds
- set event-block to air
- give player {_item}
- clear {slime::%block's location%}
- on step on slime_block:
- if location is {slime::%block's location%}:
- push player upwards at speed 3
- on place:
- Name of player's shield is "&fParkour Block"
- set {_item} to 1 of player's shield
- wait 4 seconds
- set event-block to air
- give player {_item}
- on place:
- Name of player's shield is "&5Trampoline Block"
- set {_item} to 1 of player's shield
- set {slime::%block's location%} to location of event-block
- wait 8 seconds
- set event-block to air
- give player {_item}
- clear {slime::%block's location%}
- on place:
- Name of player's tool is "&6Parkour Block"
- set {_item} to 1 of player's tool
- set {_block} to type of event-block
- wait 4 seconds
- set event-block to air
- wait a tick
- show 50 block_crack particle at event-block with data of {_block} offset by 0.45, 0.45, 0.45
- if player's gamemode is not creative:
- give player {_item}
- on offhand move:
- if "%Name of player's tool%" contains "Parkour Block":
- cancel event
- on offhand move:
- if "%Name of player's tool%" contains "Parkour Block":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement