-- Script in game.Workspace.Cake.smallCake
while true do
wait(6)
local SmallCake = script.Parent
local clonedSmall = SmallCake:Clone()
local clonedSmall2 = SmallCake:Clone()
local clonedSmall3 = SmallCake:Clone()
local clonedSmall4 = SmallCake:Clone()
local duplicated0 = clonedSmall:FindFirstChild("Script")
duplicated0:Destroy()
local duplicated1 = clonedSmall2:FindFirstChild("Script")
duplicated1:Destroy()
local duplicated2 = clonedSmall3:FindFirstChild("Script")
duplicated2:Destroy()
local duplicated3 = clonedSmall4:FindFirstChild("Script")
duplicated3:Destroy()
clonedSmall.Parent = game.Workspace.Cake.ClonedObjects
clonedSmall.Position = Vector3.new(266.242, 831.029, -230.982)
clonedSmall2.Parent = game.Workspace.Cake.ClonedObjects
clonedSmall2.Position = Vector3.new(266.242, 831.029, -230.982)
clonedSmall3.Parent = game.Workspace.Cake.ClonedObjects
clonedSmall3.Position = Vector3.new(266.242, 831.029, -230.982)
clonedSmall4.Parent = game.Workspace.Cake.ClonedObjects
clonedSmall4.Position = Vector3.new(266.242, 831.029, -230.982)
end
This is a script I made. This script is inside a part that has a mesh and other welds. So it will basicly clone itself and get rid of the script to prevent the other scripts to run. This script just worked fine on the bigCake but doesn't work here. Help me!

3 comments
Did you anchor the cake?
is the
SmallCakea Model or Part? Run the script and check workspace to see if the cakes spawned.Did you parent the cakes?