Script not working

'game.Players.PlayerAdded:Connect(function(Player)
local leaderstats = Instance.new(“Folder”, Player)
leaderstats.Name = “leaderstats”

local Cash = Instance.new("NumberValue", leaderstats)
Cash.Name = "Cash"
Cash.Value = 0 if game.Players.ConclusionGiver then Cash.Value = 99999

end)’
I don’t get cash and the leader bord doesn’t pop up.

im a bit confused on what this is

oh wait its your username ohhhh

1 Like

try this?

game.Players.PlayerAdded:Connect(function(player)
	local leaderstats = Instance.new("Folder")
	leaderstats.Name = "leaderstats"
	leaderstats.Parent = player

	local cash = Instance.new("NumberValue",leaderstats) --IntValue also works, but since you are using cash, NumberValue works best here
	cash.Name = "Cash"
	if player.UserId == 289241213 then --this is your user id, so only you can get the cash
		cash.Value = 99999
	else
		cash.Value = 0
	end
end)

can you show me the script?

(post limit)

Example: You click inbetween a text. What ever you write gets the other letter or what ever replaced. You can’t type in-between the text.

1 Like