generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Loading scripts will filtering enabled

Previous Thread :: Next Thread 
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
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 is not online. 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
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
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 is not online. 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
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
26 Jun 2015 03:36 AM
This actually helps me. Thanks for your help!
Report Abuse
ImperialOutcast is not online. ImperialOutcast
Joined: 24 Nov 2009
Total Posts: 12054
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image