DantopiaJoin Date: 2012-07-25 Post Count: 15711 |
[ Content Deleted ] |
|
DevoiJoin Date: 2013-06-09 Post Count: 5387 |
its a really small script so
[insert gui button path here].MouseButton1Down:connect(function() game.Lighting.GlobalShadows=not game.Lighting.GlobalShadows end) |
|
DantopiaJoin Date: 2012-07-25 Post Count: 15711 |
[ Content Deleted ] |
|
DantopiaJoin Date: 2012-07-25 Post Count: 15711 |
[ Content Deleted ] |
|
DantopiaJoin Date: 2012-07-25 Post Count: 15711 |
[ Content Deleted ] |
|
MettaurSpJoin Date: 2010-03-20 Post Count: 3179 |
script.Parent.MouseButton1Down:connect(function()
game.Lighting.GlobalShadows = not game.Lighting.GlobalShadows
end)
--Removed some clutter in this one. |
|
MettaurSpJoin Date: 2010-03-20 Post Count: 3179 |
Which what I posted was basically the same as the one two or three posts above mine, just different handing for what to attach it to. |
|
DantopiaJoin Date: 2012-07-25 Post Count: 15711 |
[ Content Deleted ] |
|
|
function onClick()
game.Lighting.GlobalShadows = false
Instance.new("Message",Workspace).Text = "Next time go to Scripting Helpers."
end
script.Parent.MouseButton1Down:connect(onClicked)
--ROBLOX is case sensitive. |
|
|
The global shadows property is boolean. |
|
EverestyJoin Date: 2009-10-08 Post Count: 6156 |
@fluff
>onClick
>onClicked |
|
cntkillmeJoin Date: 2008-04-07 Post Count: 49450 |
ROBLOX is not case-sensitive
see, look:
robLOX.com
rObLOx.com
ROBlox.com
hehehe umad |
|
|
imad
RBLX.Lua is case sensitive* |
|
DantopiaJoin Date: 2012-07-25 Post Count: 15711 |
[ Content Deleted ] |
|