Problem with Particles

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.


Any help is appreciated.

1 Like

Did you try checking if changing the texture works?
Add a default particle emitter to it and see if that works.

3 Likes

Does your particle emitter have any interactions with a script ?

3 Likes

All i’m doing is i’m emitting the Particle that’s inside of a part…
All my other particles work, except this one.

I tried, it’s not the texture unfortunately.
I’ve already looked deep into this subject, but still can’t find.

1 Like

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.

Maybe because you’re only emiting one ? If you try to emit like 20 do you still don’t see it ?

2 Likes

no, it doesn’t have anything with the particle. It’s a script bug.
It works on the Server, but just not on the Client.
That’s why I gave you the code

I do appreciate the fact to you’re trying to help tho!

Could you try copying the script into a new place as well as the particle, and try replicating it there?

1 Like

Nvm, I finally figured it out. Thanks for helping tho.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.