So i'm trying to make a model teleport to certain coordinates, but the problem is i need it to duplicate. Instead of just teleporting the same model each time i need it to teleport a new model with the same contents.
My code so far:
Case = game.ServerStorage.Case:Clone()
Case.Parent = game.Workspace
function onClicked(Part)
Case:SetPrimaryPartCFrame(CFrame.new(99, 2.5, 55.5))
game.Players.LocalPlayer.Backpack.Case:Destroy()
end
script.Parent.ClickDetector.MouseClick:connect (onClicked)
What it currently Does: https://gyazo.com/aa821d1c24f168dd0b062dc8353bdd0f
So i need it to do what it currently does except instead of teleporting the same model back i want it to make a new model with the same contents and teleport it.
I tried to word this as best i could.
