Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- TPMessage: Teleportacja nastapi za 5 sekund! Prosimy sie nie ruszac!
- CancelMessage: Teleportacja zostala anulowana z powodu przesuniecia sie
- RodName: &aTeleport na spawn
- effect1: confusion
- effect2: blindness
- Item: blaze rod
- czas_tick: 100 #20 tick - 1 sekunda
- #Sloty crafting:
- #1 2 3
- #4 5 6
- #7 8 9
- on rightclick with {@Item}:
- if name of player's tool is "{@RodName}":
- send "{@TPMessage}"
- remove 1 {@Item} named "{@RodName}" from the player
- apply {@effect1} to the player for 8 seconds
- apply {@effect2} to the player for 8 seconds
- loop {@czas_tick} times:
- wait 1 tick
- on any movement:
- send "{@CancelMessage}"
- give 1 {@Item} named "{@RodName}" from the player
- cancel event
- teleport player to spawn
- on load:
- register new shapeless recipe for {@Item} named "{@RodName}" using none, gold block, none, none, stick, none, none, stick, none
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement