HYPER AIMBOT
Key Required

HYPER AIMBOT

[🔥NEW MYTHIC] HypershotRjtooflyRjtoofly 2.1K views 9.8K executesUpdated Aug 16, 2026
Unrated
00
Lua Script•984 lines (23692 chars)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local Player = Players.LocalPlayer
local Camera = workspace.CurrentCamera

local KEY = "GHUBHUB$$"
local DISCORD = "https://discord.gg/xErbVHcWR6"

local FOV_ENABLED = false
local AIM_ASSIST_ENABLED = false
local FOV_RADIUS = 150
local MAX_DISTANCE = 300
local TARGET_PART = "Head"
local AIM_STRENGTH = 0.85

local WALK_SPEED = 16
local JUMP_POWER = 50
local FLY_SPEED = 50

local FLY_ENABLED = false
local NOCLIP_ENABLED = false
local INFINITE_JUMP = false
local CurrentTarget = nil

local Gui = Instance.new("ScreenGui")
Gui.Name = "GHUB"
Gui.ResetOnSpawn = false
Gui.IgnoreGuiInset = true
Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Gui.Parent = Player:WaitForChild("PlayerGui")

local function Corner(object, radius)
	local c = Instance.new("UICorner")
	c.CornerRadius = UDim.new(0, radius)
	c.Parent = object
	return c
end

local function Stroke(object, color, thickness)
	local s = Instance.new("UIStroke")
	s.Color = color
	s.Thickness = thickness
	s.Parent = object
	return s
end

local function MakeButton(parent, text)
	local button = Instance.new("TextButton")
	button.Size = UDim2.new(1, -20, 0, 43)
	button.BackgroundColor3 = Color3.fromRGB(23, 29, 25)
	button.BorderSizePixel = 0
	button.Text = text
	button.TextColor3 = Color3.fromRGB(220, 230, 222)
	button.TextSize = 13
	button.Font = Enum.Font.GothamMedium
	button.AutoButtonColor = false
	button.Parent = parent

	Corner(button, 9)
	Stroke(button, Color3.fromRGB(35, 60, 42), 1)

	button.MouseEnter:Connect(function()
		button.BackgroundColor3 = Color3.fromRGB(31, 45, 35)
	end)

	button.MouseLeave:Connect(function()
		button.BackgroundColor3 = Color3.fromRGB(23, 29, 25)
	end)

	return button
end

local function Section(parent, text)
	local label = Instance.new("TextLabel")
	label.Size = UDim2.new(1, -20, 0, 25)
	label.BackgroundTransparency = 1
	label.Text = text
	label.TextColor3 = Color3.fromRGB(72, 235, 115)
	label.TextSize = 12
	label.Font = Enum.Font.GothamBold
	label.TextXAlignment = Enum.TextXAlignment.Left
	label.Parent = parent
	return label
end

local KeyFrame = Instance.new("Frame")
KeyFrame.Size = UDim2.new(0, 360, 0, 230)
KeyFrame.Position = UDim2.new(0.5, -180, 0.5, -115)
KeyFrame.BackgroundColor3 = Color3.fromRGB(13, 17, 15)
KeyFrame.BorderSizePixel = 0
KeyFrame.Parent = Gui

Corner(KeyFrame, 16)
Stroke(KeyFrame, Color3.fromRGB(60, 240, 110), 2)

local KeyGlow = Instance.new("Frame")
KeyGlow.Size = UDim2.new(1, -6, 0, 4)
KeyGlow.Position = UDim2.new(0, 3, 0, 3)
KeyGlow.BackgroundColor3 = Color3.fromRGB(60, 240, 110)
KeyGlow.BorderSizePixel = 0
KeyGlow.Parent = KeyFrame

Corner(KeyGlow, 4)

local KeyImage = Instance.new("ImageLabel")
KeyImage.Size = UDim2.new(0, 70, 0, 70)
KeyImage.Position = UDim2.new(0.5, -35, 0, 22)
KeyImage.BackgroundTransparency = 1
KeyImage.Image = "rbxassetid://102620551003437"
KeyImage.ScaleType = Enum.ScaleType.Fit
KeyImage.Parent = KeyFrame

local KeyTitle = Instance.new("TextLabel")
KeyTitle.Size = UDim2.new(1, 0, 0, 28)
KeyTitle.Position = UDim2.new(0, 0, 0, 91)
KeyTitle.BackgroundTransparency = 1
KeyTitle.Text = "GHUB ACCESS"
KeyTitle.TextColor3 = Color3.fromRGB(80, 240, 120)
KeyTitle.TextSize = 21
KeyTitle.Font = Enum.Font.GothamBold
KeyTitle.Parent = KeyFrame

local KeySub = Instance.new("TextLabel")
KeySub.Size = UDim2.new(1, -40, 0, 20)
KeySub.Position = UDim2.new(0, 20, 0, 119)
KeySub.BackgroundTransparency = 1
KeySub.Text = "Enter your access key to continue"
KeySub.TextColor3 = Color3.fromRGB(145, 155, 150)
KeySub.TextSize = 12
KeySub.Font = Enum.Font.Gotham
KeySub.Parent = KeyFrame

local KeyBox = Instance.new("TextBox")
KeyBox.Size = UDim2.new(1, -50, 0, 38)
KeyBox.Position = UDim2.new(0, 25, 0, 145)
KeyBox.BackgroundColor3 = Color3.fromRGB(23, 29, 25)
KeyBox.BorderSizePixel = 0
KeyBox.PlaceholderText = "GHUB KEY"
KeyBox.PlaceholderColor3 = Color3.fromRGB(90, 100, 94)
KeyBox.Text = ""
KeyBox.TextColor3 = Color3.fromRGB(230, 240, 233)
KeyBox.TextSize = 14
KeyBox.Font = Enum.Font.GothamMedium
KeyBox.ClearTextOnFocus = false
KeyBox.Parent = KeyFrame

Corner(KeyBox, 9)
Stroke(KeyBox, Color3.fromRGB(48, 90, 60), 1)

local UnlockButton = Instance.new("TextButton")
UnlockButton.Size = UDim2.new(1, -50, 0, 35)
UnlockButton.Position = UDim2.new(0, 25, 0, 190)
UnlockButton.BackgroundColor3 = Color3.fromRGB(42, 190, 85)
UnlockButton.BorderSizePixel = 0
UnlockButton.Text = "UNLOCK GHUB"
UnlockButton.TextColor3 = Color3.new(1, 1, 1)
UnlockButton.TextSize = 13
UnlockButton.Font = Enum.Font.GothamBold
UnlockButton.Parent = KeyFrame

Corner(UnlockButton, 9)

local MainGui = Instance.new("Frame")
MainGui.Name = "GHUBMain"
MainGui.Size = UDim2.new(0, 570, 0, 440)
MainGui.Position = UDim2.new(0.5, -285, 0.5, -220)
MainGui.BackgroundColor3 = Color3.fromRGB(11, 14, 12)
MainGui.BorderSizePixel = 0
MainGui.Visible = false
MainGui.Parent = Gui

Corner(MainGui, 17)
Stroke(MainGui, Color3.fromRGB(62, 245, 112), 2)

local Header = Instance.new("Frame")
Header.Size = UDim2.new(1, 0, 0, 76)
Header.BackgroundColor3 = Color3.fromRGB(17, 23, 19)
Header.BorderSizePixel = 0
Header.Parent = MainGui

Corner(Header, 17)

local Plus = Instance.new("TextButton")
Plus.Size = UDim2.new(0, 34, 0, 34)
Plus.Position = UDim2.new(0, 15, 0, 20)
Plus.BackgroundColor3 = Color3.fromRGB(30, 45, 35)
Plus.BorderSizePixel = 0
Plus.Text = "+"
Plus.TextColor3 = Color3.fromRGB(75, 245, 120)
Plus.TextSize = 25
Plus.Font = Enum.Font.GothamBold
Plus.Parent = Header

Corner(Plus, 9)
Stroke(Plus, Color3.fromRGB(55, 160, 80), 1)

local Logo = Instance.new("ImageLabel")
Logo.Size = UDim2.new(0, 50, 0, 50)
Logo.Position = UDim2.new(0, 60, 0, 13)
Logo.BackgroundTransparency = 1
Logo.Image = "rbxassetid://102620551003437"
Logo.ScaleType = Enum.ScaleType.Fit
Logo.Parent = Header

local GhubTitle = Instance.new("TextLabel")
GhubTitle.Size = UDim2.new(0, 180, 0, 28)
GhubTitle.Position = UDim2.new(0, 118, 0, 12)
GhubTitle.BackgroundTransparency = 1
GhubTitle.Text = "GHUB"
GhubTitle.TextColor3 = Color3.fromRGB(75, 245, 120)
GhubTitle.TextSize = 25
GhubTitle.Font = Enum.Font.GothamBlack
GhubTitle.TextXAlignment = Enum.TextXAlignment.Left
GhubTitle.Parent = Header

local GhubSub = Instance.new("TextLabel")
GhubSub.Size = UDim2.new(0, 250, 0, 18)
GhubSub.Position = UDim2.new(0, 119, 0, 40)
GhubSub.BackgroundTransparency = 1
GhubSub.Text = "GAME CONTROL CENTER"
GhubSub.TextColor3 = Color3.fromRGB(105, 120, 110)
GhubSub.TextSize = 10
GhubSub.Font = Enum.Font.GothamBold
GhubSub.TextXAlignment = Enum.TextXAlignment.Left
GhubSub.Parent = Header

local Close = Instance.new("TextButton")
Close.Size = UDim2.new(0, 36, 0, 36)
Close.Position = UDim2.new(1, -51, 0, 20)
Close.BackgroundColor3 = Color3.fromRGB(35, 42, 38)
Close.BorderSizePixel = 0
Close.Text = "×"
Close.TextColor3 = Color3.fromRGB(220, 230, 222)
Close.TextSize = 23
Close.Font = Enum.Font.GothamBold
Close.Parent = Header

Corner(Close, 10)

local Sidebar = Instance.new("Frame")
Sidebar.Size = UDim2.new(0, 140, 1, -76)
Sidebar.Position = UDim2.new(0, 0, 0, 76)
Sidebar.BackgroundColor3 = Color3.fromRGB(14, 18, 15)
Sidebar.BorderSizePixel = 0
Sidebar.Parent = MainGui

local function Tab(text, y)
	local b = Instance.new("TextButton")
	b.Size = UDim2.new(1, -18, 0, 45)
	b.Position = UDim2.new(0, 9, 0, y)
	b.BackgroundColor3 = Color3.fromRGB(24, 30, 26)
	b.BorderSizePixel = 0
	b.Text = "   " .. text
	b.TextColor3 = Color3.fromRGB(175, 190, 180)
	b.TextSize = 13
	b.Font = Enum.Font.GothamBold
	b.TextXAlignment = Enum.TextXAlignment.Left
	b.Parent = Sidebar
	Corner(b, 9)
	return b
end

local MainTab = Tab("MAIN", 18)
local AdminTab = Tab("ADMIN", 73)
local SettingsTab = Tab("SETTINGS", 128)
local DiscordTab = Tab("DISCORD", 183)

local Content = Instance.new("ScrollingFrame")
Content.Size = UDim2.new(1, -155, 1, -91)
Content.Position = UDim2.new(0, 150, 0, 84)
Content.BackgroundTransparency = 1
Content.BorderSizePixel = 0
Content.ScrollBarThickness = 4
Content.ScrollBarImageColor3 = Color3.fromRGB(65, 220, 100)
Content.CanvasSize = UDim2.new(0, 0, 0, 0)
Content.AutomaticCanvasSize = Enum.AutomaticSize.Y
Content.Parent = MainGui

local Layout = Instance.new("UIListLayout")
Layout.Padding = UDim.new(0, 10)
Layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
Layout.Parent = Content

local Padding = Instance.new("UIPadding")
Padding.PaddingTop = UDim.new(0, 5)
Padding.PaddingBottom = UDim.new(0, 20)
Padding.Parent = Content

local FOVCircle = Instance.new("Frame")
FOVCircle.AnchorPoint = Vector2.new(0.5, 0.5)
FOVCircle.Position = UDim2.new(0.5, 0, 0.5, 0)
FOVCircle.Size = UDim2.new(0, FOV_RADIUS * 2, 0, FOV_RADIUS * 2)
FOVCircle.BackgroundTransparency = 1
FOVCircle.Visible = false
FOVCircle.ZIndex = 100
FOVCircle.Parent = Gui

Corner(FOVCircle, 999)
Stroke(FOVCircle, Color3.fromRGB(65, 240, 110), 2)

local function ClearContent()
	for _, object in ipairs(Content:GetChildren()) do
		if object ~= Layout and object ~= Padding then
			object:Destroy()
		end
	end
end

local function GetClosestTarget()
	if not FOV_ENABLED then
		return nil
	end

	local closest = nil
	local closestDistance = math.huge

	local center = Vector2.new(
		Camera.ViewportSize.X / 2,
		Camera.ViewportSize.Y / 2
	)

	for _, targetPlayer in ipairs(Players:GetPlayers()) do
		if targetPlayer ~= Player then
			local character = targetPlayer.Character

			if character then
				local humanoid = character:FindFirstChildOfClass("Humanoid")
				local part = character:FindFirstChild(TARGET_PART)

				if humanoid and humanoid.Health > 0 and part then
					local distance =
						(Camera.CFrame.Position - part.Position).Magnitude

					if distance <= MAX_DISTANCE then
						local screenPosition, visible =
							Camera:WorldToViewportPoint(part.Position)

						if visible then
							local screenDistance =
								(
									Vector2.new(
										screenPosition.X,
										screenPosition.Y
									) - center
								).Magnitude

							if screenDistance <= FOV_RADIUS
								and screenDistance < closestDistance then

								closest = targetPlayer
								closestDistance = screenDistance
							end
						end
					end
				end
			end
		end
	end

	return closest
end

local function MakeToggle(text, state)
	local button = MakeButton(Content, text .. "     •     " .. (state and "ON" or "OFF"))
	return button
end

local function LoadMain()
	ClearContent()

	Section(Content, "AIM ASSIST")

	local AimButton = MakeToggle("AIM ASSIST", AIM_ASSIST_ENABLED)

	AimButton.MouseButton1Click:Connect(function()
		AIM_ASSIST_ENABLED = not AIM_ASSIST_ENABLED

		if AIM_ASSIST_ENABLED then
			AimButton.Text = "AIM ASSIST     •     ON"
			AimButton.TextColor3 = Color3.fromRGB(75, 245, 120)
			CurrentTarget = GetClosestTarget()
		else
			AimButton.Text = "AIM ASSIST     •     OFF"
			AimButton.TextColor3 = Color3.fromRGB(220, 230, 222)
			CurrentTarget = nil
		end
	end)

	local FovButton = MakeToggle("FOV CIRCLE", FOV_ENABLED)

	FovButton.MouseButton1Click:Connect(function()
		FOV_ENABLED = not FOV_ENABLED
		FOVCircle.Visible = FOV_ENABLED

		if FOV_ENABLED then
			FovButton.Text = "FOV CIRCLE     •     ON"
			FovButton.TextColor3 = Color3.fromRGB(75, 245, 120)
		else
			FovButton.Text = "FOV CIRCLE     •     OFF"
			FovButton.TextColor3 = Color3.fromRGB(220, 230, 222)
			CurrentTarget = nil
		end
	end)

	local SizeButton =
		MakeButton(Content, "FOV SIZE     •     " .. FOV_RADIUS)

	SizeButton.MouseButton1Click:Connect(function()
		FOV_RADIUS += 25

		if FOV_RADIUS > 300 then
			FOV_RADIUS = 50
		end

		FOVCircle.Size =
			UDim2.new(
				0,
				FOV_RADIUS * 2,
				0,
				FOV_RADIUS * 2
			)

		SizeButton.Text =
			"FOV SIZE     •     " .. FOV_RADIUS
	end)

	local TargetButton =
		MakeButton(Content, "TARGET     •     HEAD")

	TargetButton.MouseButton1Click:Connect(function()
		if TARGET_PART == "Head" then
			TARGET_PART = "HumanoidRootPart"
			TargetButton.Text = "TARGET     •     ROOT"
		else
			TARGET_PART = "Head"
			TargetButton.Text = "TARGET     •     HEAD"
		end
	end)

	Section(Content, "MOVEMENT")

	local SpeedButton =
		MakeButton(Content, "WALKSPEED     •     " .. WALK_SPEED)

	SpeedButton.MouseButton1Click:Connect(function()
		WALK_SPEED += 10

		if WALK_SPEED > 100 then
			WALK_SPEED = 16
		end

		SpeedButton.Text =
			"WALKSPEED     •     " .. WALK_SPEED

		local character = Player.Character
		local humanoid =
			character and
			character:FindFirstChildOfClass("Humanoid")

		if humanoid then
			humanoid.WalkSpeed = WALK_SPEED
		end
	end)

	local JumpButton =
		MakeButton(Content, "JUMP POWER     •     " .. JUMP_POWER)

	JumpButton.MouseButton1Click:Connect(function()
		JUMP_POWER += 25

		if JUMP_POWER > 150 then
			JUMP_POWER = 50
		end

		JumpButton.Text =
			"JUMP POWER     •     " .. JUMP_POWER

		local character = Player.Character
		local humanoid =
			character and
			character:FindFirstChildOfClass("Humanoid")

		if humanoid then
			humanoid.UseJumpPower = true
			humanoid.JumpPower = JUMP_POWER
		end
	end)

	local FlyButton = MakeToggle("FLY", FLY_ENABLED)

	FlyButton.MouseButton1Click:Connect(function()
		FLY_ENABLED = not FLY_ENABLED

		if FLY_ENABLED then
			FlyButton.Text = "FLY     •     ON"
			FlyButton.TextColor3 = Color3.fromRGB(75, 245, 120)
		else
			FlyButton.Text = "FLY     •     OFF"
			FlyButton.TextColor3 = Color3.fromRGB(220, 230, 222)
		end
	end)

	local NoclipButton = MakeToggle("NOCLIP", NOCLIP_ENABLED)

	NoclipButton.MouseButton1Click:Connect(function()
		NOCLIP_ENABLED = not NOCLIP_ENABLED

		if NOCLIP_ENABLED then
			NoclipButton.Text = "NOCLIP     •     ON"
			NoclipButton.TextColor3 = Color3.fromRGB(75, 245, 120)
		else
			NoclipButton.Text = "NOCLIP     •     OFF"
			NoclipButton.TextColor3 = Color3.fromRGB(220, 230, 222)
		end
	end)

	local InfiniteButton =
		MakeToggle("INFINITE JUMP", INFINITE_JUMP)

	InfiniteButton.MouseButton1Click:Connect(function()
		INFINITE_JUMP = not INFINITE_JUMP

		if INFINITE_JUMP then
			InfiniteButton.Text = "INFINITE JUMP     •     ON"
			InfiniteButton.TextColor3 = Color3.fromRGB(75, 245, 120)
		else
			InfiniteButton.Text = "INFINITE JUMP     •     OFF"
			InfiniteButton.TextColor3 = Color3.fromRGB(220, 230, 222)
		end
	end)
end

local function LoadAdmin()
	ClearContent()

	Section(Content, "PLAYER CONTROLS")

	local Speed =
		MakeButton(Content, "SPEED     •     " .. WALK_SPEED)

	Speed.MouseButton1Click:Connect(function()
		WALK_SPEED += 10

		if WALK_SPEED > 100 then
			WALK_SPEED = 16
		end

		Speed.Text = "SPEED     •     " .. WALK_SPEED

		local character = Player.Character
		local humanoid =
			character and
			character:FindFirstChildOfClass("Humanoid")

		if humanoid then
			humanoid.WalkSpeed = WALK_SPEED
		end
	end)

	local Jump =
		MakeButton(Content, "JUMP     •     " .. JUMP_POWER)

	Jump.MouseButton1Click:Connect(function()
		JUMP_POWER += 25

		if JUMP_POWER > 150 then
			JUMP_POWER = 50
		end

		Jump.Text = "JUMP     •     " .. JUMP_POWER

		local character = Player.Character
		local humanoid =
			character and
			character:FindFirstChildOfClass("Humanoid")

		if humanoid then
			humanoid.UseJumpPower = true
			humanoid.JumpPower = JUMP_POWER
		end
	end)

	local Fly = MakeToggle("FLY", FLY_ENABLED)

	Fly.MouseButton1Click:Connect(function()
		FLY_ENABLED = not FLY_ENABLED

		if FLY_ENABLED then
			Fly.Text = "FLY     •     ON"
			Fly.TextColor3 = Color3.fromRGB(75, 245, 120)
		else
			Fly.Text = "FLY     •     OFF"
			Fly.TextColor3 = Color3.fromRGB(220, 230, 222)
		end
	end)

	local Noclip = MakeToggle("NOCLIP", NOCLIP_ENABLED)

	Noclip.MouseButton1Click:Connect(function()
		NOCLIP_ENABLED = not NOCLIP_ENABLED

		if NOCLIP_ENABLED then
			Noclip.Text = "NOCLIP     •     ON"
			Noclip.TextColor3 = Color3.fromRGB(75, 245, 120)
		else
			Noclip.Text = "NOCLIP     •     OFF"
			Noclip.TextColor3 = Color3.fromRGB(220, 230, 222)
		end
	end)

	local Reset =
		MakeButton(Content, "RESET CHARACTER")

	Reset.MouseButton1Click:Connect(function()
		local character = Player.Character
		local humanoid =
			character and
			character:FindFirstChildOfClass("Humanoid")

		if humanoid then
			humanoid.Health = 0
		end
	end)
end

local function LoadSettings()
	ClearContent()

	Section(Content, "GHUB SETTINGS")

	local Hide = MakeButton(Content, "HIDE FOV")

	Hide.MouseButton1Click:Connect(function()
		FOVCircle.Visible = false
	end)

	local Show = MakeButton(Content, "SHOW FOV")

	Show.MouseButton1Click:Connect(function()
		if FOV_ENABLED then
			FOVCircle.Visible = true
		end
	end)

	local CloseMenu = MakeButton(Content, "CLOSE GHUB")

	CloseMenu.MouseButton1Click:Connect(function()
		MainGui.Visible = false
	end)
end

local function LoadDiscord()
	ClearContent()

	Section(Content, "GHUB COMMUNITY")

	local Image = Instance.new("ImageLabel")
	Image.Size = UDim2.new(0, 100, 0, 100)
	Image.BackgroundTransparency = 1
	Image.Image = "rbxassetid://102620551003437"
	Image.ScaleType = Enum.ScaleType.Fit
	Image.Parent = Content

	local Info = Instance.new("TextLabel")
	Info.Size = UDim2.new(1, -20, 0, 40)
	Info.BackgroundTransparency = 1
	Info.Text = "Join the GHUB Discord"
	Info.TextColor3 = Color3.fromRGB(225, 235, 228)
	Info.TextSize = 17
	Info.Font = Enum.Font.GothamBold
	Info.Parent = Content

	local DiscordBox = Instance.new("TextBox")
	DiscordBox.Size = UDim2.new(1, -20, 0, 42)
	DiscordBox.BackgroundColor3 = Color3.fromRGB(22, 28, 24)
	DiscordBox.BorderSizePixel = 0
	DiscordBox.Text = DISCORD
	DiscordBox.TextColor3 = Color3.fromRGB(100, 235, 130)
	DiscordBox.TextSize = 13
	DiscordBox.Font = Enum.Font.GothamMedium
	DiscordBox.ClearTextOnFocus = false
	DiscordBox.TextEditable = false
	DiscordBox.Parent = Content

	Corner(DiscordBox, 9)
	Stroke(DiscordBox, Color3.fromRGB(45, 90, 55), 1)

	local Copy = MakeButton(Content, "SELECT DISCORD LINK")

	Copy.MouseButton1Click:Connect(function()
		DiscordBox.TextEditable = true
		DiscordBox:CaptureFocus()
		DiscordBox.CursorPosition = #DISCORD + 1
		DiscordBox.SelectionStart = 1

		Copy.Text = "SELECTED — PRESS CTRL+C"

		task.delay(2, function()
			Copy.Text = "SELECT DISCORD LINK"
			DiscordBox.TextEditable = false
		end)
	end)
end

local TopButton = Instance.new("TextButton")
TopButton.Name = "GHUBTopButton"
TopButton.Size = UDim2.new(0, 140, 0, 43)
TopButton.Position = UDim2.new(0.5, -70, 0, 12)
TopButton.BackgroundColor3 = Color3.fromRGB(18, 28, 21)
TopButton.BorderSizePixel = 0
TopButton.Text = "GHUB"
TopButton.TextColor3 = Color3.fromRGB(75, 245, 120)
TopButton.TextSize = 19
TopButton.Font = Enum.Font.GothamBlack
TopButton.Visible = false
TopButton.Parent = Gui

Corner(TopButton, 11)
Stroke(TopButton, Color3.fromRGB(70, 245, 115), 2)

TopButton.MouseButton1Click:Connect(function()
	MainGui.Visible = not MainGui.Visible
end)

Close.MouseButton1Click:Connect(function()
	MainGui.Visible = false
end)

MainTab.MouseButton1Click:Connect(LoadMain)
AdminTab.MouseButton1Click:Connect(LoadAdmin)
SettingsTab.MouseButton1Click:Connect(LoadSettings)
DiscordTab.MouseButton1Click:Connect(LoadDiscord)

local dragging = false
local dragStart
local startPosition

local function StartDrag(input)
	dragging = true
	dragStart = input.Position
	startPosition = MainGui.Position

	input.Changed:Connect(function()
		if input.UserInputState == Enum.UserInputState.End then
			dragging = false
		end
	end)
end

Plus.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1
		or input.UserInputType == Enum.UserInputType.Touch then
		StartDrag(input)
	end
end)

Header.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1
		or input.UserInputType == Enum.UserInputType.Touch then
		StartDrag(input)
	end
end)

UserInputService.InputChanged:Connect(function(input)
	if not dragging then
		return
	end

	if input.UserInputType == Enum.UserInputType.MouseMovement
		or input.UserInputType == Enum.UserInputType.Touch then

		local delta = input.Position - dragStart

		MainGui.Position = UDim2.new(
			startPosition.X.Scale,
			startPosition.X.Offset + delta.X,
			startPosition.Y.Scale,
			startPosition.Y.Offset + delta.Y
		)
	end
end)

UserInputService.JumpRequest:Connect(function()
	if not INFINITE_JUMP then
		return
	end

	local Character = Player.Character
	local Humanoid =
		Character and
		Character:FindFirstChildOfClass("Humanoid")

	if Humanoid then
		Humanoid:ChangeState(
			Enum.HumanoidStateType.Jumping
		)
	end
end)

RunService.RenderStepped:Connect(function()
	if not FLY_ENABLED then
		return
	end

	local Character = Player.Character
	if not Character then
		return
	end

	local Root =
		Character:FindFirstChild("HumanoidRootPart")

	if not Root then
		return
	end

	local Direction = Vector3.zero

	if UserInputService:IsKeyDown(Enum.KeyCode.W) then
		Direction += Camera.CFrame.LookVector
	end

	if UserInputService:IsKeyDown(Enum.KeyCode.S) then
		Direction -= Camera.CFrame.LookVector
	end

	if UserInputService:IsKeyDown(Enum.KeyCode.A) then
		Direction -= Camera.CFrame.RightVector
	end

	if UserInputService:IsKeyDown(Enum.KeyCode.D) then
		Direction += Camera.CFrame.RightVector
	end

	if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
		Direction += Vector3.new(0, 1, 0)
	end

	if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
		Direction -= Vector3.new(0, 1, 0)
	end

	if Direction.Magnitude > 0 then
		Root.AssemblyLinearVelocity =
			Direction.Unit * FLY_SPEED
	else
		Root.AssemblyLinearVelocity =
			Vector3.zero
	end
end)

RunService.Stepped:Connect(function()
	if not NOCLIP_ENABLED then
		return
	end

	local Character = Player.Character
	if not Character then
		return
	end

	for _, part in ipairs(Character:GetDescendants()) do
		if part:IsA("BasePart") then
			part.CanCollide = false
		end
	end
end)

RunService.RenderStepped:Connect(function()
	if not AIM_ASSIST_ENABLED then
		return
	end

	if not FOV_ENABLED then
		CurrentTarget = nil
		return
	end

	CurrentTarget = GetClosestTarget()

	if not CurrentTarget then
		return
	end

	local Character = CurrentTarget.Character
	if not Character then
		CurrentTarget = nil
		return
	end

	local Humanoid =
		Character:FindFirstChildOfClass("Humanoid")

	local Target =
		Character:FindFirstChild(TARGET_PART)

	if not Humanoid
		or Humanoid.Health <= 0
		or not Target then

		CurrentTarget = nil
		return
	end

	local Distance =
		(Camera.CFrame.Position - Target.Position).Magnitude

	if Distance > MAX_DISTANCE then
		CurrentTarget = nil
		return
	end

	local ScreenPosition, Visible =
		Camera:WorldToViewportPoint(Target.Position)

	if not Visible then
		CurrentTarget = nil
		return
	end

	local Center =
		Vector2.new(
			Camera.ViewportSize.X / 2,
			Camera.ViewportSize.Y / 2
		)

	local ScreenDistance =
		(
			Vector2.new(
				ScreenPosition.X,
				ScreenPosition.Y
			) - Center
		).Magnitude

	if ScreenDistance > FOV_RADIUS then
		CurrentTarget = nil
		return
	end

	local Desired =
		CFrame.lookAt(
			Camera.CFrame.Position,
			Target.Position
		)

	Camera.CFrame =
		Camera.CFrame:Lerp(
			Desired,
			AIM_STRENGTH
		)
end)

Player.CharacterAdded:Connect(function(Character)
	local Humanoid =
		Character:WaitForChild("Humanoid")

	task.wait(0.2)

	Humanoid.WalkSpeed = WALK_SPEED
	Humanoid.UseJumpPower = true
	Humanoid.JumpPower = JUMP_POWER
end)

UnlockButton.MouseButton1Click:Connect(function()
	if KeyBox.Text == KEY then
		KeyFrame.Visible = false
		TopButton.Visible = true
		MainGui.Visible = true
		LoadMain()
	else
		KeyBox.Text = ""
		KeyBox.PlaceholderText = "INVALID KEY"
		UnlockButton.Text = "INVALID KEY"

		task.delay(1.5, function()
			UnlockButton.Text = "UNLOCK GHUB"
			KeyBox.PlaceholderText = "GHUB KEY"
		end)
	end
end)

LoadMain()

Features & Information

AIMLOCK FOV CIRCLE A LIL GLITCHY JOIN THIS DISCORD

Community Comments (0)

No comments yet for this script.

More Scripts for [🔥NEW MYTHIC] Hypershot