Im making a npc follow a player but it only shoots from the way the head is facing,
local origin = script.Parent.Head
-- how would I make this shoot all directions?
local ray = Ray.new(origin.Position, origin.CFrame.lookVector * DISTANCE)
Im making a npc follow a player but it only shoots from the way the head is facing,
local origin = script.Parent.Head
-- how would I make this shoot all directions?
local ray = Ray.new(origin.Position, origin.CFrame.lookVector * DISTANCE)