Answered by
8 years ago Edited 8 years ago
Okay lets see what you want because you cant really have 1 part in two different places though we have a better option we can make it so they are basically in two different places just really super fast .Another option is cloning and then putting them in two differnet places.
Though this is probably all complicated for you since you are new so lets start of with CFrame
CFrame is basically Position,but better CFrame takes Rotation as well as the Position and also just doesn't go through objects like Position.So to use CFrame well there is a lot of CFrame so here's the wiki http://wiki.roblox.com/index.php?title=CFrame anyways ill talk about CFrame and CFrame.new basically if you do a simple script like
1 | Part.CFrame = suchandsuch.CFrame |
You are simply getting another CFrame and changing the current CFrame to that CFrame.new is simply making a new CFrame so
1 | Part.CFrame = CFrame.new(x,y,z) |
Anyways know you know CFrame lets get started on with the cloning method since that is easier ish.
before i do this ill give a brief explanation of functions basically they have information and they stop copy and pasting.
02 | local c = game.Workspace.Part:Clone() |
04 | c.Parent = game.workspace |
05 | c.CFrame = CFrame.new(x,y,z) |
06 | game.Workspace.Part.CFrame = CFrame.new(x,y,z) |
Okay this is one way to do and probably the best i don't recommend using the next one
A brief explanation on loops loops repeat information untill something is met/not met the repeat function well you can probably guess what it does it repeats information until something is true
3 | game.Workspace.Part.CFrame = CFrame.new(x,y,z) |
4 | game.Workspace.Part.CFrame = CFrame.new(x,y,z) |
9 | until (put some information here like)game.Workspace.Part.Anchored = = true |
I hope i helped , farrizbb signing out.