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

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

Asked by 2 years ago

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

Log in to vote
1
Answered by 2 years ago

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
0
this makes it wander around now how do i detect sound and make it walk to the sound kubapro213748 -13 — 2y
Ad

Answer this question