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: what am i doing wrong..

Previous Thread :: Next Thread 
vfdc1 is not online. vfdc1
Joined: 30 Jan 2010
Total Posts: 39
25 Jun 2015 08:21 PM
while true do
wait (1)
if (game.Lighting.FogStart == "0") then
(game.Lighting.FogStart = "100")
end
end

i got no clue what im doing wrong here.
Report Abuse
Ictis is not online. Ictis
Joined: 01 Sep 2011
Total Posts: 1216
25 Jun 2015 08:23 PM
game.Lighting.Changed:connect(function()
if game.Lighting.FogStart == 0 then
game.Lighting.FogStart = 100
end
end
Report Abuse
vfdc1 is not online. vfdc1
Joined: 30 Jan 2010
Total Posts: 39
25 Jun 2015 08:29 PM
facepalm, i needed a function
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