genya

Untitled

Sep 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. command /gm [<text>]:
  2. permission: skript.admin
  3. trigger:
  4. if arg-1 is set:
  5. if arg-1 is "s":
  6. set player's gamemode to survival
  7. stop
  8. if arg-1 is "c":
  9. set player's gamemode to creative
  10. stop
  11. if arg-1 is "a":
  12. set player's gamemode to adventure
  13. stop
  14. else:
  15. message " &8[&bGm&8] &8/gm <s,c,a>
Add Comment
Please, Sign In to add comment