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.