Help with Zednov's Tycoon

Here’s full script if you want to give player cash everytime player touch part :

deb = false
script.Parent.Touched:connect(function(part)
	if game.Players:FindFirstChild(part.Parent.Name) then
		if deb == false then
			deb = true
			local plr = game.ServerStorage.PlayerMoney:FindFirstChild(part.Parent.Name)
			plr.Value = plr.Value + 100000
			deb = false
		end
	end
end)

Did you change PLAYERNAME with the your name?

yes i did and it still did that

Did you put quotation marks around it?

AHHH THAT WORKED. Thanks man!!!

1 Like