This is the script for the leaderboard that I want to use
local maxlevel = 100
game.Players.PlayerAdded:connect(function(player)
local stats = Instance.new("IntValue", player)
stats.Name = "leaderstats"
local azteige = Instance.new("IntValue", stats)
azteige.Name = "AZTEIGE"
azteige.Value = 1
local exp = Instance.new("IntValue", stats)
exp.Name = "EXPERIENCE"
exp.Value = 0
local astex = Instance.new("IntValue", stats)
astex.Name = "ASTEX"
astex.Value = 100
while wait() do
local extralevel = azteige.Value
local expneed = ((extralevel * 2) -1) * 200
if azteige.Value < maxlevel then
if exp.Value >= expneed then
azteige.Value = azteige.Value + 1
exp.Value = exp.Value - expneed
end
end
end
end)
Here is a link of the GUI that I wanna use for this http://imgur.com/dEnQMbZ

1 comment
Can you show us the actual code you are having trouble with?