Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make ambient work from the touch of a brick?

Asked by 6 years ago

function onTouch(part)

game.Lighting.Ambient=Color3.new(255/255, 0/255, 0/255)
wait(5)
game.Lighting.Ambient=Color3.new(127.5/255, 127.5/255, 127.5/255)

end

script.Parent.Touched:connect(onTouch)

That's the code

0
why tf isn't it posting the whole code DuckMaster11211 13 — 6y
0
use :Connect() :connect() is depricatedis this a serverscript or localscript? Sergiomontani10 236 — 6y
0
serverscript, tysm DuckMaster11211 13 — 6y

Answer this question