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

Using a Vector3 Value for CFrame?

Asked by 8 years ago

Alright, so i'm trying to move something to a number specified in a Vector3 Value. (like, an inserted value, not a "value = ___" in a script)

Unit:SetPrimaryPartCFrame(SpawnPosition.Value) is the line, SpawnPosition being a Vector3 value.

It errors "Unable to cast Vector3 to CoordinateFrame"

Any help?

Primarypart, etc, has been set properly.

Answer this question