script.Parent.Touched:Connect(function()
game.Players.LocalPlayer.leaderstats.Cash.Value = game.Players.LocalPlayer.leaderstats.Cash.Value + 1
end)
Cash
script.Parent.Parent.A.B.MouseButton1Click:Connect(function()
local waitTime = math.random(3,5)
local subscriberAdd = math.random(1,3)
while true do
wait(waitTime)
game.Players.LocalPlayer.leaderstats.Subscribers.Value = game.Players.LocalPlayer.leaderstats.Subscribers.Value + subscriberAdd
wait(2)
end
end)
A and B are added in because I dont want game idea stolen
Even when I do the same thing in the same script cash dosen't work

2 comments
These scripts are doing two different things. What are you trying to do? Are there any errors?
No errors.. That is what I am saying, the subscribe one works but the cash one dosen't and I dont know why