badfitz60
|
  |
| Joined: 03 Sep 2010 |
| Total Posts: 1283 |
|
|
| 28 Oct 2015 01:34 PM |
is there a way a script can detect if it's being run in studio or not
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|
yobo89
|
  |
| Joined: 05 Jun 2010 |
| Total Posts: 2341 |
|
|
| 28 Oct 2015 01:38 PM |
Turn of studio API and then run a datastore or something and see if it returns false
xD
Dont do that that is stupid. |
|
|
| Report Abuse |
|
|
badfitz60
|
  |
| Joined: 03 Sep 2010 |
| Total Posts: 1283 |
|
|
| 28 Oct 2015 01:39 PM |
reason:
for my minigames I turn the amount of players needed to run the game to 1 for testing, but forget to put it back to 2 and it's annoying
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|
yobo89
|
  |
| Joined: 05 Jun 2010 |
| Total Posts: 2341 |
|
|
| 28 Oct 2015 01:40 PM |
| In studio just press test server with 2 players rather than play. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2015 01:42 PM |
| if game:GetService("RunService"):IsStudio() then |
|
|
| Report Abuse |
|
|