R0bl0x10501050 / FXModule

Source code of FXModule

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FXModule-Icon

FXModule

Quick & easy full screen effects

Demonstration:

Glitch Effect Demo (sry for 480p)

Setup:

  1. Open a new script in ServerScriptService

  2. Require the module:

local FXModule = require(6151203342)
  1. 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

Conclusion

Thanks for stopping by to read this! If you have any ideas for more effects, just PM me on the devforum 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! 😄

About

Source code of FXModule


Languages

Language:Lua 100.0%