Leaderstats not showing next to name

My issue is that once the player spawns in the leaderstats don’t show next to the user. The leaderstats script is a serverscript and the leaderstats folder along with the int value shows in the player once they join.

game.Players.PlayerAdded:Connect(function(PlayerAdded)
	local LeaderStats = Instance.new("Folder")
	LeaderStats.Name = "LeaderStats"
	LeaderStats.Parent = PlayerAdded
	
	local Money = Instance.new("IntValue")
	Money.Name = "Money"
	Money.Value = 5
	Money.Parent = LeaderStats
end).

ADWMLKADWMLWMKDLMKLA
WDMLAKDWMWDMKL

1 Like
	local LeaderStats = Instance.new("Folder")
	LeaderStats.Name = "leaderstats"
	LeaderStats.Parent = PlayerAdded
	
	local Money = Instance.new("IntValue")
	Money.Name = "Money"
	Money.Value = 5
	Money.Parent = leaderstats
end)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.