✓ Accepted answer
you can do something like this:
local canApply = 1
canApply = 0
If canApply = 0 then
print("You can only apply 1 time per day")
wait(86400)
canApply = 1
Or you could do a method using os.date(Day)
Put an IntValue in your script, i called mine Day
I recommend this more than the other
local Day = script.Day
local DayValue = os.date("!*t") ["day"]
if os.date("!*t") ["day"] == Day.Value then
print("You cant apply twice per day!")
else
print('SUCCESS')
Day.Value = DayValue
end
Replace the print("SUCCESS") with your code that makes the application work and replace print('You cant apply twice per day!') with the message or whatever you want to show the person that they are not allowed to apply twice per day
2 comments
YOU ARE SO SMART OMG
np