Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why won't this put particles inside the Player's torso when they join?

This is a localscript inside starterpack. I want the particles I have in ServerStorage to be cloned into the player. I get no error but it won't make them appear.

local player = game.Players.LocalPlayer

game.Players.PlayerAdded:connect(function()
	local newParticle = game.ServerStorage.ParticleEmitter:Clone()
	newParticle.Parent = player.Torso
end)

3 comments

0

Do you have FilteringEnabled on?

0

I will check

0

No. I dont

1 answer

✓ Accepted answer

Your problem:

LocalPlayer is a player object, not a model. To get the character:

repeat wait() until player.Character
local torso = player.Character:WaitForChild("Torso")

This discussion is preserved as it was. New answers, comments, and votes are closed.