Setup
All you need to do for refx to work is to register the folder where you will be storing effects on client using
an exported function Register()
and call Start()
right after.
note
You can register multiple folders.
- Luau
- TypeScript
client.lua
local refx = require(path.to.refx)
refx.Register(game.ReplicatedStorage.effects)
refx.Start()
client.ts
import { Register, Start } from "@rbxts/refx";
Register(game.ReplicatedStorage.effects)
Start()