for i = 60, 0, -1 do
wait(1)
if i == 0 then
Cash.Value = Cash.Value + 100
for _,v in pairs(MinWage) do
if Rank.Value == v then
Cash.Value = Cash.Value + 100
i = 60
end
end
for _,v in pairs(MedWage) do
if Rank.Value == v then
Cash.Value = Cash.Value + 200
i = 60
end
end
for _,v in pairs(MaxWage) do
if Rank.Value == v then
Cash.Value = Cash.Value + 300
i = 60
end
end
for _,v in pairs(AdminWage) do
if Rank.Value == v then
Cash.Value = Cash.Value + 500
i = 60
end
end
else
Wallet.Countdown.Text = "You get $" ..Income.Value.. " in: " ..i
end
end
It counts down all the way to 1, then it freezes. I tried changing if i == 1 then, but then it stopped at 2. Help? All variables are predefined and working.
