Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. #SO FAR THIS WORKS, JUST DOESN'T TP YOU ANYWHERE
  2. command /classes:
  3. description: Open a menu to choose starting Classes
  4. permission: skript.chooseclass
  5. permission message: You don't have permission to do that!
  6. executable by: players
  7. trigger:
  8. open virtual chest inventory with size 5 named " &4&l&n Choose a Playstyle " to player
  9. #Fighters
  10. format gui slot 10 of player with bow named "&cArcher" with lore "&cStrength and Dexterity based skills" to close then run console command "/lp user %player% permission set group.archer"
  11. format gui slot 11 of player with trident named "&cLancer" with lore "&cStrength and Dexterity based skills" to close then run console command "/lp user %player% permission set group.lancer"
  12. format gui slot 12 of player with diamond axe named "&cBerserker" with lore "&cStrength and Dexterity based skills" to close then run console command "/lp user %player% permission set group.berserker"
  13. format gui slot 14 of player with diamond sword named "&cDuelist" with lore "&cStrength and Dexterity based skills" to close then run console command "/lp user %player% permission set group.duelist"
  14. format gui slot 16 of player with rabbit foot named "&cRogue" with lore "&cStrength and Dexterity based skills" to close then run console command "/lp user %player% permission set group.rogue"
  15. format gui slot 15 of player with bowl named "&cMonk" with lore "&cStrength and Dexterity based skills" to close then run console command "/lp user %player% permission set group.monk"
  16. #Scholars
  17. format gui slot 28 of player with enchanted book named "&9Arcanist" with lore "&9Intelligence based skill" to close then run console command "/lp user %player% permission set group.arcanist"
  18. format gui slot 29 of player with brewing stand named "&9Alchemist" with lore "&9Intelligence based skill" to close then run console command "/lp user %player% permission set group.alchemist"
  19. format gui slot 30 of player with redstone named "&9Engineer" with lore "&9Intelligence based skill" to close then run console command "/lp user %player% permission set group.engineer"
  20. format gui slot 32 of player with potion named "&9Healer" with lore "&9Intelligence based skill" to close then run console command "/lp user %player% permission set group.healer"
  21. format gui slot 33 of player with experience bottle named "&9Mage" with lore "&9Intelligence based skill" to close then run console command "/lp user %player% permission set group.mage"
  22. format gui slot 34 of player with anvil named "&9Smith" with lore "&9Intelligence based skill" to close then run console command "/lp user %player% permission set group.smith"
  23.  
  24.  
  25. #JUST TRYING OUT THE OTHER WAY DOWN HERE. For some reason nothing shows up in the GUI when opened.
  26. on script load:
  27. create a gui with id "CLASSES" with virtual chest inventory with size 5 named " &4&l&n Choose Playstyle ":
  28. run when close the gui:
  29. command "/spawn"
  30. format gui slot 10 with Sword:
  31. send "Test"
  32.  
  33. command /testclass:
  34. trigger:
  35. open gui "CLASSES" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement