game.Players.PlayerAdded:Connect(function(P)local l=Instance.new("\070\111\108\100\101\114")l.Name="\108\101\097\100\101\114\115\116\097\116\115"l.Parent=P local L=Instance.new("\073\110\116\086\097\108\117\101")L.Name="\067\097\115\104"L.Parent=l L.Value=500 end)


game.Players.PlayerAdded:Connect(function(player)--here player means the player who will join the game
	local leaderstats= Instance.new("Folder")-- This will create a folder when player joins 
	leaderstats.Name= ("leaderstats")
	leaderstats.Parent= player
	
	--now currency
	local cash= Instance.new("IntValue")
	cash.Name= ("Cash")-- change ("Cash") to any word u want, but the brackets and commas
	cash.Parent = leaderstats
	cash.Value = 500 --change the ammount of money u want to give player
	
	
end)
