My particle is getting cut off every 2 times i activate it, what could possibly be the reason to this??
It used to work back then until I tried to add a blood particle, this experienced the same issue and for some reason it affected the past ones?
As you can see in the video the attachment is there and is being created but for some reason it doesn’t emit and looks like it gets cut off
local partiPlayer = {}
function partiPlayer:PlayParticle(asset, cframe, emit)
local attachment = Instance.new("Attachment")
attachment.Parent = workspace
attachment.CFrame = cframe
local particle : ParticleEmitter = asset:Clone()
particle.Parent = attachment
particle:Emit(emit)
game:GetService("Debris"):AddItem(attachment, 5)
end
return partiPlayer
function swordVFX.parryStart(character)
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
soundPlayer:playSound(character, soundPlayer.soundList.Classes.Swordmaster.SwordParry.startup)
partiPlayer:PlayParticle(game.ReplicatedStorage.Assets.VFX.star, humanoidRootPart.CFrame, 2)
end