I have a developer product that should make 50 Robux fall into a certain area but I don’t want to write :clone() 50 times, is there any other way I can do this? I’d like them to fall one by one.
for i = 1, 50 do
something:Clone()
end
Replace “something” with the desired part/model you wish to clone.
you should try
> for i = 1, 50 do
> wait(0.5)
> local Robux = game.ReplicatedStorage.Robux:Clone()
> Robux.Parent = workspace.Ignore
> end
Change Robux.Parent to whater u want the robux to clone
And change the robux local to the rute of ur model or robux part.
For some reason, I don’t see them appear in the position of the part it should fall from. Also there’s only one Robux that appeared in a random area nowhere near the part it should fall from.
Make sure the original robux part it’s in the center also if u wanna make a spawn part for the robux you only have to add this line of code inside the for i function:
Robux.CFrame = workspace.Spawn.CFrame
Change workspace.Spawn to wathever you spawn part it’s called, the same thing with the route.
Edit: i made a mistake take the robux local inside the for i function