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: How can you make splotlights disabled and enabled...

Previous Thread :: Next Thread 
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
11 May 2013 09:02 AM
during certain parts of the day
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
11 May 2013 09:06 AM
Feel free to use that light to find the door.

3000th post is showing a noob the door!
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
11 May 2013 10:04 AM
yay

mrchubbs

good for u

making ur ....th post special is silly

doing that is better

greetings hue man
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
11 May 2013 10:14 AM
When it turns day and you don't want lights on, you need to insert a light-disabling object called a ManualSurfaceJointInstance.
Roblox made this mechanism as a test, but haven't locked the object or any of its methods, so we can use it!

disabler = Instance.new("ManualSurfaceJointInstance")
disabler.GlobalShadowsEditor = true
disabler:SpotLights(false)
disabler:ActivateRestrictions()
Report Abuse
Looah is not online. Looah
Joined: 22 Feb 2013
Total Posts: 922
11 May 2013 10:50 AM
:o
Did roblox make a new object called 'Splotlight'?

public bool cats = !stupid;
Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
11 May 2013 10:51 AM
Splotlight? What is this blagsnarfy?

~ Linguam latinam est optimum ~
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
11 May 2013 02:18 PM
What prehistoricman said.
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
11 May 2013 02:20 PM
nvm got it to work

lightz = game:service("Lighting")
if true then
lightz:SetMinutesAfterMidnight(0)
for i = 1, 1440 do
lightz:SetMinutesAfterMidnight(lightz:GetMinutesAfterMidnight() + 0.1)
wait(1)
if i <= 720 then
Workspace.brickname.Spotlight.Brightness = 1
else
Workspace.brickname.Spotlight.Brightness = 0
end
end
end

--24*60 = 1440
--1440/2 = 720
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
11 May 2013 02:32 PM
You guys are just sad. :(

If somebody comes in here asking for minor help, we should redirect them, or, even better, help them and then redirect them.

Admit it, you really have nothing better to do. If you're posting troll posts, then you're perfectly capable of making a helpful one.

Be nicer, you dumbos. >:(

The Prime Jester of Scripters has spoken.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
11 May 2013 02:43 PM
You guys could have just told him Spotlight.Enabled, and THEN told him to get out.
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
11 May 2013 02:48 PM
@quenty the issue was compiling it with day/night, i know how to edit properties of different objects.
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
11 May 2013 03:40 PM
wowgnomes.... the name sounds familiar. did you run a group called viper productions or something?
Report Abuse
LearnToGrammar is not online. LearnToGrammar
Joined: 09 May 2013
Total Posts: 15
11 May 2013 04:55 PM
@asum We are just annoyed at people asking simple questions…
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
11 May 2013 04:58 PM
It's tring...
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