Welcome to SkriptTools.net!

SkriptTools is now part of the skUnity family! skUnity will keep SkriptTools running, updating and adding new features.


- You can now search scripts by author by doing "author:name". For example: "author:nfell2009"

- Login to SkriptTools using your skUnity account to save your favourite scripts and come back to them

Login

Script Viewer

View the code of the script directly in your browser without downloading anything.

Current File: skPvP-Main.sk - Download / View on the skUnity Parser

#                                       Version: Beta    
#                                      By @SGSBUNIVERSE                                         
#                                           ----
#                                         Requires:
#                                          Skript
#                                          SkQuery
#  

options:
	
	knightperm : class.knight
	archerperm : class.archer
	permission: &9Permission>
	kit: &9Kit>
	error: &9Error>
	tip: &9Tip>
	
#    __  __       _          _____                                          _ 
#   |  \/  |     (_)        / ____|                                        | |
#   | \  / | __ _ _ _ __   | |     ___  _ __ ___  _ __ ___   __ _ _ __   __| |
#   | |\/| |/ _` | | '_ \  | |    / _ \| '_ ` _ \| '_ ` _ \ / _` | '_ \ / _` |
#   | |  | | (_| | | | | | | |___| (_) | | | | | | | | | | | (_| | | | | (_| |
#   |_|  |_|\__,_|_|_| |_|  \_____\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|
#                                                                             
#      
command /class [<text>]:
	trigger:		
	
#     _____ _                         
#    / ____| |                        
#   | |    | | __ _ ___ ___  ___  ___ 
#   | |    | |/ _` / __/ __|/ _ \/ __|
#   | |____| | (_| \__ \__ \  __/\__ \
#    \_____|_|\__,_|___/___/\___||___/
#                                     
#                                     		
		if arg 1 is "knight": 
	# Knight class
			if player has permission "{@knightperm}":
				clear the player's inventory
				equip player with Iron Helmet
				equip player with Iron ChestPlate
				equip player with Iron Leggings
				equip player with Iron Boots
				give player a diamond sword named "<yellow><bold>(Coming Soon) <white><bold>- <light green><bold>Knight Sword"
				give player 35 mushroom soup
				message " "
				message " "
				message " "
				message "&2&l&m==========================================="
				message "&aClass - &f&lKnight"
				message " &7Defend & Protect yourself with all your might!"
				message ""
				message "&aAbility - &f&lComing Soon"
				message " &7Abilities will be added in the &e&lfull &7release!"
				message "&2&l&m==========================================="
				message "{@kit} &7You equipped &a&lKnight Class"
			if player doesn't have permission "{@knightperm}":
				message "{@permission} &7You do not have access to this class, do &e&l/classes &7to see your available classes."
				
		
		else if arg 1 is "archer":
	# Archer class
			if player has permission "{@archerperm}":
				clear the player's inventory
				equip player with Iron Helmet
				equip player with Gold ChestPlate
				equip player with Gold Leggings
				equip player with Iron Boots
				give player a wood sword named "<yellow><bold>(Coming Soon) <white><bold>- <light green><bold>Wooden Sword"
				give player a bow named "<yellow><bold>(Coming Soon) <white><bold>- <light green><bold>Archers Bow"
				give player 1 arrow
				give player 33 mushroom soup
				message " "
				message " "
				message " "
				message "&2&l&m==========================================="
				message "&aClass - &f&lArcher"
				message " &7Use your powerful bow to destroy everyone!"
				message ""
				message "&aAbility - &f&lComing Soon"
				message " &7Abilities will be added in the &e&lfull &7release!"
				message "&2&l&m==========================================="
				message "{@kit} &7You equipped &a&lArcher Class"
			if player doesn't have permission "{@archerperm}":
				message "{@permission} &7You do not have access to this class, do &e&l/classes &7to see your available classes."

		else:
			message "{@error} &7You need to specify what kit you want to choose!"
			wait 10 ticks
			message "{@tip} &7You can do &e/classes &7to see all your available classes!"
			

#     _____  _                               _    _        _        
#    / ____|| |                             | |  | |      | |       
#   | |     | |  __ _  ___  ___   ___  ___  | |__| |  ___ | | _ __  
#   | |     | | / _` |/ __|/ __| / _ \/ __| |  __  | / _ \| || '_ \ 
#   | |____ | || (_| |\__ \\__ \|  __/\__ \ | |  | ||  __/| || |_) |
#    \_____||_| \__,_||___/|___/ \___||___/ |_|  |_| \___||_|| .__/ 
#                                                            | |    
#                                                            |_|    
command /classes:
	trigger:
		message " "
		message " "
		message "&2&l&m==========================================="
		if player has permission "{@knightperm}":
			message "&aClass - &f&lKnight &7(&a&lUnlocked&7)"
			message " &7/class knight"
		else:
			message "&aClass - &f&lKnight &7(&4&lLocked&7)"
			message " &7/class knight"
		message " "
		if player has permission "{@archerperm}":
			message "&aClass - &f&lArcher &7(&a&lUnlocked&7)"
			message " &7/class archer"
		else:
			message "&aClass - &f&lArcher &7(&4&lLocked&7)"
			message " &7/class archer"	
		message "&2&l&m==========================================="
		message "{@tip} &7You can buy unlocks at &awww.example.com&7!"