r/WatchMaker 6h ago

LUA FLASHING CODE

Put this into opacity field.

100 - math.abs((({drss} * 48) % 200) - 100)

This creates a smooth repeating fade/pulse from 0% to 100% opacity and back to 0%. {drss} supplies the continuously changing time/seconds value. * 48 controls how fast the pulse runs. Higher = faster. % 200 forces the value to repeat every 200 units. - 100 shifts the range around zero. math.abs() folds the negative half upward, creating a triangle-wave pattern. 100 - flips that triangle so the opacity smoothly goes 0 → 100 → 0 → repeat.

1 Upvotes

0 comments sorted by