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

Spawning something 10 points in front of npc?

Asked by
Ribasu 127
6 years ago

I have an NPC/player that's constantly moving and I want to spawn something (a brick) in front of their current location. By in front, I mean the direction that the NPC/player is facing.

0
You can use the look vector of the toros Cframe though there are other ways of doing this. User#5423 17 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

:What you could do is weld a part in front of the npc and tell the brick to spawn in the location of the part.

Ad

Answer this question