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
 

How do you make lighting client side

Previous Thread :: Next Thread 
Visarix is not online. Visarix
Joined: 24 Oct 2014
Total Posts: 33
23 Apr 2017 02:44 PM
How do you make lighting client side instead of global?

Ex: Time of day (basically any setting in lighting) will only be changed for one person, instead of the entire game.


Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
23 Apr 2017 02:46 PM
FE and change it with a local script.
Report Abuse
Rice_Nice is not online. Rice_Nice
Joined: 12 Mar 2017
Total Posts: 166
23 Apr 2017 02:46 PM
FilteringEnabled. There used to be a hacky way to have client side lighting but I doubt it works anymore.
Report Abuse
Visarix is not online. Visarix
Joined: 24 Oct 2014
Total Posts: 33
23 Apr 2017 02:52 PM
So i enabled filtering enabled, then use a local script.


Do I just do:

game.Lighting.TimeOfDay = "12:00:00"


Report Abuse
Rice_Nice is not online. Rice_Nice
Joined: 12 Mar 2017
Total Posts: 166
23 Apr 2017 02:52 PM
Easy peasy.
Report Abuse
Visarix is not online. Visarix
Joined: 24 Oct 2014
Total Posts: 33
23 Apr 2017 03:02 PM
This only works with a regular script

hmmmm
Report Abuse
Visarix is not online. Visarix
Joined: 24 Oct 2014
Total Posts: 33
23 Apr 2017 03:09 PM
wait no it doesnt...

idk what im doing
Report Abuse
Rice_Nice is not online. Rice_Nice
Joined: 12 Mar 2017
Total Posts: 166
23 Apr 2017 03:14 PM
How are you testing it?
Report Abuse
wonuf is not online. wonuf
Joined: 28 May 2013
Total Posts: 133
23 Apr 2017 03:16 PM
As above, if you have FilteringEnabled turned on and change the lighting using a LocalScript this will only effect the client, not other players.

I'd put the LocalScript inside 'StartPlayerScripts', which is in 'StarterPlayer'.
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