Level Progress (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[the] level progress of %players%

Description

The player's progress in reaching the next level, this represents the experience bar in the game. Please note that this value is between 0 and 1 (e.g. 0.5 = half experience bar). Changing this value can cause the player's level to change if the resulting level progess is negative or larger than 1, e.g. <code>increase the player's level progress by 0.5</code> will make the player gain a level if their progress was more than 50%.

Examples

on rightclick with diamnod sword:
	add 0.05 to player's level progress

View source