Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skrypt by Sortiq
- #Prawa zastrzezone.
- command /rozdzkatp:
- trigger:
- if player has 1 gold block:
- remove 1 gold block from player
- give a 280 of knockback 2 named "&3Rozdzka teleportujaca na &cspawna" to the player
- else:
- message "&anie masz 1 bloku &ezlota."
- on rightclick:
- if name of player's tool is "&3Rozdzka teleportujaca na &cspawna":
- set {_pos} to location of player
- message "&c&l[&7&lDIDONWand&c&l] &6Czekaj &35 &asekund&7, &cnie &4wolno Ci sie &3ruszyc!"
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- teleport player to spawn
- message "&aSukces: &ePrzeleportowano!"
- remove 1 280 of knockback 2 named "&3Rozdzka teleportujaca na &cspawna" from player
- else:
- cancel event
- message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
- stop
- else:
- cancel event
- message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
- stop
- else:
- cancel event
- message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
- stop
- else:
- cancel event
- message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
- stop
- else:
- cancel event
- message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment