how to do a monster on roblox vision
I’m not fully sure what “a monster on Roblox vision” means here, but the most likely interpretation is making a monster/NPC with eyesight or detection in Roblox Studio. A practical approach is to build the monster model, then add vision logic using raycasts or field-of-view checks so it can spot players when they’re in front of it and not blocked by walls.
How to set it up
- Create or import the monster model in Roblox Studio.
- Rig it so it has a proper root part and can move/animate.
- Add a script that checks:
- distance to the player,
- angle in front of the monster,
- line of sight using a raycast.
- When the player is detected, switch the monster into chase mode.
Simple vision logic
A common pattern is:
- Distance check: only scan players within a set range.
- Angle check: only detect players inside a cone in front of the monster.
- Raycast check: confirm nothing is blocking the view.
That matches the Roblox forum advice that line of sight needs raycasting, not just a dot-product or field-of-view test alone.
Basic example
Here’s the idea in plain English:
- Find the nearest player.
- Check whether they are in front of the monster.
- Raycast from the monster’s eye or head toward the player.
- If the ray hits the player first, the monster can “see” them.
A Roblox tutorial video also shows this workflow for making a custom monster and rigging it in Roblox Studio, which is the right foundation before adding AI vision.
Good practice
- Use an invisible “eye” part near the head for cleaner vision checks.
- Keep the scan loop modest so it does not lag the game.
- Add cooldowns so the monster does not flicker between idle and chase states.
- Test the monster in hallways, open spaces, and behind obstacles.
Short version
If your goal is a monster with vision , you want:
- a rigged monster,
- a detection radius,
- a field of view,
- and a raycast for line of sight.
TL;DR: Build the monster in Roblox Studio, then give it vision with range
- angle + raycast detection so it can spot players only when they are actually visible.