local player = game.Players.LocalPlayer
local leaderstats = player:WaitForChild('leaderstats')
local level = leaderstats:WaitForChild('level')
local xp = player:WaitForChild('exp')
local experience
level.Changed:connect(function()
if xp.Value < 1000 then
level.Value = 1
if experience.Value == 10
then game.Workspace.zone["Aomine Daiki"]
end)
end)
game.Players.PlayerAdded:connect(function(plr)
local stats = Instance.new('IntValue', plr)
stats.Name = 'leaderstats'
local experience = Instance.new('IntValue', stats)
experience.Name = 'EXP'
experience.Value = 0
local level = Instance.new('IntValue', stats)
level.Name = 'level'
level.Value = 0
experience.Changed:connect(function()
level.Value = math.floor(experience.Value / 10)
end)
end)
the thing is that the first script that is given is wrong not the second one . i put those 2 in there cause maybe i need to change the second one or something i wanted that IF ANY PLAYER HIS EXPERIENCE VALUE IS EQUAL TO 10 then it would give the item in the game.Workspace.zone.["Aomin Daiki"]

3 comments
no sry this is wrong but thank you i think you made the mistake here : if experience.Value == 10 then. i think you need to say wich players experience is eqeul to 10
I copied your script so you made the mistake lol
but you gave me the wrong answer so we both made a mistake i think