MrKazz
|
  |
| Joined: 10 Apr 2011 |
| Total Posts: 1212 |
|
|
| 03 Feb 2015 12:46 AM |
| The wiki describes this service as "a container whose contents should be scripts. Scripts that are added to the container are run on the server." I've always just kept my scripts in the workspace, is there an advantage to using the service to run server-sided scripts? |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Feb 2015 12:53 AM |
| If you want your scripts to be run on the server side, you use an ordinary script and place it wherever you need it to be, if you want it to be local and only for the local player, you use a local script. |
|
|
| Report Abuse |
|
|
MrKazz
|
  |
| Joined: 10 Apr 2011 |
| Total Posts: 1212 |
|
|
| 03 Feb 2015 12:55 AM |
| Why would the devs make a specific service for running server scripts then? |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2015 12:55 AM |
| If a script needs to be called in at a specific time, or for example if all the scripts are removed at the end of the game then cloned again into workspace, They want you to clone them from there instead of Lighting which is what people use to use. Its basically script storage. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 03 Feb 2015 12:59 AM |
'Nope.'
Wrong
If an exploiter steals your game, they won't get any of the scripts in server script storage
They will get the ones in workspace |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Feb 2015 02:04 AM |
| I don't think any server-sided scripts are replicated to the client either way. Workspace or not, or at least last I tested. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 03 Feb 2015 02:09 AM |
| Scripts in ServerScriptStorage should be ones handling game logic. If they handle object logic and require anything like script.Parent then they shouldn't go in there. Otherwise, it's a far nicer place to put things like that. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 03 Feb 2015 02:12 AM |
@Cnt
Well it does, anything in workspace on the server is replicated to the client |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Feb 2015 02:20 AM |
| The script object themselves are, not the source since last I checked the source would be the line count. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 03 Feb 2015 04:09 PM |
@Cnt No I checked, the source is there as well |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2015 04:11 PM |
| Yeah, I'm certain the source is replicated. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 03 Feb 2015 04:13 PM |
| as some (others) may have pointed out already its for protection |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2015 04:40 PM |
| It's basically just putting a shield on your script(s). |
|
|
| Report Abuse |
|
|
MM233
|
  |
| Joined: 19 Jun 2008 |
| Total Posts: 925 |
|
|
| 03 Feb 2015 04:57 PM |
| Its also much more convenient than cluttering up Workspace. |
|
|
| Report Abuse |
|
|
GrandMark
|
  |
| Joined: 03 Feb 2014 |
| Total Posts: 160 |
|
|
| 03 Feb 2015 05:28 PM |
| It's a way of being organized... the scripts will run in either workspace or scriptservice |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Feb 2015 05:31 PM |
Well they changed it :( Why would they replicate the source now if they hadn't in the past /cry |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
| |
|
MM233
|
  |
| Joined: 19 Jun 2008 |
| Total Posts: 925 |
|
|
| 03 Feb 2015 06:32 PM |
| To make you use ServerScriptService, lol. |
|
|
| Report Abuse |
|
|