I want to know how i would make a 1 day ban for my game given out by admins and people i trust how would i do it? Heres some code i tried.
local tick = 3600
local ban = ("DevelopingUnlimited") <-- my real roblox name.
for i,v in pairs(tick, ban) do
if v == game.Players.Name then
v:Kick("Banned for a day.")
end
end
P.S It is a local script so it works anywhere.

5 comments
You would need to look into DataStores.
Brackets are not math exclusive and wont error, but they are still redundant.
ikr lol
Probably something to do with os.time()
Might try it out.