how to deal with alot of particles i have tons of particles that i need to put inside the players limbs but moving each particle and cloning one by one is excessive so how would i do it in one action?

group them in a folder and then move that folder via script
do i just use get children? or somthing
no just group all your particle to a folder and then move the folder
Folder.Parent = Character.smt
and all the children withen the folder will be moved automatically with the folder
yeah but i have to clone them all not just do it once
unless u can clone folders or somthin
if you cloned the folder folder children will get cloned too
you can do smt like this
local Folder = workspace.Folder
local FolderClone = Folder:Clone()
FolderClone.Parent = workspace
and the folder childrens will get cloned and moved too its as simple as that
doesn’t work particles inside folder doesn’t make them show
ok i was wrong about that sorry you can do :GetChildren with a for loop
try this:
function urfunc(pts)
for _,object in pairs(pts:GetChildren()) do
urfunc(object)
if object:IsA("ParticleEmmiter") then
object:Destroy()
end
end
end
urfunc(script.Parent)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
