How can I make when I equip a tool a part becomes a child of the character. For more context, I would like when I equip a tool the particle emitter becomes a child of my left hand.
I don’t know about scripting tools, so this isnt the best way to make it, but see if this works
local PE = particle emitter path or instance.new
local char = game.Players.LocalPlayer.Character
while true do
wait()
if char:FindFirstChild(tool name) then
if char.LeftHand:FindFirstChild(particle emitter name) then
else
PE.Parent = char.LeftHand
end
else
if char.LeftHand:FindFirstChild(particle emitter name) then
PE:Destroy()
end
end
end
Ok thank you I will try it out
I found an error, try use the new script (I edited the other)
Ok

Instead of constantly checking if the tool is parented to the character, just use the Equipped and Unequipped events of a tool.
Thats why I said this, I know this commands but I never used then so, i don’t know if I should said this if I don’t know the result.
local PE = game.ServerStorage.Apprentice
local char = game.Players.LocalPlayer.Character
while true do
wait()
if char:FindFirstChild("TryOn") then
if char.LeftHand:FindFirstChild("Apprentice") then
else
PE.Parent = char.LeftHand
end
else
if char.LeftHand:FindFirstChild("Apprentice") then
PE:Destroy()
end
end
end
Is that how It should be?
yea, see if the script works fine.
Ok I will try

It does not work but I have a script to put it in
script.Parent.Equipped:Connect(function()
end)
script.Parent.Unequipped:Connect(function()
end)
ok, so try it and see if works
I was thinking I could make it like when the tool is equipped the part would become a child of the players left hand but I dont know how to clone it and make it a child
like…
particleemitter:Clone()
particleemitter.Parent = char.LeftHand
ok thanks for helping I will try it
Ok so when the player unequips the tool I can just say
particleemitter:destroy()
Yea, this will delete the particles
But make sure to say again wheres the particles to the script
ok
