Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /fly:
- trigger:
- if player's money is greater than 5000:
- if player is in world "seikatu":
- subtract 5000 from player's money
- send "&a5000円を支払いFlyモードを有効にしました。"
- set player's flight mode to true
- else:
- send "&c生活ワールドでのみ使用可能です。"
- else:
- send "&c所持金が足りていません。(Fly費用5000円)"
- on join:
- set player's flight mode to false
- on teleport:
- set {_fromworld} to player's world
- wait 1 tick
- set {_toworld} to player's world
- {_fromworld} is "seikatu"
- {_toworld} is not "seikatu"
- player's gamemode is not creative or spectator
- set player's flight mode to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement