game.Players.PlayerAdded:Connect(function(Player) local kdratio = Instance.new("NumberValue",Player) kdratio.Name = "KillDeath" local leader = Player:WaitForChild("leaderstats") local ratio = leader:WaitForChild("Deaths").Value / leader:WaitForChild("Deaths").Value local finalratio = math.floor(ratio * 100)/100 kdratio.Value = finalratio end)