|
| 26 Jun 2015 03:00 AM |
Okay. Bit of a story.
I created a small obstacle like map that is stored in the Lighting. I local script inside the HumanoidRootPart loads the map into a Folder, in the Workspace. Workspace.FilteringEnabled is true, so this action is not replicated to other players or the server.
The problem.
Scripts inside the map do not function. They simply do not work. Sadly, I discovered this, deep in the project. As of right now, I have a script, inside the map, that makes a part spin.
My question is, is their any possible way to get these scripts to work? Any method that I can add that will allow me to get this brick to spin? I tried replacing the script with the local script. No good. It seems, since the server itself doesn't see the map, the server can't run script.
The goal is to load maps and builds, to a player personally. Allowing me to have multiple builds and maps in the same general area without over lapping other maps, so multiple players can play different maps at the same time, in the same place.
Any tips? |
|
|
| Report Abuse |
|
|
ganger800
|
  |
| Joined: 06 Dec 2012 |
| Total Posts: 427 |
|
|
| 26 Jun 2015 03:21 AM |
since you use filtering enabled like you described, it is obvious server scripts do NOT function - change all normal scripts to local scripts - put all scripts inside playerGui or something like that, local scripts do not function in the workspace (few exceptions) |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2015 03:29 AM |
| The only issue with that is, it's a big map and their are multiple maps. Though this is possible, that is a load of scripts inside the PlayerGui doing very specific things. There is no other possible method? |
|
|
| Report Abuse |
|
|
ganger800
|
  |
| Joined: 06 Dec 2012 |
| Total Posts: 427 |
|
|
| 26 Jun 2015 03:32 AM |
wiki: http://wiki.roblox.com/index.php?title=API:Class/LocalScript there is noted where a local script can run |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2015 03:36 AM |
| This actually helps me. Thanks for your help! |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2015 06:49 AM |
| Think around the problem, simply have local scripts within the model in ReplicatedStorage... And then once parenting to workspace move local script to PlayerGui and turn disabled to true and false. |
|
|
| Report Abuse |
|
|