Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Copy a part's position?

Asked by 5 years ago

How to copy a part's position? why doesn't this code work?

part = script.Parent
A = workspace.A
A.Position = Vector3.new(part.Position)

1 answer

Log in to vote
0
Answered by
IcyMizu 122
5 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.
local part =  script.Parent
local A =  workspace.A
A.CFrame =  part.CFrame
0
Thanks.. FlonexVorry 28 — 5y
Ad

Answer this question