Advertisement
akon1248

Untitled

May 18th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. command /fly:
  2. trigger:
  3. if player's money is greater than 5000:
  4. if player is in world "seikatu":
  5. subtract 5000 from player's money
  6. send "&a5000円を支払いFlyモードを有効にしました。"
  7. set player's flight mode to true
  8. else:
  9. send "&c生活ワールドでのみ使用可能です。"
  10. else:
  11. send "&c所持金が足りていません。(Fly費用5000円)"
  12.  
  13.  
  14. on join:
  15. set player's flight mode to false
  16.  
  17. on teleport:
  18. set {_fromworld} to player's world
  19. wait 1 tick
  20. set {_toworld} to player's world
  21. {_fromworld} is "seikatu"
  22. {_toworld} is not "seikatu"
  23. player's gamemode is not creative or spectator
  24. set player's flight mode to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement