Is it possible to remove all particle emitters from roblox hats

Is it possible to remove any particle emitters from an accessory, I have a problem in first person where a player can’t see anything if they have a particle emitter hat, Like a crown


Is it possible to delete it?

1 Like

So I guess that is a game you made, if it is you can insert this script in serverscriptservice, ( if you want that all players cant see particles in the hat )

local PlayersService = game:GetService("Players")

PlayersService.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		for i, particle : Instance in pairs(character:GetDescendants()) do
			if particle:IsA("ParticleEmitter") then
				particle:Destroy()
			end
		end
	end)
end)

but if you want it to just disappear for the local player, insert this script in starter character scripts,

local PlayersService = game:GetService("Players")
local player = PlayersService.LocalPlayer
local character = player.Character or player.CharacterAdded

for i, particle : Instance in pairs(character:GetDescendants()) do
	if particle:IsA("ParticleEmitter") then
			particle:Destroy()
	end
end

2 Likes

Thank you! I made my own version of this script myself

wait(1)

local player = game.Players.LocalPlayer

for _, prox in ipairs(player.Character:GetChildren())  do
	if prox:IsA("Accessory") then
		for _, handle in ipairs(prox:GetChildren())  do
			if handle:IsA("Part") or handle:IsA("MeshPart") then
				for _, attach in ipairs(handle:GetChildren()) do
					if attach:IsA("Attachment") then
						for _, partical in ipairs(attach:GetChildren()) do
							if partical:IsA("ParticleEmitter") then
								partical:Destroy()
							end
						end
 					end
				end
			end
		end
	end
end

Its very long, But it works, Thanks for your feedback!

2 Likes

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