Ok so the Payday script works (Thanks Goulstem for getting it to work) but it adds money every second whether then every whatever second it's at example 180 seconds. Also how can I show mins, hours and secs?
local time = 180
while wait(1) do
time = time - 1
if (time <= 0) then
time = 180
end
for i,v in pairs(game.Players:GetPlayers()) do
--different source directory
local plr = game.ServerScriptService.Players:FindFirstChild(v.Name)
if plr then
--edit--
local gui = v.PlayerGui:FindFirstChild('PaydayGui')
--edit--
local creds = plr.Tickets
if gui then
gui.Label.Text = 'Next payday in '..time..' seconds'
end
if v:IsInGroup(782018) then
creds.Value = creds.Value + 50
elseif v:IsInGroup(234706) then
creds.Value = creds.Value + 30
end
creds.Value = creds.Value + 50
end
end
end

9 comments
That's fine and thx for fixing it again! :)
No problem.
Exactly now it's not working it's not showing any error what so ever o.O
What do you mean by conditional?
Nvm I understand now :P
Sorry, it's going to award you after 180 seconds but it's not going to show the countdown on players' leaderboards. It's because it's not updating the guis in the while loop. I'll edit it.
ah awesome thx so much!
Should work nao c:
It does thx so much!