local r=0 function onTouched(H)if r==0 then r=1 check=H.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")if check~=nil then local r=game.Players:GetPlayerFromCharacter(H.Parent)local o=r:findFirstChild("\108\101\097\100\101\114\115\116\097\116\115")if o~=nil then local r=o:findFirstChild("\067\097\115\104")local H=o:findFirstChild("\077\111\110\101\121")local S=o:findFirstChild("\080\111\105\110\116\115")local d=o:findFirstChild("\084\105\099\107\101\116\115")local R=o:findFirstChild("\084\105\120")if r~=nil then r.Value=r.Value+1 script.Parent:Remove()elseif H~=nil then H.Value=H.Value+1 script.Parent:Remove()elseif S~=nil then S.Value=S.Value+1 script.Parent:Remove()elseif d~=nil then d.Value=d.Value+1 script.Parent:Remove()elseif R~=nil then R.Value=R.Value+1 script.Parent:Remove()end end end wait()r=0 end end script.Parent.Touched:connect(onTouched)
--Uberubert
local ting = 0 --debouncer

function onTouched(hit)
	if ting == 0 then --debounce check
		ting = 1 --activate debounce
		check = hit.Parent:FindFirstChild("Humanoid") --Find the human that touched the button
		if check ~= nil then --If a human is found, then
			local user = game.Players:GetPlayerFromCharacter(hit.Parent) --get player from touching human
			local stats = user:findFirstChild("leaderstats") --Find moneyholder
			if stats ~= nil then --If moneyholder exists then
				local cash = stats:findFirstChild("Cash")
				local cash2 = stats:findFirstChild("Money")
				local cash3 = stats:findFirstChild("Points")
				local cash4 = stats:findFirstChild("Tickets")
				local cash5 = stats:findFirstChild("Tix")
				if cash ~= nil then
					cash.Value = cash.Value + 1
					script.Parent:Remove()
				elseif cash2 ~= nil then
					cash2.Value = cash2.Value + 1
					script.Parent:Remove()
				elseif cash3 ~= nil then
					cash3.Value = cash3.Value + 1
					script.Parent:Remove()
				elseif cash4 ~= nil then
					cash4.Value = cash4.Value + 1
					script.Parent:Remove()
				elseif cash5 ~= nil then
					cash5.Value = cash5.Value + 1
					script.Parent:Remove()
				end
			end
		end
		wait()
		ting = 0 --remove debounce
	end
end

script.Parent.Touched:connect(onTouched)
