Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SO FAR THIS WORKS, JUST DOESN'T TP YOU ANYWHERE
- command /classes:
- description: Open a menu to choose starting Classes
- permission: skript.chooseclass
- permission message: You don't have permission to do that!
- executable by: players
- trigger:
- open virtual chest inventory with size 5 named " &4&l&n Choose a Playstyle " to player
- #Fighters
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- #Scholars
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- #JUST TRYING OUT THE OTHER WAY DOWN HERE. For some reason nothing shows up in the GUI when opened.
- on script load:
- create a gui with id "CLASSES" with virtual chest inventory with size 5 named " &4&l&n Choose Playstyle ":
- run when close the gui:
- command "/spawn"
- format gui slot 10 with Sword:
- send "Test"
- command /testclass:
- trigger:
- open gui "CLASSES" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement