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

I want to make blind npc how do i do this?

So i wanted to make npc that is blind that npc would wander map on paths build by me or just randomly wander If npc hears something it would instantly go check that sound (Btw my npc will be custom rig idk that changes anything) I dont know really much about making ai

1 answer

You can use this

Script:

local Dummy = script.Parent
local humanoid = Dummy:WaitForChild("Humanoid")
while wait(1) do
	humanoid:MoveTo(Vector3.new(math.random(-100,100),0,math.random(-100,100)))
end

1 comment

0

this makes it wander around now how do i detect sound and make it walk to the sound

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