how do I get a script to teleport the copied model to a random location? I want the script to get the copied model and put the model into a random location. Still isn't working
local original = script.Parent.Parent
-- Create the model copy
local copy = original:Clone()
-- Parent the copy to the same parent as the original
copy.Parent = original.Parent
-- Move the copy so it's not overlapping the original
copy:SetPrimaryPartCFrame(CFrame.new(math.random(1,2000000), math.random(1,20), math.random(1,200)))
script.Parent:Destroy()
end
end)
please answer

5 comments
what are your ends for? remove those and I THINK everything else is ok unless I missed something
2 million is a lot, are you sure it isn't just moving the part to where you can't see it?
It's probally as the person above says, one note; you set the "original" to script.Parent.Parent and in the end you only destroy script.Parent(a part of the model, not the whole model), Not sure if this is intentional
I want it to be see able but i just want to show an example
what do you mean by end