How would I be able to make the “Figure” dude from the game Doors that can’t see you but can only hear you?
I haven’t played doors but from that description it sounds like all you’d need is to automatically check for when a sound is created (such as with collectionservice), then automatically add the Played connection to them that checks for whether an enemy is close enough in comparison to the sound’s fall off distance.
sound.Played:Connect(function()
if (monster.PrimaryPart.Position - sound.Parent.Position).Magnitude < sound.RollOffMaxDistance then
-- fire an event or something to alert the monster about a sound being played in audible distance
end
end)
1 Like