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

Do you need X,Y and Z values for positioning? [SOLVED]

Asked by 4 years ago
Edited 4 years ago

So I am editing a script and it works just fine, but I want to know if you can just put:

fakecart.Position = Tool.BulletSpawn.Position

instead of:

fakecart.Position = Vector3.new(Tool.BulletSpawn.Position.X,Tool.BulletSpawn.Position.Y,Tool.BulletSpawn.Position.Z)

Would the first option work or do I have to use the second?

1
First option should work as it is a Vector3 as well. M39a9am3R 3210 — 4y
0
why didnt you post this as an answer lol speedyfox66 237 — 4y
1
If solved put [SOLVED] in title. yHasteeD 1819 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

m39a9am3r's explanation: "First option should work as it is a Vector3 as well." - marked as solved.

Ad

Answer this question