So i am trying to make a daily reward timer,and everything works,but when i try to print something like print(“JAVAKINGZ”) ,output send me this :
12:49:32.073 - ServerScriptService.ChestReward:68: attempt to call a string value
This is my script :
while true do
local timeelapsed = TimePeriod - os.time()
Timer.Text = "Next chest in " .. toHMS(timeelapsed) .. " seconds."
print(toHMS(timeelapsed))
wait(1)
end
Idk bro I don’t do os.time() and stuff like that much unless it’s for a live event.Have you tried the scripting helpers discord or their website?
Edit: show me the whole code please there might be something in it that’s causing it to error.
Some actually consider that to be a far worse practice, but it honestly depends on the person and whether you want it to wait before or after the code inside.