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

I have a problem with script.Parent.Position ?

Asked by 4 years ago

I have a problem. I want to use instance.new command to copy the part on script Parent position. But when i make the part have other position. (i only give the position Code)The code i use:

l.Position = Vector3.new(script.Parent.Position)

1 answer

Log in to vote
0
Answered by 4 years ago

The script.Parent.Position is already a Vector3 so change it to this

l.Position = script.Parent.Position

Hope that helped

Ad

Answer this question