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

How do i make a detection bar?

I am trying to make a stealth game, however, I do not know how to make a detection system, like a bar that goes up if a NPC sees you. Anyone know how to help?

1 comment

0

I would need to see some code first to help you

1 answer

welcome. you will want to look into raycasting to scan a field of view in front of the npc, and probably keep a value on the player along with a gui that updates when they get hit.

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