function VfxModule.CreateParryVfx(character)
if not character then return end
local torso = character:FindFirstChild("HumanoidRootPart")
or character:FindFirstChild("UpperTorso")
or character:FindFirstChild("Torso")
if not torso then return end
local template = game.ReplicatedStorage.vfx:FindFirstChild("ParryVfx")
if not template then return end
local vfx = template:Clone()
vfx.Parent = torso
if vfx:IsA("Attachment") then
vfx.Position = Vector3.new(0,0,0)
end
for _, obj in ipairs(vfx:GetDescendants()) do
if obj:IsA("ParticleEmitter") then
obj:Emit(75)
end
end
game.Debris:AddItem(vfx, 0.7)
end
return VfxModule ```