Universal Script πŸ“Œ
1.5k Views
677 Executions

crosshair roblox games

Universal Script πŸ“Œ
NPCNOk
NPCNOkPublished 25
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

look like cs2 style crosshair or idkkdndndmmxxkn is working others game that don't have crosshair

View Raw
-- CS2-Inspired LocalScript for Mobile Crosshair (Style 4, Size 2, Gap -3, Green, Thin, No Outline/Dot)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CS2CrosshairGui"
screenGui.Parent = PlayerGui
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true -- Full-screen center for mobile

-- Crosshair container (invisible, for centering)
local container = Instance.new("Frame")
container.Name = "CrosshairContainer"
container.Size = UDim2.new(0, 0, 0, 0)
container.AnchorPoint = Vector2.new(0.5, 0.5)
container.Position = UDim2.new(0.5, 0, 0.5, 0) -- Screen center
container.BackgroundTransparency = 1
container.Parent = screenGui

-- Horizontal arm (thin green line, full span for negative gap)
local horizontal = Instance.new("Frame")
horizontal.Name = "HorizontalArm"
horizontal.Size = UDim2.new(0, 20, 0, 1) -- 20px wide, 1px thick (small size 2 equivalent)
horizontal.Position = UDim2.new(-0.5, 0, -0.5, 0) -- Centered, crosses at middle
horizontal.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Green (RGB 0,255,0)
horizontal.BorderSizePixel = 0
horizontal.AnchorPoint = Vector2.new(0.5, 0.5)
horizontal.Parent = container

-- Vertical arm (thin green line, full span for negative gap)
local vertical = Instance.new("Frame")
vertical.Name = "VerticalArm"
vertical.Size = UDim2.new(0, 1, 0, 20) -- 1px wide, 20px tall
vertical.Position = UDim2.new(-0.5, 0, -0.5, 0) -- Centered, crosses at middle
vertical.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Green
vertical.BorderSizePixel = 0
vertical.AnchorPoint = Vector2.new(0.5, 0.5)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script πŸ“Œ
1.2k
7.5k
Bumped 6 minutes ago
Universal Script πŸ“Œ
15.2k
53.3k
Bumped 3 hours ago
Key System
Universal Script πŸ“Œ
1.8k
5.2k
Bumped 7 hours ago
Script hub
161.6k
1.5M
Bumped 14 hours ago
Key System

Script hub

#13 this week

Verified script badgeAirflow HUB