RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a handler script for vfx storage"
-- module script for handling vfx storage local VFXStorage = game:GetService("ReplicatedStorage").VFXStorage local module = {} function module.getVFX(name) local vfx = VFXStorage:FindFirstChild(name) if vfx then return vfx:Clone() else return nil end end function module.addVFX(name, vfx) if not VFXStorage:FindFirstChild(name) then vfx.Name = name vfx.Parent = VFXStorage end end return module