Flickering Part does not flicker when using a "math.random" value

Hello, I have been wondering how to fix an issue with one of my games’ boss attacks regarding a spinning beam attack. I need it to rapidly flicker at random to give a more natural result. I have recorded the issue. It works without the math.random. (POSSIBLE SEIZURE WARNING)

Use random.new, and have the task.wait also be random from a very small to somewhat larger values, and maybe increase the range from 1-2 to 1-10, using 10 ranges of brightness.

Random.new doesn’t work either.

Neon always glows, try changing the material from smooth plastic to neon and repeat that.

Use local random = Random.new() and set the transparency to random:NextNumber(0, 1)

Glad I could help again, good luck on your game and have a nice day!

You too! If you want to play, the link is here: PROCEDURAL SLINGSHOT OF THE CORNUCOPIA - Roblox

We’re working on the next big update for it!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.