Help on script [leaderstats]

What does that mean, sorry didnt understand a thing.

1 Like

try to change the Player.leaderstats to player.Leaderstats and if it didnt work use local Player = game.Players.LocalPlayer like the solution above

Just replace

-- line 5:
local Players = game.Players --(only if you will use it else delete this line)

-- line 9 to 11:
LevelUpNotification.OnClientEvent:Connect(function(player)
local Level = player.leaderstats.Level.Value
local Exp = player.leaderstats.Exp.Value