rblxscripts.net
search
/
homeHomelocal_fire_departmentScriptssports_esportsGameslibrary_booksHubsbuildExecutors & Tools
TermsPrivacyDiscordAPI
Β© 2026 rblxscripts.net
one tap test menu (No Key)
smartphone
Mobile Friendly
One Tapgroup12K playing

one tap test menu (No Key)

by
ethantinlove_145
55
Play
visibility4 viewsscheduleCreated 33 minutes ago
0
Play game
Swipe to scroll
--[[
	TestMenu - LocalScript for testing in your OWN game / Studio
	Put in: StarterPlayer > StarterPlayerScripts
	Works on any Model with a Humanoid (players + NPC dummies).
 
	Default keys (rebindable in the menu):
	  RightShift  = open / close menu
	  Right Mouse = hold to aim-lock
	  Q           = switch target while aiming
 
	Note: Roblox allows max ~31 Highlights at once, so ESP is capped by that.
]]
 
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local Workspace = game:GetService("Workspace")
 
local LP = Players.LocalPlayer
local Camera = Workspace.CurrentCamera
 
----------------------------------------------------------------
-- Settings
----------------------------------------------------------------
local S = {
	-- ESP
	ESP = true,
	Rainbow = false,
	Wallhack = true, -- ESP visible through walls
	ShowNames = true,
	ShowPlayers = true,
	ShowNPCs = true,
	ESPColor = Color3.fromRGB(255, 70, 70),
 
	-- Aim
	Aimlock = true,
	FOVEnabled = true,
	FOVRadius = 150,
	HardLock = true, -- camera is pinned to the target every frame (mouse can't pull it off)
	Smoothing = 30, -- only used when HardLock is off. 0 = instant snap, 95 = very slow
	WallCheck = false, -- aim only at targets with line of sight
	TargetPart = "Head",
	AimMode = "Hold", -- "Hold" or "Toggle"
 
	-- Movement
	WalkSpeedOn = false,
	WalkSpeed = 32,
 
	-- Keys
	AimKey = Enum.KeyCode.E,
	SwitchKey = Enum.KeyCode.Q,
	MenuKey = Enum.KeyCode.RightShift,
}
 
local COLOR_PRESETS = {
	Color3.fromRGB(255, 70, 70),
	Color3.fromRGB(70, 200, 255),
	Color3.fromRGB(90, 255, 120),
	Color3.fromRGB(255, 220, 70),
	Color3.fromRGB(255, 255, 255),
}
local colorIndex = 1
 
local ACCENT = Color3.fromRGB(125, 95, 255)
local BG = Color3.fromRGB(22, 22, 28)
local ROW = Color3.fromRGB(34, 34, 43)
local TEXT = Color3.fromRGB(235, 235, 245)
local SUBTEXT = Color3.fromRGB(150, 150, 170)
 
----------------------------------------------------------------
-- Helpers
----------------------------------------------------------------
local function rainbowColor()
	return Color3.fromHSV((os.clock() * 0.25) % 1, 1, 1)
end
 
local function getRoot(model)
	return model:FindFirstChild("HumanoidRootPart") or model.PrimaryPart or model:FindFirstChildWhichIsA("BasePart")
end
 
local function getAimPart(model)
	return model:FindFirstChild(S.TargetPart) or getRoot(model)
end
 
local function matches(input, key)
	return input.KeyCode == key or input.UserInputType == key
end
 
local function corner(obj, r)
	local c = Instance.new("UICorner")
	c.CornerRadius = UDim.new(0, r or 6)
	c.Parent = obj
	return c
end
 
----------------------------------------------------------------
-- Target registry + ESP objects
----------------------------------------------------------------
local targets = {} -- [model] = {hum, hl, bb, label, isPlayer, name}
 
local gui = Instance.new("ScreenGui")
gui.Name = "TestMenu"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.DisplayOrder = 100
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = LP:WaitForChild("PlayerGui")
 
local espFolder = Instance.new("Folder")
espFolder.Name = "ESPFolder"
espFolder.Parent = gui
 
local function createESP(model, hum)
	local root = getRoot(model)
	local player = Players:GetPlayerFromCharacter(model)
 
	local hl = Instance.new("Highlight")
	hl.Name = "TestESP"
	hl.FillTransparency = 0.65
	hl.OutlineTransparency = 0
	hl.Adornee = model
	hl.Enabled = false
	hl.Parent = model
 
	local bb = Instance.new("BillboardGui")
	bb.Size = UDim2.fromOffset(160, 34)
	bb.StudsOffset = Vector3.new(0, 3.2, 0)
	bb.AlwaysOnTop = true
	bb.Adornee = root
	bb.Enabled = false
	bb.Parent = espFolder
 
	local label = Instance.new("TextLabel")
	label.BackgroundTransparency = 1
	label.Size = UDim2.fromScale(1, 1)
	label.Font = Enum.Font.GothamBold
	label.TextSize = 13
	label.TextStrokeTransparency = 0.4
	label.TextColor3 = Color3.new(1, 1, 1)
	label.Parent = bb
 
	return {
		hum = hum,
		hl = hl,
		bb = bb,
		label = label,
		isPlayer = player ~= nil,
		name = player and player.DisplayName or model.Name,
	}
end
 
local function destroyESP(data)
	if data.hl then data.hl:Destroy() end
	if data.bb then data.bb:Destroy() end
end
 
local function passesTypeFilter(data)
	if data.isPlayer then return S.ShowPlayers end
	return S.ShowNPCs
end
 
local function refreshTargets()
	local seen = {}
	for _, d in ipairs(Workspace:GetDescendants()) do
		if d:IsA("Humanoid") then
			local m = d.Parent
			if m and m:IsA("Model") and m ~= LP.Character and d.Health > 0 and getRoot(m) then
				seen[m] = true
				if not targets[m] then
					targets[m] = createESP(m, d)
				end
			end
		end
	end
	for m, data in pairs(targets) do
		if not seen[m] or not m:IsDescendantOf(Workspace) then
			destroyESP(data)
			targets[m] = nil
		end
	end
end
 
task.spawn(function()
	while true do
		pcall(refreshTargets)
		task.wait(0.5)
	end
end)
 
----------------------------------------------------------------
-- Aim logic
----------------------------------------------------------------
local aimHeld = false
local switchRequested = false
local currentTarget = nil
local visited = {}
 
local rayParams = RaycastParams.new()
rayParams.FilterType = Enum.RaycastFilterType.Exclude
rayParams.RespectCanCollide = true -- ignore non-collidable parts
 
local function hasLineOfSight(part, model)
	local ignore = { model }
	if LP.Character then table.insert(ignore, LP.Character) end
	local origin = Camera.CFrame.Position
	local dir = part.Position - origin
 
	for _ = 1, 6 do
		rayParams.FilterDescendantsInstances = ignore
		local result = Workspace:Raycast(origin, dir, rayParams)
		if not result then return true end
		local hit = result.Instance
		-- skip invisible parts and other characters, they don't count as walls
		if hit.Transparency >= 0.95 or (hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid")) then
			table.insert(ignore, hit)
			origin = result.Position
			dir = part.Position - origin
		else
			return false
		end
	end
	return true
end
 
local stats = { seen = 0, offscreen = 0, fov = 0, wall = 0 }
 
local function getCandidates(ignoreFOV)
	local list = {}
	stats.seen, stats.offscreen, stats.fov, stats.wall = 0, 0, 0, 0
	local mouse = UIS:GetMouseLocation()
	for model, data in pairs(targets) do
		if data.hum.Health > 0 and passesTypeFilter(data) then
			stats.seen += 1
			local part = getAimPart(model)
			if part then
				local pos, onScreen = Camera:WorldToViewportPoint(part.Position)
				if onScreen and pos.Z > 0 then
					local d = (Vector2.new(pos.X, pos.Y) - mouse).Magnitude
					if not (ignoreFOV or not S.FOVEnabled or d <= S.FOVRadius) then
						stats.fov += 1
					elseif S.WallCheck and not hasLineOfSight(part, model) then
						stats.wall += 1
					else
						table.insert(list, { model = model, dist = d })
					end
				else
					stats.offscreen += 1
				end
			end
		end
	end
	table.sort(list, function(a, b) return a.dist < b.dist end)
	return list
end
 
----------------------------------------------------------------
-- FOV circle
----------------------------------------------------------------
local fov = Instance.new("Frame")
fov.Name = "FOVCircle"
fov.AnchorPoint = Vector2.new(0.5, 0.5)
fov.BackgroundTransparency = 1
fov.Visible = false
fov.Parent = gui
corner(fov, 999).CornerRadius = UDim.new(1, 0)
local fovStroke = Instance.new("UIStroke")
fovStroke.Thickness = 1.5
fovStroke.Color = Color3.new(1, 1, 1)
fovStroke.Parent = fov
 
----------------------------------------------------------------
-- UI
----------------------------------------------------------------
local main = Instance.new("CanvasGroup")
main.Name = "Main"
main.Size = UDim2.fromOffset(340, 460)
main.Position = UDim2.new(0.5, -170, 0.5, -230)
main.BackgroundColor3 = BG
main.BorderSizePixel = 0
main.GroupTransparency = 1
main.Visible = false
main.Parent = gui
corner(main, 12)
local mainStroke = Instance.new("UIStroke")
mainStroke.Color = Color3.fromRGB(60, 60, 78)
mainStroke.Parent = main
local scale = Instance.new("UIScale")
scale.Scale = 0.92
scale.Parent = main
 
-- title bar (drag handle)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundColor3 = Color3.fromRGB(28, 28, 36)
title.BorderSizePixel = 0
title.Font = Enum.Font.GothamBold
title.TextSize = 15
title.TextColor3 = TEXT
title.Text = "  Test Menu"
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = main
 
local hint = Instance.new("TextLabel")
hint.BackgroundTransparency = 1
hint.Size = UDim2.new(1, -12, 1, 0)
hint.Font = Enum.Font.Gotham
hint.TextSize = 11
hint.TextColor3 = SUBTEXT
hint.TextXAlignment = Enum.TextXAlignment.Right
hint.Text = "RightShift to hide"
hint.Parent = title
 
do -- dragging
	local dragging, dragStart, startPos
	title.InputBegan:Connect(function(i)
		if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
			dragging, dragStart, startPos = true, i.Position, main.Position
		end
	end)
	UIS.InputChanged:Connect(function(i)
		if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then
			local d = i.Position - dragStart
			main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y)
		end
	end)
	UIS.InputEnded:Connect(function(i)
		if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
			dragging = false
		end
	end)
end
 
local scroll = Instance.new("ScrollingFrame")
scroll.Position = UDim2.fromOffset(8, 48)
scroll.Size = UDim2.new(1, -16, 1, -56)
scroll.BackgroundTransparency = 1
scroll.BorderSizePixel = 0
scroll.ScrollBarThickness = 3
scroll.ScrollBarImageColor3 = ACCENT
scroll.CanvasSize = UDim2.new()
scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
scroll.Parent = main
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 6)
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = scroll
 
local order = 0
local function newRow(h)
	order += 1
	local row = Instance.new("Frame")
	row.Size = UDim2.new(1, -6, 0, h)
	row.BackgroundColor3 = ROW
	row.BorderSizePixel = 0
	row.LayoutOrder = order
	row.Parent = scroll
	corner(row, 8)
	return row
end
 
local function rowLabel(row, text)
	local l = Instance.new("TextLabel")
	l.BackgroundTransparency = 1
	l.Position = UDim2.fromOffset(12, 0)
	l.Size = UDim2.new(1, -90, 0, 32)
	l.Font = Enum.Font.Gotham
	l.TextSize = 13
	l.TextColor3 = TEXT
	l.TextXAlignment = Enum.TextXAlignment.Left
	l.Text = text
	l.Parent = row
	return l
end
 
local function addSection(text)
	order += 1
	local l = Instance.new("TextLabel")
	l.LayoutOrder = order
	l.Size = UDim2.new(1, -6, 0, 22)
	l.BackgroundTransparency = 1
	l.Font = Enum.Font.GothamBold
	l.TextSize = 12
	l.TextColor3 = ACCENT
	l.TextXAlignment = Enum.TextXAlignment.Left
	l.Text = string.upper(text)
	l.Parent = scroll
end
 
local tInfo = TweenInfo.new(0.18, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
 
local function addToggle(text, key)
	local row = newRow(32)
	rowLabel(row, text)
 
	local track = Instance.new("Frame")
	track.AnchorPoint = Vector2.new(1, 0.5)
	track.Position = UDim2.new(1, -12, 0.5, 0)
	track.Size = UDim2.fromOffset(40, 20)
	track.BorderSizePixel = 0
	track.Parent = row
	corner(track, 10)
	local knob = Instance.new("Frame")
	knob.Size = UDim2.fromOffset(16, 16)
	knob.BackgroundColor3 = Color3.new(1, 1, 1)
	knob.BorderSizePixel = 0
	knob.Parent = track
	corner(knob, 8)
 
	local function render(animate)
		local on = S[key]
		local goalTrack = { BackgroundColor3 = on and ACCENT or Color3.fromRGB(62, 62, 78) }
		local goalKnob = { Position = on and UDim2.fromOffset(22, 2) or UDim2.fromOffset(2, 2) }
		if animate then
			TweenService:Create(track, tInfo, goalTrack):Play()
			TweenService:Create(knob, tInfo, goalKnob):Play()
		else
			track.BackgroundColor3 = goalTrack.BackgroundColor3
			knob.Position = goalKnob.Position
		end
	end
	render(false)
 
	local btn = Instance.new("TextButton")
	btn.BackgroundTransparency = 1
	btn.Size = UDim2.fromScale(1, 1)
	btn.Text = ""
	btn.Parent = row
	btn.Activated:Connect(function()
		S[key] = not S[key]
		render(true)
	end)
end
 
local function addSlider(text, key, min, max)
	local row = newRow(48)
	local lbl = rowLabel(row, text)
	local val = Instance.new("TextLabel")
	val.BackgroundTransparency = 1
	val.AnchorPoint = Vector2.new(1, 0)
	val.Position = UDim2.new(1, -12, 0, 0)
	val.Size = UDim2.fromOffset(60, 32)
	val.Font = Enum.Font.GothamBold
	val.TextSize = 13
	val.TextColor3 = SUBTEXT
	val.TextXAlignment = Enum.TextXAlignment.Right
	val.Parent = row
	lbl.Size = UDim2.new(1, -90, 0, 30)
 
	local bar = Instance.new("Frame")
	bar.Position = UDim2.new(0, 12, 0, 34)
	bar.Size = UDim2.new(1, -24, 0, 6)
	bar.BackgroundColor3 = Color3.fromRGB(58, 58, 74)
	bar.BorderSizePixel = 0
	bar.Parent = row
	corner(bar, 3)
	local fill = Instance.new("Frame")
	fill.BackgroundColor3 = ACCENT
	fill.BorderSizePixel = 0
	fill.Parent = bar
	corner(fill, 3)
 
	local function set(v, animate)
		v = math.clamp(math.floor(v + 0.5), min, max)
		S[key] = v
		val.Text = tostring(v)
		local size = UDim2.fromScale((v - min) / (max - min), 1)
		if animate then
			TweenService:Create(fill, TweenInfo.new(0.06), { Size = size }):Play()
		else
			fill.Size = size
		end
	end
	set(S[key], false)
 
	local dragging = false
	local function fromX(x)
		local rel = math.clamp((x - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1)
		set(min + rel * (max - min), true)
	end
 
	local hit = Instance.new("TextButton")
	hit.BackgroundTransparency = 1
	hit.Text = ""
	hit.Position = UDim2.new(0, 0, 0, 28)
	hit.Size = UDim2.new(1, 0, 0, 20)
	hit.Parent = row
	hit.InputBegan:Connect(function(i)
		if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
			dragging = true
			fromX(i.Position.X)
		end
	end)
	UIS.InputChanged:Connect(function(i)
		if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then
			fromX(i.Position.X)
		end
	end)
	UIS.InputEnded:Connect(function(i)
		if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
			dragging = false
		end
	end)
end
 
local function addButton(text, getLabel, onClick)
	local row = newRow(32)
	rowLabel(row, text)
	local b = Instance.new("TextButton")
	b.AnchorPoint = Vector2.new(1, 0.5)
	b.Position = UDim2.new(1, -8, 0.5, 0)
	b.Size = UDim2.fromOffset(92, 22)
	b.BackgroundColor3 = Color3.fromRGB(52, 52, 68)
	b.BorderSizePixel = 0
	b.Font = Enum.Font.GothamBold
	b.TextSize = 12
	b.TextColor3 = TEXT
	b.AutoButtonColor = true
	b.Text = getLabel()
	b.Parent = row
	corner(b, 6)
	b.Activated:Connect(function()
		onClick(b)
		b.Text = getLabel()
	end)
	return b
end
 
local listening -- { key = "AimKey", btn = TextButton }
local function addBind(text, key)
	addButton(text, function()
		return S[key].Name
	end, function(btn)
		listening = { key = key, btn = btn }
		btn.Text = "press key..."
	end)
end
 
-- status label
order += 1
local status = Instance.new("TextLabel")
status.LayoutOrder = order
status.Size = UDim2.new(1, -6, 0, 20)
status.BackgroundTransparency = 1
status.Font = Enum.Font.Gotham
status.TextSize = 12
status.TextColor3 = SUBTEXT
status.TextXAlignment = Enum.TextXAlignment.Left
status.Text = "Target: none"
status.Parent = scroll
 
addSection("ESP")
addToggle("ESP", "ESP")
addToggle("Rainbow ESP", "Rainbow")
addToggle("Wallhack (see through walls)", "Wallhack")
addToggle("Show names / health", "ShowNames")
addToggle("Players", "ShowPlayers")
addToggle("NPCs", "ShowNPCs")
addButton("ESP color", function() return "Cycle" end, function()
	colorIndex = colorIndex % #COLOR_PRESETS + 1
	S.ESPColor = COLOR_PRESETS[colorIndex]
end)
 
addSection("Aim-lock")
addToggle("Aim-lock", "Aimlock")
addToggle("FOV circle (on/off)", "FOVEnabled")
addSlider("FOV radius", "FOVRadius", 30, 500)
addToggle("Hard lock (no aim drift)", "HardLock")
addSlider("Smoothing (when hard lock off)", "Smoothing", 0, 95)
addToggle("Wall check (aim only visible)", "WallCheck")
addButton("Target part", function() return S.TargetPart end, function()
	S.TargetPart = (S.TargetPart == "Head") and "HumanoidRootPart" or "Head"
end)
addButton("Aim mode", function() return S.AimMode end, function()
	S.AimMode = (S.AimMode == "Hold") and "Toggle" or "Hold"
	aimHeld = false
end)
addBind("Aim key", "AimKey")
addBind("Switch target key", "SwitchKey")
 
addSection("Movement")
addToggle("WalkSpeed", "WalkSpeedOn")
addSlider("WalkSpeed value", "WalkSpeed", 16, 150)
 
-- menu open/close animation
local menuOpen = false
local function setMenu(open)
	menuOpen = open
	if open then main.Visible = true end
	TweenService:Create(main, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
		{ GroupTransparency = open and 0 or 1 }):Play()
	TweenService:Create(scale, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
		{ Scale = open and 1 or 0.92 }):Play()
	if not open then
		task.delay(0.26, function()
			if not menuOpen then main.Visible = false end
		end)
	end
end
setMenu(true)
 
----------------------------------------------------------------
-- Input
----------------------------------------------------------------
local function isOverMenu()
	if not main.Visible then return false end
	local m = UIS:GetMouseLocation()
	local p, s = main.AbsolutePosition, main.AbsoluteSize
	return m.X >= p.X and m.X <= p.X + s.X and m.Y >= p.Y and m.Y <= p.Y + s.Y
end
 
local function isKeyHeld(key)
	if key.EnumType == Enum.KeyCode then
		return UIS:IsKeyDown(key)
	end
	return UIS:IsMouseButtonPressed(key) and not isOverMenu()
end
 
UIS.InputBegan:Connect(function(input, gp)
	-- key rebinding
	if listening then
		if input.KeyCode == Enum.KeyCode.Escape then
			listening.btn.Text = S[listening.key].Name
			listening = nil
			return
		end
		local v
		if input.UserInputType == Enum.UserInputType.Keyboard then
			v = input.KeyCode
		elseif input.UserInputType == Enum.UserInputType.MouseButton1
			or input.UserInputType == Enum.UserInputType.MouseButton2
			or input.UserInputType == Enum.UserInputType.MouseButton3 then
			v = input.UserInputType
		end
		if v then
			S[listening.key] = v
			listening.btn.Text = v.Name
			listening = nil
		end
		return
	end
 
	if input.KeyCode == S.MenuKey then
		setMenu(not menuOpen)
		return
	end
 
	-- the aim key ignores gameProcessed (right mouse is often flagged as processed
	-- by the default camera), but not clicks that land on our own menu
	local isMouseInput = input.UserInputType == Enum.UserInputType.MouseButton1
		or input.UserInputType == Enum.UserInputType.MouseButton2
		or input.UserInputType == Enum.UserInputType.MouseButton3
		or input.UserInputType == Enum.UserInputType.Touch
 
	if matches(input, S.AimKey) and not (isMouseInput and isOverMenu()) then
		if S.AimMode == "Toggle" then
			aimHeld = not aimHeld
		else
			aimHeld = true
		end
	end
	if matches(input, S.SwitchKey) and not UIS:GetFocusedTextBox() then
		switchRequested = true
	end
end)
 
UIS.InputEnded:Connect(function(input)
	if S.AimMode == "Hold" and matches(input, S.AimKey) then
		aimHeld = false
	end
end)
 
----------------------------------------------------------------
-- Per-frame: ESP + FOV + Aim-lock
----------------------------------------------------------------
RunService:BindToRenderStep("TestMenuUpdate", Enum.RenderPriority.Camera.Value + 1, function(dt)
	Camera = Workspace.CurrentCamera
	local color = S.Rainbow and rainbowColor() or S.ESPColor
	local myRoot = LP.Character and getRoot(LP.Character)
 
	-- ESP
	for model, data in pairs(targets) do
		local show = S.ESP and data.hum.Health > 0 and passesTypeFilter(data)
		data.hl.Enabled = show
		data.bb.Enabled = show and S.ShowNames
		if show then
			data.hl.DepthMode = S.Wallhack and Enum.HighlightDepthMode.AlwaysOnTop or Enum.HighlightDepthMode.Occluded
			data.hl.FillColor = color
			data.hl.OutlineColor = color
			data.bb.AlwaysOnTop = S.Wallhack
			if S.ShowNames then
				local root = getRoot(model)
				local dist = (myRoot and root) and math.floor((root.Position - myRoot.Position).Magnitude) or 0
				data.label.Text = string.format("%s  [%d HP]  %dm", data.name, math.floor(data.hum.Health), dist)
				data.label.TextColor3 = color
			end
		end
	end
 
	-- FOV circle
	local mouse = UIS:GetMouseLocation()
	fov.Visible = S.FOVEnabled
	fov.Size = UDim2.fromOffset(S.FOVRadius * 2, S.FOVRadius * 2)
	fov.Position = UDim2.fromOffset(mouse.X, mouse.Y)
	fovStroke.Color = S.Rainbow and color or Color3.new(1, 1, 1)
 
	-- Aim-lock
	if S.AimMode == "Hold" then
		aimHeld = isKeyHeld(S.AimKey) and not listening
	end
 
	if not (S.Aimlock and aimHeld) then
		currentTarget = nil
		visited = {}
		switchRequested = false
		status.Text = S.Aimlock and ("Aim: idle (" .. S.AimMode .. " " .. S.AimKey.Name .. ")") or "Aim-lock: OFF"
		return
	end
 
	-- is the current target still valid? (sticky, ignores FOV once acquired)
	local fullList = getCandidates(true)
	local stillValid = false
	if currentTarget then
		for _, c in ipairs(fullList) do
			if c.model == currentTarget then stillValid = true break end
		end
	end
 
	if switchRequested then
		switchRequested = false
		if currentTarget then visited[currentTarget] = true end
		local pick
		for _, c in ipairs(fullList) do
			if not visited[c.model] then pick = c.model break end
		end
		if not pick then -- cycled through everyone: start over
			visited = {}
			for _, c in ipairs(fullList) do
				if c.model ~= currentTarget then pick = c.model break end
			end
			if currentTarget then visited[currentTarget] = true end
		end
		if pick then
			currentTarget = pick
			stillValid = true
		end
	end
 
	if not stillValid then
		local fovList = getCandidates(false)
		currentTarget = fovList[1] and fovList[1].model or nil
		visited = {}
	end
 
	if currentTarget and targets[currentTarget] then
		status.Text = "Target: " .. targets[currentTarget].name
		local part = getAimPart(currentTarget)
		if part then
			local goal = CFrame.lookAt(Camera.CFrame.Position, part.Position)
			if S.HardLock then
				Camera.CFrame = goal -- pinned: mouse movement can't pull it away
			else
				local a = 1 - (S.Smoothing / 100)
				a = 1 - (1 - a) ^ (dt * 60) -- frame-rate independent
				Camera.CFrame = Camera.CFrame:Lerp(goal, math.clamp(a, 0, 1))
			end
		end
	else
		getCandidates(false) -- refresh stats
		status.Text = string.format("No target (seen %d | off-screen %d | outside FOV %d | behind wall %d)",
			stats.seen, stats.offscreen, stats.fov, stats.wall)
	end
end)
 
----------------------------------------------------------------
-- WalkSpeed
----------------------------------------------------------------
local origSpeed
LP.CharacterAdded:Connect(function() origSpeed = nil end)
 
RunService.Heartbeat:Connect(function()
	local hum = LP.Character and LP.Character:FindFirstChildOfClass("Humanoid")
	if not hum then return end
	if S.WalkSpeedOn then
		if not origSpeed then origSpeed = hum.WalkSpeed end
		hum.WalkSpeed = S.WalkSpeed
	elseif origSpeed then
		hum.WalkSpeed = origSpeed
		origSpeed = nil
	end
end

Features:

  • 🎯 Customizable aim assist

  • πŸ”’ Hard Lock toggle

  • βš™οΈ Adjustable smoothing

  • πŸ‘οΈ Wall-check settings

  • 🎯 Target part selection

  • ⌨️ Custom keybinds

  • πŸƒ WalkSpeed controls

  • 🎨 Clean, draggable interface

  • 🌈 Modern purple UI design

Comments 0

No comments yet. Be the first to share your thoughts!

More One Tap scripts

rblxscripts.net
πŸ’₯[FPS] One Tap | Flick | Aimbot esp wallcheck smoothness - One Tap
3.2K5
5mo ago
One Tap

πŸ’₯[FPS] One Tap | Flick | Aimbot esp wallcheck smoothness

by
Yukio
55
rblxscripts.net
One Tap Script Keyless | Silent Aim, Fly, Hitbox Expander, Noclip, Infinite Jump  - One Tap
3.7K4
5mo ago
One Tap

One Tap Script Keyless | Silent Aim, Fly, Hitbox Expander, Noclip, Infinite Jump

by
rblxscriptsnet
Verified User
Verified User
1111
rblxscripts.net
fly aimbot silent aim trigger bot aimbotautofire and others - One Tap
smartphone
Mobile Friendly
3203
1mo ago
One Tap

fly aimbot silent aim trigger bot aimbotautofire and others

by
neonmonarch8809
rblxscripts.net
AIMBOT, MOVEMENT, VISUALS ESP - Tase Hub - One Tap
code
Open Source
smartphone
Mobile Friendly
1753
1d ago
One Tap

AIMBOT, MOVEMENT, VISUALS ESP - Tase Hub

by
bread
1111
rblxscripts.net
Lunar Hub Onetap - One Tap
smartphone
Mobile Friendly
753
15d ago
One Tap

Lunar Hub Onetap

by
hxperv2
rblxscripts.net
Snowy Hub | Silent Aim, Trigger bot, Hitbox Expander & More - One Tap
key
Key System
smartphone
Mobile Friendly
2462
1mo ago
One Tap

Snowy Hub | Silent Aim, Trigger bot, Hitbox Expander & More

by
SnowyScripts
Verified User
Verified User
1717
rblxscripts.net
Venyx β€’ OP Keyless Steal An Egg Script β€’ Auto Steal β€’ Auto Treadmill β€’ And Another features - Steal An Egg
smartphone
Mobile Friendly
43K23
26d ago
Steal An Egg

Venyx β€’ OP Keyless Steal An Egg Script β€’ Auto Steal β€’ Auto Treadmill β€’ And Another features

by
PancakeReal
1111
rblxscripts.net
Keyless rblx.rip hub | Auto Runner, Auto Hunt, Auto Dodge Catchers, Visuals! - Huss Valley
8.2K19
29d ago
Huss Valley

Keyless rblx.rip hub | Auto Runner, Auto Hunt, Auto Dodge Catchers, Visuals!

by
bugxie
Admin
Admin
Verified User
Verified User
3030
Browse all One Tap scripts