FXModule
Quick & easy full screen effectsDemonstration:
Glitch Effect Demo (sry for 480p)
Setup:
-
Open a new script in ServerScriptService
-
Require the module:
local FXModule = require(6155196906)
- Use one of the methods listed below
Methods:
FXModule:Glitch(Player, Time)
Player
- Can be a UserId, player Name, or a player Instance. If nil
, this defaults to all players.
Time
- Amount of time the glitch effect is shown. If nil
, this defaults to 1
second.
FXModule:FadeBlack(Player, FadeTime, Time)
Player
- Can be a UserId, player Name, or a player Instance. If nil
, this defaults to all players.
FadeTime
- Amount of time the dark screen effect takes to fade in/out. If nil
, this defaults to 0.5
seconds.
Time
- Amount of time the dark screen effect is shown. If nil
, this defaults to 1
second.
FXModule:FadeWhite(Player, FadeTime, Time)
Player
- Can be a UserId, player Name, or a player Instance. If nil
, this defaults to all players.
FadeTime
- Amount of time the light screen effect takes to fade in/out. If nil
, this defaults to 0.5
seconds.
Time
- Amount of time the light screen effect is shown. If nil
, this defaults to 1
second.
Idea Contributors
@R0bl0x10501050 - Glitch, FadeBlack, FadeWhite
Github
There is now a Github repository of the source code!
Conclusion
Thanks for stopping by to read this! If you have any ideas for more effects, just PM me with this copy-and-paste format (your username will be in contributions if you choose to):
## Idea
(Idea here)
I (do/do not) want my username in the contributions.
Enjoy!
Edit Log:
1m - Added this
6m - Altered Contributors tab
12m - Added Github
16m - Fixed AssetId
23m - Fixed icon after system altered it
24m - Fixed icon again