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 » Scripting Helpers
Home Search
 

Re: Anyone know what's wrong?

Previous Thread :: Next Thread 
jaredmai is not online. jaredmai
Joined: 08 Sep 2011
Total Posts: 395
19 Feb 2014 08:59 PM
Here's the script... No errors but doesn't change any of the values

function OnClick()
if game.Workspace.PlayerIntro.Value == false then
wait(5)
game.Workspace.Computer.Screen.Light.Brightness=0
wait(.5)
game.Workspace.Computer.Screen.Light.Brightness=60
wait(.5)
game.Workspace.Computer.Screen.Light.Brightness=0
wait(.5)
game.Workspace.Computer.Screen.Light.Brightness=60
wait(.5)
game.Workspace.Computer.Screen.Light.Brightness=0
wait(.5)
game.Workspace.Computer.Screen.Image.Transparency=1
wait(2)
end
end

script.Parent.MouseButton1Click:connect(OnClick)
Report Abuse
jaredmai is not online. jaredmai
Joined: 08 Sep 2011
Total Posts: 395
19 Feb 2014 09:11 PM
Bump
Report Abuse
Azirux is not online. Azirux
Joined: 18 Feb 2014
Total Posts: 232
19 Feb 2014 09:13 PM
It probably doesn't meet the if-conditions.
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
19 Feb 2014 09:15 PM
You can't put the brightness to 60.. So I dont think you can in a script And if you can i think it will just go to the highest it can. I think like 5-10
Report Abuse
Azirux is not online. Azirux
Joined: 18 Feb 2014
Total Posts: 232
19 Feb 2014 09:16 PM
No, it will just make it the max value if it goes over.
Report Abuse
Guest24231 is not online. Guest24231
Joined: 17 Jul 2011
Total Posts: 91
19 Feb 2014 09:17 PM
i agree wit az
the thing's value is probably true(or somethin else) dats y the script doesnt do nothin and doesnt error
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
19 Feb 2014 09:29 PM
.. Stop typing liek your 5..

Also I was just laying all the posibilities.. What if its a gltich? No one knows..
Report Abuse
jaredmai is not online. jaredmai
Joined: 08 Sep 2011
Total Posts: 395
19 Feb 2014 09:55 PM
I have already checked, the variable is false but this doesn't seem to work.
Report Abuse
jaredmai is not online. jaredmai
Joined: 08 Sep 2011
Total Posts: 395
19 Feb 2014 09:57 PM
And anyways the max value for Brightness on Dynamic lighting is 60
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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