The problem is that I tried to make so if you already have one you can't have another one (Particle Emitter)..
Heres my script :
Part = script.Parent
Part.Touched:connect(function(hit) -- Use the touched event on a brick( hit refers to the part or brick that is hit by 'Part')
if hit.Parent:FindFirstChild('Humanoid') then -- If there is a humanoid it is more likely to be a player
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
if Player ~= nil then -- checks to see if the model or Parent is actually a player
for _, child in pairs(hit.Parent.UpperTorso:GetChildren()) do
if child:IsA("ParticleEmitter") then
else
local Fire = game.ServerStorage.Fire:Clone()
Fire.Parent = hit.Parent.UpperTorso
Fire.sound:Play()
hit.Parent.Humanoid.WalkSpeed = 30
end
Thanks for the help!

1 comment
Thanks for the answer~!