|
| 15 Aug 2013 07:28 PM |
I have this script for my fort. But I want to set it so it will only work after a particular day. Is there a way to do that?
-RTM Commander |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2013 07:29 PM |
| No, there is not. Unless you can count the seconds till that day, and someone is on the game 24/7. |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2013 07:32 PM |
Is there a way to get the date or time?
-RTM Commander |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2013 07:34 PM |
| There may be, but I am 95 percent sure there isn't. |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2013 07:34 PM |
You can use the Ticket property of NetworkClient to tell the date when someone joins. http://wiki.roblox.com/index.php/Ticket
Another way would be using tick(). tick() is the number of seconds passed from January 1, 1970. Using basic logic, you can do this: 1. Go into studio and type print(tick()) 2. There are 86400 seconds in a day. Therefore, you add 86400 * x number of days 3. It will now be available in x number of days
However, the problem with both of these methods is that the person using your script can simply remove the portion of your script that checks the date.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2013 07:36 PM |
Of course, you'll still need to add the portion of the script that checks if the time is right. But you could have whoever scripted that for you (or yourself) do that portion for you.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|