Paste something into multiple objects

This is something I am in really bad need of :frowning:

I have a ParticleEmitter selected and I want to paste it into all these parts but I can’t at the same time so I have to go through manually one by one

1 Like

With this kind of system, it’s better to either make one script that manages all the parts, or make a script that pastes it into all the parts at runtime, It’s really bad to have dozens of the same script everywhere, what if you want to make a change?

Now, for other reasons it would be nice to have a multi-paste-into, but please avoid doing this with scripts xD

[quote] With this kind of system, it’s better to either make one script that manages all the parts, or make a script that pastes it into all the parts at runtime, It’s really bad to have dozens of the same script everywhere, what if you want to make a change?

Now, for other reasons it would be nice to have a multi-paste-into, but please avoid doing this with scripts xD [/quote]
Ooops I meant ParticleEmitter :oops:

1 Like

This would be really neat.

In the meantime, you could do what I do. ^^;;

local selection = game.Selection:Get()
local copy = selection[#selection]
for _,v in ipairs(selection) do
if v ~= copy then
copy:clone().Parent = v
end
end
copy:remove() --optional

Takes the last selected object and puts a clone of it into each of the objects before it.

2 Likes