Skip to main content

ScoreBoardEntry(MLPlayer player, string name, number value)

Creates a new scoreboard entry.

Parameters:

NameTypeDescription
playerMLPlayerAssociated player
namestringThe name of the score. Like kills, health, etc.
valuenumberThe score value.

Usage

---@type MLPlayer
local player;

---@type string
local name;

---@type number
local value;


local scoreboardentry = ScoreBoardEntry(player, name, value);