script.Parent.MouseButton1Down:connect(function() local player = game:GetService("Players").LocalPlayer if player.leaderstats.Money.Value >= player.leaderstats.RebirthRequireMentValue then
player.leaderstats.Money.Value = 0
player.leaderstats.Rebirths.Value = player.leaderstats.Rebirths.Value + 1
--ITEMS IN HERE
player.leaderstats.NoobNoob.Value = false
player.Starterpack.NoobNoob:Destroy()
--ITEMS IN HERE
player.Character.Humanoid.Health = 0
end
end)
I was just wondering why and how to fix the error: attempt to compare userdata with number

1 comment
I really need this for my upcoming game!