so im new to coding and i made an script to add a leaderstat foulder and a numvalue to my player
heres t he script
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new(“Folder”)
leaderstats.Name = “leaderStats”
leaderstats.Parent = player
local kills = Instance.new("IntValue")
kills.Name = "Kills"
kills.Value = 5
kills.Parent = leaderstats
while true do
task.wait(1)
kills.Value = kills.Value + 1
end
end)
when i play test the game the value dpesnt show up on the leaderboard

but the player have the leaderstats folder and the stuff inside it is just not displaying it for some reason
