LOADING...

Aimbot Gusta hub

20 VISUALIZAÇÕES
20/04/2026
Universal
Aimbot Gusta hub
AUTOR
avatarWiseSphinx86493
AVALIAÇÃO DOS USUÁRIOS
100%APROVAÇÃO

Descrição

Aimbot universal

JOGOS SUPORTADOS

Script Universal

Funciona na maioria dos jogos

Código do Script
1--// Serviços
2local Players = game:GetService("Players")
3local RunService = game:GetService("RunService")
4local UserInputService = game:GetService("UserInputService")
5local TweenService = game:GetService("TweenService")
6
7local player = Players.LocalPlayer
8local camera = workspace.CurrentCamera
9
10--// CONFIG AIMBOT
11local FOV_RADIUS = 150
12local MAX_DISTANCE = 200
13local SMOOTHNESS = 0.2
14
15--// Variáveis
16local lockedTarget = nil
17local lockEnabled = false
18local espEnabled = false
19local espObjects = {}
20
21--// UI
22local screenGui = Instance.new("ScreenGui")
23screenGui.Parent = player:WaitForChild("PlayerGui")
24screenGui.ResetOnSpawn = false
25
26local frame = Instance.new("Frame", screenGui)
27frame.Size = UDim2.new(0, 180, 0, 140)
28frame.Position = UDim2.new(1, -200, 0.35, 0)
29frame.BackgroundColor3 = Color3.fromRGB(255,255,255)
30frame.BackgroundTransparency = 0.2
31frame.BorderSizePixel = 0
32frame.Active = true
33
34Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)
35
36-- 🌈 RGB
37local gradient = Instance.new("UIGradient", frame)
38gradient.Color = ColorSequence.new{
39	ColorSequenceKeypoint.new(0, Color3.fromRGB(255,0,0)),
40	ColorSequenceKeypoint.new(0.5, Color3.fromRGB(0,255,255)),
41	ColorSequenceKeypoint.new(1, Color3.fromRGB(255,0,255))
42}
43
44task.spawn(function()
45	while true do
46		local tween = TweenService:Create(
47			gradient,
48			TweenInfo.new(3, Enum.EasingStyle.Linear),
49			{Rotation = gradient.Rotation + 180}
50		)
51		tween:Play()
52		tween.Completed:Wait()
53	end
54end)
55
56-- Título
57local title = Instance.new("TextLabel", frame)
58title.Size = UDim2.new(1, 0, 0, 30)
59title.BackgroundTransparency = 1
60title.Text = "Gusta Hub"
61title.TextScaled = true
62title.Font = Enum.Font.GothamBlack
63
64--// BOTÕES BONITOS
65local function createButton(parent, text, posY)
66	local btn = Instance.new("TextButton", parent)
67	btn.Size = UDim2.new(1, -20, 0, 40)
68	btn.Position = UDim2.new(0, 10, 0, posY)
69	btn.Text = text
70	btn.TextColor3 = Color3.new(1,1,1)
71	btn.Font = Enum.Font.GothamBold
72	btn.TextSize = 14
73	btn.BackgroundColor3 = Color3.fromRGB(30,30,30)
74	btn.AutoButtonColor = false
75	
76	Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 10)
77	
78	local stroke = Instance.new("UIStroke", btn)
79	stroke.Color = Color3.fromRGB(0,170,255)
80	stroke.Thickness = 1.5
81	stroke.Transparency = 0.4
82	
83	local grad = Instance.new("UIGradient", btn)
84	grad.Color = ColorSequence.new{
85		ColorSequenceKeypoint.new(0, Color3.fromRGB(40,40,40)),
86		ColorSequenceKeypoint.new(1, Color3.fromRGB(20,20,20))
87	}
88	
89	btn.MouseEnter:Connect(function()
90		btn:TweenSize(UDim2.new(1, -16, 0, 42), "Out", "Quad", 0.1, true)
91	end)
92	
93	btn.MouseLeave:Connect(function()
94		btn:TweenSize(UDim2.new(1, -20, 0, 40), "Out", "Quad", 0.1, true)
95	end)
96	
97	btn.MouseButton1Down:Connect(function()
98		btn:TweenSize(UDim2.new(1, -22, 0, 38), "Out", "Quad", 0.05, true)
99	end)
100	
101	btn.MouseButton1Up:Connect(function()
102		btn:TweenSize(UDim2.new(1, -20, 0, 40), "Out", "Quad", 0.05, true)
103	end)
104	
105	return btn
106end
107
108local lockBtn = createButton(frame, "LOCK OFF", 40)
109local espBtn = createButton(frame, "ESP OFF", 90)
110
111lockBtn.Name = "LockButton"
112espBtn.Name = "EspButton"
113
114-- Atualizar botão
115local function updateButton(btn, state)
116	local stroke = btn:FindFirstChildOfClass("UIStroke")
117	
118	if state then
119		btn.Text = btn.Name == "LockButton" and "LOCK ON" or "ESP ON"
120		btn.BackgroundColor3 = Color3.fromRGB(0,120,255)
121		
122		if stroke then
123			stroke.Color = Color3.fromRGB(0,200,255)
124			stroke.Transparency = 0
125		end
126	else
127		btn.Text = btn.Name == "LockButton" and "LOCK OFF" or "ESP OFF"
128		btn.BackgroundColor3 = Color3.fromRGB(30,30,30)
129		
130		if stroke then
131			stroke.Color = Color3.fromRGB(0,170,255)
132			stroke.Transparency = 0.4
133		end
134	end
135end
136
137--// DRAG (PC + MOBILE)
138local dragging, dragInput, dragStart, startPos
139
140local function update(input)
141	local delta = input.Position - dragStart
142	frame.Position = UDim2.new(
143		startPos.X.Scale,
144		startPos.X.Offset + delta.X,
145		startPos.Y.Scale,
146		startPos.Y.Offset + delta.Y
147	)
148end
149
150frame.InputBegan:Connect(function(input)
151	if input.UserInputType == Enum.UserInputType.MouseButton1 
152	or input.UserInputType == Enum.UserInputType.Touch then
153		
154		dragging = true
155		dragStart = input.Position
156		startPos = frame.Position
157		
158		input.Changed:Connect(function()
159			if input.UserInputState == Enum.UserInputState.End then
160				dragging = false
161			end
162		end)
163	end
164end)
165
166frame.InputChanged:Connect(function(input)
167	if input.UserInputType == Enum.UserInputType.MouseMovement 
168	or input.UserInputType == Enum.UserInputType.Touch then
169		dragInput = input
170	end
171end)
172
173UserInputService.InputChanged:Connect(function(input)
174	if input == dragInput and dragging then
175		update(input)
176	end
177end)
178
179--// AIMBOT
180local function getBestTarget()
181	local bestTarget = nil
182	local shortestScore = math.huge
183	
184	if not player.Character or not player.Character:FindFirstChild("HumanoidRootPart") then
185		return nil
186	end
187	
188	local myPos = player.Character.HumanoidRootPart.Position
189	local screenCenter = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y/2)
190	
191	for _, p in pairs(Players:GetPlayers()) do
192		if p ~= player and p.Character and p.Character:FindFirstChild("Head") then
193			
194			local head = p.Character.Head
195			local root = p.Character:FindFirstChild("HumanoidRootPart")
196			
197			if root then
198				local distance = (root.Position - myPos).Magnitude
199				
200				if distance <= MAX_DISTANCE then
201					
202					local screenPos, onScreen = camera:WorldToViewportPoint(head.Position)
203					
204					if onScreen then
205						local screenDistance = (Vector2.new(screenPos.X, screenPos.Y) - screenCenter).Magnitude
206						
207						if screenDistance <= FOV_RADIUS then
208							local score = screenDistance + distance
209							
210							if score < shortestScore then
211								shortestScore = score
212								bestTarget = p
213							end
214						end
215					end
216				end
217			end
218		end
219	end
220	
221	return bestTarget
222end
223
224--// LOCK
225RunService.RenderStepped:Connect(function()
226	if lockEnabled then
227		
228		lockedTarget = getBestTarget()
229		
230		if lockedTarget and lockedTarget.Character and lockedTarget.Character:FindFirstChild("Head") then
231			
232			local targetPos = lockedTarget.Character.Head.Position
233			local camCF = camera.CFrame
234			
235			camera.CFrame = camCF:Lerp(
236				CFrame.new(camCF.Position, targetPos),
237				SMOOTHNESS
238			)
239		end
240	end
241end)
242
243--// ESP
244local function createESP(p)
245	if espObjects[p] then return end
246	
247	local box = Instance.new("BoxHandleAdornment")
248	box.Size = Vector3.new(4,6,2)
249	box.AlwaysOnTop = true
250	box.Transparency = 0.5
251	
252	local tag = Instance.new("BillboardGui")
253	tag.Size = UDim2.new(0,100,0,40)
254	tag.AlwaysOnTop = true
255	
256	local text = Instance.new("TextLabel", tag)
257	text.Size = UDim2.new(1,0,1,0)
258	text.BackgroundTransparency = 1
259	text.TextScaled = true
260	text.Text = p.Name
261	
262	espObjects[p] = {box = box, tag = tag}
263end
264
265RunService.RenderStepped:Connect(function()
266	for _, p in pairs(Players:GetPlayers()) do
267		if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
268			
269			if espEnabled then
270				if not espObjects[p] then createESP(p) end
271				
272				local obj = espObjects[p]
273				obj.box.Adornee = p.Character.HumanoidRootPart
274				obj.box.Parent = workspace
275				
276				if p.Character:FindFirstChild("Head") then
277					obj.tag.Adornee = p.Character.Head
278					obj.tag.Parent = workspace
279				end
280			else
281				if espObjects[p] then
282					local obj = espObjects[p]
283					obj.box:Destroy()
284					obj.tag:Destroy()
285					espObjects[p] = nil
286				end
287			end
288		end
289	end
290end)
291
292--// BOTÕES
293lockBtn.MouseButton1Click:Connect(function()
294	lockEnabled = not lockEnabled
295	updateButton(lockBtn, lockEnabled)
296end)
297
298espBtn.MouseButton1Click:Connect(function()
299	espEnabled = not espEnabled
300	updateButton(espBtn, espEnabled)
301end)
302
303--// ANTI-RESPAWN
304player.CharacterAdded:Connect(function()
305	task.wait(1)
306	
307	lockedTarget = nil
308	
309	for _, v in pairs(espObjects) do
310		if v.box then v.box:Destroy() end
311		if v.tag then v.tag:Destroy() end
312	end
313	
314	espObjects = {}
315end)

ScriptHUB

O melhor site para procurar, compartilhar e achar os melhores scripts com máxima segurança e desempenho.

© 2026 ScriptHub. Todos os direitos reservados.
ScriptHUB