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 5 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 — 5y
0
use :Connect() :connect() is depricatedis this a serverscript or localscript? Sergiomontani10 236 — 5y
0
serverscript, tysm DuckMaster11211 13 — 5y

Answer this question