So I made a script of sorts.
local function onPlayerJoin(player)
local Noob = Instance.new("Folder")
Noob.Name = "Noob"
Noob.Parent = player
local Noobs = Instance.new("IntValue")
Noobs.Name = "Noobs"
Noobs.Value = 0
Noobs.Parent = Noob
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local CurrentResets = Instance.new("IntValue")
CurrentResets.Name = "Current Resets"
CurrentResets.Value = 0
CurrentResets.Parent = leaderstats
local Resets = Instance.new("IntValue")
Resets.Name = "Resets"
Resets.Value = Resets.Value
Resets.Parent = leaderstats
local UltimateResets = Instance.new("IntValue")
UltimateResets.Name = "Ultimate Resets"
UltimateResets.Value = 0
UltimateResets.Parent = leaderstats
player.CharacterAdded:Connect(function(character)
character:WaitForChild("Humanoid").Died:Connect(function()
print(Noobs.Value)
CurrentResets.Value = CurrentResets.Value + 1 + Noobs.Value
Resets.Value = Resets.Value + 1 + Noobs.Value
end)
end)
end
game.Players.PlayerAdded:Connect(onPlayerJoin)
The main part I'm concerned about is this.
player.CharacterAdded:Connect(function(character)
character:WaitForChild("Humanoid").Died:Connect(function()
print(Noobs.Value)
CurrentResets.Value = CurrentResets.Value + 1 + Noobs.Value
Resets.Value = Resets.Value + 1 + Noobs.Value
If the Noobs.Value is 1, it still counts it as 0. Any fix? No errors.

4 comments
oh now i see whats wrong
sorry i cant fix
I don't see anywhere in this script that Noobs.Value is ever being set aside from being initialized to 0.
It's in a different script.