Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Spawning something 10 points in front of npc?

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.

1 comment

0

You can use the look vector of the toros Cframe though there are other ways of doing this.

1 answer

: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.

This discussion is preserved as it was. New answers, comments, and votes are closed.