Aim Alert Detector

Description
🌸 What this script is:
This is a GUI-based aim alert detector created by korpsebunny / thindoll. It shows a red warning popup on your screen whenever another player is aiming directly at you, helping you stay aware of threats with a simple, clear interface.
I USED CHATGPT FOR HELP
🧠 Main Features:
Aim Detection: Checks if any other player is looking toward your character within a 20° angle and 100 studs distance.
Player Names: Displays the names of all players currently aiming at you in the warning UI.
Warning UI: A red, easy-to-see text label that pops up at the top center of your screen when you're being targeted.
Continuous Monitoring: Runs every frame to keep you instantly informed of nearby threats.
💻 How it Works:
Loops through all other players in the game.
Uses their character’s facing direction (HumanoidRootPart LookVector) to approximate if they’re aiming at you.
Checks angle and distance to filter realistic aiming scenarios.
If detected, the UI becomes visible and shows who is aiming at you.
UI hides automatically when no one is aiming at you.
🔐 Safety Notes:
Script runs client-side only.
Works best in games where aiming direction correlates with character facing.
Cannot detect mouse aiming perfectly due to Roblox limitations; it uses a best-guess method.
💖 Made By:
korpsebunny (Me)
🌸 Please do not re-upload or redistribute without credit.







Comments
id reccomend claude.ai (sonnet 4) or google gemini 2.5 Pro while coding both have daily limits but seem to be better than chatgpt