|
| 22 Mar 2015 06:32 PM |
i need a script that makes a surface gui turn on and off a light
ILimitedSteel |
|
|
| Report Abuse |
|
|
| |
|
K7Q
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
|
| 22 Mar 2015 07:53 PM |
gui = true ShopEnabled = false mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(key) if key == "q" then if ShopEnabled == false then script.Parent.Visible = true wait() game.Lighting.Ambient = Color3.new(40/255,40/255,40/255) script.Parent.Sound:Play() elseif ShopEnabled == true then script.Parent.Visible = false wait() game.Lighting.Ambient = Color3.new(0/255,0/255,0/255) script.Parent.Sound:Play() ShopEnabled = false end end end) end Asd = false.RemStorage() |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 26 Mar 2015 06:38 PM |
The fact that you cannot script this yourself... is just... sad here:
http://wiki.roblox.com/index.php?title=API:Class/Lighting http://wiki.roblox.com/index.php?title=API:Class/SurfaceGui
Use those, and make it yourself. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2015 06:45 PM |
I fail to see how it "... is just... sad". It sure is sad that you don't know how to solve the halting problem, SummerEquinox. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2015 07:00 PM |
SummerEquinox, you are just so . . . sad!
Learn how to uses ellipses you fool! |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2015 07:26 PM |
| its not my fault idk how to script so stawp hatin ;c |
|
|
| Report Abuse |
|
|