0% found this document useful (0 votes)
37 views14 pages

Skript Minecraft 1.16 Leveling System

Useful if you want to create a RPG Prove it Requires Skripts , SkQuery .
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views14 pages

Skript Minecraft 1.16 Leveling System

Useful if you want to create a RPG Prove it Requires Skripts , SkQuery .
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 14

#Remove in 1.

16
command /test:
permission: test.dev
trigger:
set the maximum health of player to 5

command /sethp [<number>] [<offline player>]:


permission: set.hp
executable by: console and player
trigger:
if arg-1 is set:
if arg-2 is set:
set the maximum health of the arg-2 to arg-1
send "&6You set &a%arg-2% &6HP to &a%arg-1%" to player
#----------------------------------------------------------------------------------
-----------

#----------------------------------------------------------------------------------
------------

options:
player-level: Your level
a-player-level: %arg 1%'s level: &6%arg 1's level%
no-perm: &eNo Perm
LevelC-enable: &eLevel Counter enable
LevelC-disable: &eLevel Counter disable
level-set: &7Level edited to &e%arg 3%
level-add: &e%arg 3%&7 Level added
level-remove: &e%arg 3%&7 Level Removed
level-edit-perm:level.use
level-perm:level.use
level-counter-perm:level.use

on join:
if player's level is 0:
set the maximum health of player to 3
set the player's walk speed to 0.175
set player's level to 1
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

on level change:
if player's level is 0:
set the maximum health of player to 3
set the player's walk speed to 0.178
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 5:
send "&6You Stats Changed !" to player
send "&a&lStage: &32" to player
send "&dHealth: 8 ♥↑ " to player
send "&bSpeed: +0.02 ↑ " to player
send "&bJump Speed: N/A"
send "&b--------------&aNext : Require &310
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 4
set the player's walk speed to 0.18
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 10:
send "&6You Stats Changed !" to player
send "&a&lStage: &33" to player
send "&dHealth: 10 ♥ ↑ " to player
send "&bSpeed: +0.04 ↑ " to player
send "&bJump Speed: N/A"
send "&b--------------&aNext : Require &316
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 5
set the player's walk speed to 0.183
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 16:
send "&6You Stats Changed !" to player
send "&a&lStage: &34" to player
send "&dHealth: 12 ♥ ↑ " to player
send "&bSpeed: +0.06 ↑ " to player
send "&bJump Speed: N/A"
send "&b--------------&aNext : Require &324
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 6
set the player's walk speed to 0.185
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 24:
send "&6You Stats Changed !" to player
send "&a&lStage: &35" to player
send "&dHealth: 14 ♥ ↑ " to player
send "&bSpeed: +0.08 ↑ " to player
send "&bJump Speed: N/A"
send "&b--------------&aNext : Require &330
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 7
set the player's walk speed to 0.189
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 30:
send "&6You Stats Changed !" to player
send "&a&lStage: &36" to player
send "&dHealth: 16 ♥ ↑ " to player
send "&bSpeed: +0.1 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee +1 ↑ " to player
send "&b--------------&aNext : Require &338
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 8
set the player's walk speed to 0.189
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 38:
send "&6You Stats Changed !" to player
send "&a&lStage: &37" to player
send "&dHealth: 18 ♥ ↑ " to player
send "&bSpeed: +0.12 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee +1.2 ↑ " to player
send "&b--------------&aNext : Require &342
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 9
set the player's walk speed to 0.190
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 42:
send "&6You Stats Changed !" to player
send "&a&lStage: &38" to player
send "&dHealth: 18 ♥ ↑ " to player
send "&bSpeed: +0.14 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee +1.5 ↑ " to player
send "&b--------------&aNext : Require &346
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 9
set the player's walk speed to 0.191
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 46:
send "&6You Stats Changed !" to player
send "&a&lStage: &39" to player
send "&dHealth: 19 ♥ ↑ " to player
send "&bSpeed: +0.15 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee +1.8 ↑ " to player
send "&b--------------&aNext : Require &350
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 9.5
set the player's walk speed to 0.191
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 50:
send "&6You Stats Changed !" to player
send "&a&lStage: &310" to player
send "&dHealth: 20 ♥ ↑ " to player
send "&bSpeed: +0.16 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee + 2 ↑ " to player
send "&b--------------&aNext : Require &360
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 10
set the player's walk speed to 0.192
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 60:
send "&6You Stats Changed !" to player
send "&a&lStage: &311" to player
send "&dHealth: 24 ♥ ↑ " to player
send "&bSpeed: +0.17 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee + 2.2 ↑ " to player
send "&b--------------&aNext : Require &365
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 12
set the player's walk speed to 0.192
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 65:
send "&6You Stats Changed !" to player
send "&a&lStage: &312" to player
send "&dHealth: 28 ♥ ↑ " to player
send "&bSpeed: +0.18 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee + 2.2 ↑ " to player
send "&b--------------&aNext : Require &370
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 14
set the player's walk speed to 0.193
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 70:


send "&6You Stats Changed !" to player
send "&a&lStage: &313" to player
send "&dHealth: 30 ♥ ↑ " to player
send "&bSpeed: +0.2 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee + 2.5 ↑ " to player
send "&b--------------&aNext : Require &380
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 15
set the player's walk speed to 0.194
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 80:


send "&6You Stats Changed !" to player
send "&a&lStage: &314" to player
send "&dHealth: 36 ♥ ↑ " to player
send "&bSpeed: +0.21 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee + 2.6 ↑ " to player
send "&b--------------&aNext : Require &390
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 18
set the player's walk speed to 0.196
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 90:


send "&6You Stats Changed !" to player
send "&a&lStage: &315" to player
send "&dHealth: 40 ♥ ↑ " to player
send "&bSpeed: +0.22 ↑ " to player
send "&bJump Speed: N/A"
send "&cAttack Melee + 3 ↑ " to player
send "&b--------------&aNext : Require &3100
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
set the maximum health of player to 20
set the player's walk speed to 0.197
set {jump+::%player's uuid%} to 0
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 100:


send "&6You Stats Changed !" to player
send "&a&lStage: &316" to player
send "&dHealth: 42 ♥ ↑ " to player
send "&bSpeed: +0.22 ↑ " to player
send "&bJump Speed: +0.1 ↑"
send "&cAttack Melee + 2 ↑ " to player
send "&b--------------&aNext : Require &3105
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 20
set the player's walk speed to 0.2
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 105:


send "&6You Stats Changed !" to player
send "&a&lStage: &317" to player
send "&dHealth: 42 ♥ " to player
send "&bSpeed: +0.24 ↑ " to player
send "&bJump Speed: +0.1"
send "&cAttack Melee + 2.5 ↑ " to player
send "&b--------------&aNext : Require &3115
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "entity.player.levelup" with volume 1 and pitch 0.5 at
player
set the maximum health of player to 21
set the player's walk speed to 0.21
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 115:
send "&6You Stats Changed !" to player
send "&a&lStage: &318" to player
send "&dHealth: 44 ♥ ↑ " to player
send "&bSpeed: +0.25 ↑ " to player
send "&bJump Speed: +0.1"
send "&cAttack Melee + 2.8 ↑ " to player
send "&b--------------&aNext : Require &3130
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "entity.player.levelup" with volume 1 and pitch 0.5 at
player
set the maximum health of player to 22
set the player's walk speed to 0.22
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 130:


send "&6You Stats Changed !" to player
send "&a&lStage: &319" to player
send "&dHealth: 48 ♥ ↑ " to player
send "&bSpeed: +0.26 ↑ " to player
send "&bJump Speed: +0.1"
send "&cAttack Melee + 3 ↑ " to player
send "&b--------------&aNext : Require &3140
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "entity.player.levelup" with volume 1 and pitch 0.5 at
player
set the maximum health of player to 24
set the player's walk speed to 0.23
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 140:


send "&6You Stats Changed !" to player
send "&a&lStage: &320" to player
send "&dHealth: 50 ♥ ↑ " to player
send "&bSpeed: +0.27 ↑ " to player
send "&cAttack Melee + 3 ↑ " to player
send "&b--------------&aNext : Require &3155
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 0.5 at
player
set the maximum health of player to 25
set the player's walk speed to 0.24
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 155:


send "&6You Stats Changed !" to player
send "&a&lStage: &321" to player
send "&dHealth: 52 ♥ ↑ " to player
send "&bSpeed: +0.25 ↑ " to player
send "&bJump Speed: +0.1"
send "&cAttack Melee + 3.2 ↑ " to player
send "&b--------------&aNext : Require &3180
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "entity.player.levelup" with volume 1 and pitch 0 at player
set the maximum health of player to 26
set the player's walk speed to 0.245
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 180:


send "&6You Stats Changed !" to player
send "&a&lStage: &322" to player
send "&dHealth: 55 ♥ ↑ " to player
send "&bSpeed: +0.26 ↑ " to player
send "&bJump Speed: +0.1"
send "&cAttack Melee + 3.4 ↑ " to player
send "&b--------------&aNext : Require &3190
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "entity.player.levelup" with volume 1 and pitch 0 at player
set the maximum health of player to 27.5
set the player's walk speed to 0.25
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 190:


send "&6You Stats Changed !" to player
send "&a&lStage: &323" to player
send "&dHealth: 58 ♥ ↑ " to player
send "&bSpeed: +0.265 ↑ " to player
send "&bJump Speed: +0.1"
send "&cAttack Melee + 3.5 ↑ " to player
send "&b--------------&aNext : Require &3200
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 29
set the player's walk speed to 0.26
set {jump+::%player's uuid%} to 0.1
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 200:


send "&6You Stats Changed !" to player
send "&a&lStage: &324" to player
send "&dHealth: 60 ♥ ↑ " to player
send "&bSpeed: +0.27 ↑ " to player
send "&bJump Speed: +0.2 ↑"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3240
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 30
set the player's walk speed to 0.265
set {jump+::%player's uuid%} to 0.2
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 240:


send "&6You Stats Changed !" to player
send "&a&lStage: &325" to player
send "&dHealth: 62 ♥ ↑ " to player
send "&bSpeed: +0.29 ↑ " to player
send "&bJump Speed: +0.2"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3300
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 31
set the player's walk speed to 0.285
set {jump+::%player's uuid%} to 0.2
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 300:


send "&6You Stats Changed !" to player
send "&a&lStage: &326" to player
send "&dHealth: 64 ♥ ↑ " to player
send "&bSpeed: +0.31 ↑ " to player
send "&bJump Speed: +0.2"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3350
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 32
set the player's walk speed to 0.305
set {jump+::%player's uuid%} to 0.2
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 350:


send "&6You Stats Changed !" to player
send "&a&lStage: &327" to player
send "&dHealth: 66 ♥ ↑ " to player
send "&bSpeed: +0.34 ↑ " to player
send "&bJump Speed: +0.2"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3420
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 33
set the player's walk speed to 0.335
set {jump+::%player's uuid%} to 0.2
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 420:


send "&6You Stats Changed !" to player
send "&a&lStage: &328" to player
send "&dHealth: 68 ♥ ↑ " to player
send "&bSpeed: +0.37 ↑ " to player
send "&bJump Speed: +0.3 ↑"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3500
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 34
set the player's walk speed to 0.365
set {jump+::%player's uuid%} to 0.3
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 500:


send "&6You Stats Changed !" to player
send "&a&lStage: &329" to player
send "&dHealth: 70 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX ↑ " to player
send "&bJump Speed: +0.3"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3600
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 35
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.3
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 600:


send "&6You Stats Changed !" to player
send "&a&lStage: &330" to player
send "&dHealth: 72 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.4 ↑"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3725
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 36
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.4
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 725:
send "&6You Stats Changed !" to player
send "&a&lStage: &331" to player
send "&dHealth: 74 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.4"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &3850
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 37
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.4
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}

else if player's level is 850:


send "&6You Stats Changed !" to player
send "&a&lStage: &332" to player
send "&dHealth: 76 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.5 MAX"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &31000
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 38
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.5
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 1000:
send "&6You Stats Changed !" to player
send "&a&lStage: &333" to player
send "&dHealth: 78 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.5 MAX"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &31250
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 39
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.5
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 1250:
send "&6You Stats Changed !" to player
send "&a&lStage: &334" to player
send "&dHealth: 80 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.5 MAX"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &31750
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 40
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.5
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 2500:
send "&6You Stats Changed !" to player
send "&a&lStage: &335" to player
send "&dHealth: 82 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.5 MAX"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aNext : Require &34250
&aexperience&b--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 41
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.5
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
else if player's level is 4250:
send "&6You Stats Changed !" to player
send "&a&lStage: &336" to player
send "&dHealth: 84 ♥ ↑ " to player
send "&bSpeed: +0.40 MAX" to player
send "&bJump Speed: +0.5 MAX"
send "&cAttack Melee + 3.8 ↑ " to player
send "&b--------------&aMax Level--------------" to player
play sound "entity.player.levelup" with volume 1 and pitch 1 at player
play sound "ui.toast.challenge_complete" with volume 1 and pitch 1 at
player
set the maximum health of player to 42
set the player's walk speed to 0.40
set {jump+::%player's uuid%} to 0.5
set {query.speed.%player's uuid%} to player's walk speed
set {query.jump+.%player's uuid%} to {jump+::%player's uuid%}
every tick:
loop all players:
loop-player's level > 4250:
remove 1 from loop-player's level
add 1 to {levelspast4250::%loop-player's uuid%}
send "&cGained 1 past level!" to loop-player
loop-player's level < 4250:
{levelspast4250::%loop-player's uuid%} is not 0
send "&cYou lost %{levelspast4250::%loop-player's uuid%}% &cpast
levels from going below 4250 levels!" to loop-player
set {levelspast4250::%loop-player's uuid%} to 0
on join:
{levelspast4250::%player's uuid%} is not set
set {levelspast4250::%player's uuid%} to 0
command /pastlevels:
trigger:
send "&cYou have %{levelspast4250::%player's uuid%}% &cpast levels!"

#command /purchup1:
# trigger:
# if {Strength::%player%} is 20:
# message "&cYou have reached the maximum Strength Level."
# else:
# if {Strength::%player%} is greater than 20:
# message "&cYou have reached the maximum Strength Level."
# else:
# message "&a+0.1 Hearts DAMAGE"
# remove 2 from {upgradepoints::%player%}
# add 1 to {Strength::%player%}
# make player execute command "/upgrade"

#Strength

#on damage:
# set {_Dmg} to 0.1 + {Strength::%attacker%}
# damage the victim by {_Dmg} hearts

#on damage:
# set {_Dmg} to 0.01 - {Strength::%attacker%}
# if tool of attacker is bow:
# damage the victim by {_Dmg} hearts
#

every second:
loop all players:
apply jump boost {jump+::%loop-player's uuid%} * 10 without any
particles to loop-player for 1 second
function jumping(p: player):
set {_uuid} to uuid of {_p}
set {jumping::%{_uuid}%} to 1
while block below {_p} is air:
wait a tick
delete {jumping::%{_uuid}%}
on jump:
jumping(player)
if {jump+::%player's uuid%} is 0.3:
set {protection.jump.%player's uuid%} to 1
wait 12 ticks
delete {protection.jump.%player's uuid%}
stop
else if {jump+::%player's uuid%} is 0.4:
set {protection.jump.%player's uuid%} to 1
wait 15 ticks
delete {protection.jump.%player's uuid%}
stop
else if {jump+::%player's uuid%} is 0.5:
set {protection.jump.%player's uuid%} to 1
wait 1 second
delete {protection.jump.%player's uuid%}
stop
on damage:
if {protection.jump.%victim's uuid%} is set:
damage cause is fall
cancel event
command /stats [<text>] [<text>] [<number>]:
trigger:
arg-1 is "modify":
arg-2 is "jump":
if {query.jump+.%player's uuid%} * 10 >= arg-3:
set {jump+::%player's uuid%} to arg-3 / 10
send "&aJump is now at %arg-3 / 10%&a!"
stop
send "&cYou cannot modify over your maximum jump, Or this
is already your jump speed!"
stop
send "&cUnknown options: Valid options are 'jump'"
stop
arg-1 is "admin":
player has permission "stats.admin":
arg-2 is "jump":
arg-3 < 110:
arg-3 <= 5:
set {jump+::%player's uuid%} to arg-3 /
10
send "&c&lADMIN &aJump is now at %arg-3 /
10%&a!"
stop
set {jump+::%player's uuid%} to arg-3 / 10
send "&c&lADMIN &aJump is now at %arg-3 /
10%&a! &c(Fall damage occurs past 0.5!)"
stop
send "&cCannot go above 109 jump! (You wont jump past
109)"
stop
arg-2 is "speed":
arg-3 <= 10:
set player's walk speed to arg-3 / 10
send "&c&lADMIN &aSpeed is now at %arg-3 /
10%&a!"
stop
send "&cCannot go above a speed of 1"
stop
send "&cUnknown options: Valid options are 'jump' and
'speed'"
stop
send "&cNo Permission!"
stop
send "&cUnknown options: Valid options are 'modify' and 'admin'"
stop
every second:
loop all players:
if {query.jump+.%loop-player's uuid%} < {jump+::%loop-player's uuid%}:
set {query.jump+.%loop-player's uuid%} to {jump+::%loop-player's
uuid%}

on join:
while player is online:
if player's health < (player's max health / 3):
apply slowness to player for 2 ticks
wait 2 ticks
on damage:
attacker's health < (attacker's max health / 3):
damage >= 2:
set damage to (damage - 1)
else if damage >= 1:
set damage to (damage - 0.5)
else:
set damage to 0

You might also like