Universal Script 📌
775 Views
60 Executions

Check who is seeing you

Universal Script 📌
jjbomb
jjbombFirst script
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

This is just a simple script I made to check if anybody is looking at you

View Raw
-- Player Vision Detection System
-- Detects when other players can see you (no walls blocking)

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

-- Configuration
local FOV_ANGLE = 90 -- Field of view in degrees (half angle, so total is 180°)
local MAX_VISION_DISTANCE = 100 -- Maximum distance they can see
local SCAN_INTERVAL = 0.1 -- How often to check (seconds)
local VISUALIZE = true -- Show debug visualization

-- Convert degrees to radians
local FOV_RADIANS = math.rad(FOV_ANGLE)

-- Store players who can currently see you
local playersWhoSeeYou = {}

-- Create GUI for displaying who sees you
local function createGUI()
	local screenGui = Instance.new("ScreenGui")
	screenGui.Name = "VisionDetectorGUI"
	screenGui.ResetOnSpawn = false
	screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
	
	local frame = Instance.new("Frame")
	frame.Size = UDim2.new(0, 250, 0, 300)
	frame.Position = UDim2.new(1, -260, 0, 10)
	frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
	frame.BackgroundTransparency = 0.3
	frame.BorderSizePixel = 0
	frame.Parent = screenGui
	
	local corner = Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, 8)
	corner.Parent = frame
	
	local title = Instance.new("TextLabel")
	title.Size = UDim2.new(1, -20, 0, 30)


Comments

4
Log in to join the conversation. Login
vxsty's profile picture
vxstyOG
OG
OG: invite only, given by Thunder Mods
Verified Badge
Verified User
Hall of Fame1 year ago

"I made" 💔💔

1
Xeryt's profile picture
Xeryt1 year ago

@vxsty *ai made*

1
zivoria's profile picture
zivoria1 year ago

This just checks if they are facing you, not looking at you.

1
zivoria's profile picture
zivoria1 year ago

AI

1

More universal scripts

See all
Universal Script 📌
31
0
Approved 44 minutes ago
Universal Script 📌
16.1k
103.2k
Bumped 2 hours ago
Key System
Script hub
119.9k
201.4k
Bumped 7 hours ago
Key System
Universal Script 📌
2.7M
2.6M
Bumped 7 hours ago
Script hub
49.7k
135.6k
Bumped 9 hours ago
Key System