Is there any script that can make a brick glow?

xivyn
Joined 07/05/2021
Posts 1,005
04:57 PM 23/03/2022
Just asking


[Pie] Piero
Joined 19/02/2020
Posts 1,296
01:14 PM 24/03/2022
Sorta you can change a brick's lighting with setLightRange and setLightColor.


[RWB] MixaMega
Joined 23/12/2019
Posts 435
Moderator
11:08 PM 26/03/2022
world.bricks.filter(brick => brick.name?.startsWith("light")).forEach(brick => { //light 5
brick.lightEnabled = true
brick.lightRange = brick.name.slice(6)
brick.lightColor = brick.color
})

1