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"]
Im assuming that the item you want to give is called "Aomine Daiki" and it is located in "zone". You missed an end also. I'm still learning so excuse me if this is wrong.
level.Changed:connect(function() if xp.Value < 1000 then level.Value = 1 if experience.Value == 10 then game.Workspace.zone["Aomine Daiki"]:Clone().Parent = plr.Backpack end end end)