Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

why isn't the cash value in my leaderstats not showing up in the top right corner of screen?

i'm watching a youtube tutorial from about 9 months ago on datastore. the guy has the exact same script in his video and it works fine. is a new update or something the reason this doesn't show up in the top corner of the screen? if I look in the explorer I have a folder in my player called leaderstats and a int value called cash in the folder.

game.Players.PlayerAdded:Connect(function(player)
	local leaderstats = Instance.new("Folder")
	leaderstats.Name = "leaderStats"
	leaderstats.Parent = player
	
	local Cash = Instance.new("IntValue", leaderstats)
	Cash.Name = "Cash"
	Cash.Parent = player
end)

1 answer

✓ Accepted answer

The leaderstats need to be names "leaderstats" so that it will show up in the screen. You named yours "leaderStats".

This discussion is preserved as it was. New answers, comments, and votes are closed.