Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make CFrame so that I can duplicate multiple blocks?

So, I'm currently making a que line. Instead of: ~~~~~~~~~~~~~~~~~ hit.Parent.HumanoidRootPart.CFrame = CFrame.new(-26.3, 4.3, 116.3)

How do i make it so that instead of putting a position, I can just put a name of another block?

2 answers

✓ Accepted answer
hit.Parent.HumanoidRootPart.CFrame = CFrame.new(NameOfAnotherBlock.Position) 

Hello, IPhoneDrew!

In your script, you can just use OtherBlock.CFrame

Example:

hit.Parent.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.OtherPart.CFrame) 

This will aways work(Will rotate the player too)

Good Luck with your games!

This discussion is preserved as it was. New answers, comments, and votes are closed.