vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 08 Sep 2014 08:33 AM |
I checked IsInBuildMode but couldn't find it. So, how do I check if I'm in studio? - Testing |
|
|
| Report Abuse |
|
|
|
| 08 Sep 2014 08:36 AM |
| Why would you need this e.e |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 08 Sep 2014 08:41 AM |
| When I'm testing with DataStore etc. while i need to test it in a local server i want to disable it so it does not error and worse. |
|
|
| Report Abuse |
|
|
| |
|
vlekje518
|
  |
| Joined: 10 Apr 2011 |
| Total Posts: 191 |
|
|
| 08 Sep 2014 09:48 AM |
Im searching for the property/method tho not pcall :/ |
|
|
| Report Abuse |
|
|
|
| 08 Sep 2014 09:56 AM |
This would work: function inStudio() if game.PlaceVersion == 0 then return true else return false end |
|
|
| Report Abuse |
|
|
|
| 08 Sep 2014 09:56 AM |
Oops sorry forgot a end:
function inStudio() if game.PlaceVersion == 0 then return true else return false end end |
|
|
| Report Abuse |
|
|
vlekje518
|
  |
| Joined: 10 Apr 2011 |
| Total Posts: 191 |
|
|
| 08 Sep 2014 09:57 AM |
| Didnt check but thanks! :D |
|
|
| Report Abuse |
|
|
| |
|