Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setsp:
- trigger:
- set {spawn} to location of player
- send "&aUstawiono spawn"
- stop
- command /sp:
- trigger:
- if player has 10 emerald:
- remove 10 emerald from the player
- set {_loc} to location of player
- wait 1 seconds
- if {_loc} isn't location of player:
- stop
- wait 1 seconds
- if {_loc} isn't location of player:
- stop
- wait 1 seconds
- if {_loc} isn't location of player:
- stop
- wait 1 seconds
- if {_loc} isn't location of player:
- stop
- wait 1 seconds
- if {_loc} is location of player:
- teleport player to {spawn}
- send "&aTeleportacja"
- stop
- else:
- send "&aTeleportacja anulowana!"
- stop
- else:
- send "&aNie masz 10 emereldów!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment