Random module i made

dear god this module is terrible
do Not use this for any projects because this is god awful
it works i guess but uh
yeah

it uh recreates the flash effect from like uh
mugen games like man of 7 shingles or something


the module makes something similar like that and uh

also heres how it looks


expect a bunch of bugs and uh
i just made this in like 10 minutes or so (i might update this)
i just released it because i felt like releasing it
maybe somebody might have a use for this or smth idk
yell at me if u want this is terribly made

types:

  • default
  • tweened
  • fadeout
  • fadeoutflash

ALSO PLEASE NOTE!!! THIS PROBABLY WONT WORK WITH UNIONS AND MESHPARTS!!!
(added support for unions and probably meshparts idk)

god this is terrible

also you can change the color of the effect so YEAH

Sir i think you are a time treveler


TS cant be real bro :wilted_flower:
also what the point of having to index .Flash if you can just return this function instead?

Yeah be careful bro some people in this forum may attack you very hard if you are a begginer developer; I recomend you to lock in on reading roblox docs to know all up to date features.
Also know that for this effect you probably should bind it to RunService to not make this affect being unknown ammount of time
RN i suggest you to read task library task | Documentation - Roblox Creator Hub

5 Likes

i dont have any experience with modules and stuff i just released this for fun bruv

Module script works like a function but caches result

So if you require a module script, it will run as a function WHEN YOU REQUIRE IT FOR THE FIRST TIME.
And every next time you require it, it will return a “cached” result.

There’s a lot of bad practice in your code. I recommend you creating a topic in Scripting Support to get more feedback on your code.

I recommend you defining every TweenInfo at the top of your module, using the task library (task.wait), using loops when possible and also instead of passing a “effecttype” variable, simply create more public methods in your module like

.FlashTween
.Flash
(etc)

If all the methods use the same starter code, create a local function which can be called inside of each public method, this is what is usually done to keep the code clean.

Also define all the services you use at the top, its useful to know (such as Debris, TweenService)

Resource for module scripts: Intro to module scripts | Documentation - Roblox Creator Hub.

Generally speaking I like the visual effect you’ve created, looks very retro, great work. I know you’ve made this module for fun so take the feedback as a grain of salt!