Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I ban a player from my game for a specific amount of time using DataStore? [closed]

Asked by 8 years ago

I asked on the ROBLOX Forums how I can ban players for a specific amount of time, and two people responded something about "DateStore", and "os.time". I don't know what either of these are though. Please help!

1
They responded as well as we can respond to you. Unless you show us you have attempted a script, we can not help you. You would want to use DataStore's SetAsync function to set a specified amount of seconds in a command plus the os.time so you may compare the number later against os.time when you use GetAsync to find if their ban has passed or not. M39a9am3R 3210 — 8y

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?