Hello, so i’ve been stuck on this for a while now and there is no way I can find the solution. Which is why i’m making this post again.
So here’s the issue:
I have a ParticleEmitter than for some reason doesn’t show on the Server.
Idk why.
I tried changing the StreamingEnabled distance and stuff, but it did not fix it.
Also, please try to help me, because i’ve been SUFFERING from this issue for a while now.
Btw I added a note to where i’m emitting the particle (so you don’t get lost in this mess haha)
Script
combatModule.PlayAnimation(humanoid, skillConfig:WaitForChild("AnimationID").Value)
local sound = sounds:WaitForChild(skillName):Clone()
sound.Parent = humanoidRootPart
sound:Play()
local hitbox = Instance.new("Part", vfx)
game:GetService("Debris"):AddItem(hitbox, 1)
hitbox.Transparency = 1
hitbox.Size = Vector3.new(24,3,24)
hitbox.Position = mousePosition
hitbox.Anchored = false
hitbox.CanCollide = false
hitbox.Touched:Connect(function(hit)
if hit.Parent.Name == character.Name then return end
if hit.Parent:FindFirstChild("Humanoid") and hit.Parent:WaitForChild("Shield").Value == false then
if table.find(hits, hit.Parent) then return
else
hitbox:Destroy()
table.insert(hits, hit.Parent)
combatModule.Hit(player, hit, sounds:WaitForChild("Hit"), values:WaitForChild("DefaultDamage").Value * skillConfig:WaitForChild("DamageMulti").Value)
combatModule.Stun(hit.Parent, 2.5)
task.spawn(function()
for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
v:Stop()
end
--[[ This is where I clone, then put the model in the workspace.
And the particle is inside the model. And that's the particle
that won't show on the Client
]]
local root = spells:WaitForChild("Root"):Clone()
local particle = root:WaitForChild("PrimaryPart"):WaitForChild("Effects"):WaitForChild("ParticleEmitter")
game:GetService("Debris"):AddItem(root, 3)
root.Parent = vfx
particle:Emit(1)
ts:Create(root:WaitForChild("Root"), TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Transparency = 0, Orientation = root:WaitForChild("Root").Orientation + Vector3.new(0,400,0)}):Play()
hit.Parent:WaitForChild("HumanoidRootPart").Anchored = true
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
task.spawn(function()
wait(0.1)
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
wait(0.1)
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
wait(0.1)
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
wait(0.1)
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
wait(0.1)
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
end)
wait(2.5)
root:SetPrimaryPartCFrame(hit.Parent:WaitForChild("HumanoidRootPart").CFrame)
ts:Create(root:WaitForChild("Root"), TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Transparency = 1, Orientation = root:WaitForChild("Root").Orientation + Vector3.new(0,-400,0)}):Play()
hit.Parent:WaitForChild("HumanoidRootPart").Anchored = false
end)
end
end
end)
Note: I tried every single StreamingMode of the Model, none of them worked.