Buy NowDiscord
444agustin Hub V1
UniversalFree
0 Likes

444agustin Hub V1

Universal Script 📌

444agustin444agustin18h ago0 / 0

Description

easy to use and good universal script

View Raw ↗
print("Loaded Exploits Panel")

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")

local player = Players.LocalPlayer

local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

-- CONFIG
local DEFAULT_SPEED = 16
local BOOST_SPEED = 50
local FLY_SPEED = 50

-- ESTADOS
local espEnabled = false
local speedEnabled = false
local flyEnabled = false
local noclipEnabled = false

local bodyVelocity
local bodyGyro

--------------------------------------------------
-- GUI
--------------------------------------------------

local gui = Instance.new("ScreenGui")
gui.Name = "AdminPanel"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")



local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 300)
frame.Position = UDim2.new(0, 20, 0, 20)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BorderSizePixel = 0
frame.Parent = gui
--------------------------------------------------
-- GUI DRAGGABLE
--------------------------------------------------

local dragging = false
local dragInput
local dragStart
local startPos

frame.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		dragging = true
		dragStart = input.Position
		startPos = frame.Position

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

frame.InputChanged:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseMovement then
		dragInput = input
	end
end)

UserInputService.InputChanged:Connect(function(input)
	if input == dragInput and dragging then
		local delta = input.Position - dragStart
		frame.Position = UDim2.new(
			startPos.X.Scale,
			startPos.X.Offset + delta.X,
			startPos.Y.Scale,
			startPos.Y.Offset + delta.Y
		)
	end
end)

local function createButton(text, posY)
	local button = Instance.new("TextButton")
	button.Size = UDim2.new(0, 180, 0, 40)
	button.Position = UDim2.new(0, 10, 0, posY)
	button.Text = text
	button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
	button.TextColor3 = Color3.new(1,1,1)
	button.Parent = frame
	return button
end


local espButton = createButton("ESP: OFF", 50)
local speedButton = createButton("SPEED: OFF", 90)
local flyButton = createButton("FLY: OFF", 120)
local healthButton = createButton("HP: OFF", 160)
local noclipButton = createButton("Exploits🤑", 1)
local ghostButton = createButton("GHOST: OFF", 200)

--------------------------------------------------
-- VIDA INFINITA
--------------------------------------------------

local infiniteHealth = false

local function applyInfiniteHealth(char)
	local hum = char:FindFirstChildOfClass("Humanoid")
	if not hum then return end

	hum.BreakJointsOnDeath = false

	task.spawn(function()
		while char.Parent and infiniteHealth do
			if hum.Health < hum.MaxHealth then
				hum.Health = hum.MaxHealth
			end
			task.wait(0.1)
		end
	end)
end



healthButton.MouseButton1Click:Connect(function()
	infiniteHealth = not infiniteHealth
	healthButton.Text = "HP: " .. (infiniteHealth and "ON" or "OFF")

	if player.Character then
		applyInfiniteHealth(player.Character)
	end
end)

--------------------------------------------------
-- ESP
--------------------------------------------------

local function updateESP()
	for _, plr in ipairs(Players:GetPlayers()) do
		if plr ~= player and plr.Character then

			local old = plr.Character:FindFirstChild("ESPHighlight")
			if old then
				old:Destroy()
			end

			if espEnabled then
				local highlight = Instance.new("Highlight")
				highlight.Name = "ESPHighlight"
				highlight.FillColor = Color3.fromRGB(255, 0, 0)
				highlight.OutlineColor = Color3.fromRGB(255,255,255)
				highlight.Parent = plr.Character
			end
		end
	end
end

espButton.MouseButton1Click:Connect(function()
	espEnabled = not espEnabled
	espButton.Text = "ESP: " .. (espEnabled and "ON" or "OFF")
	updateESP()
end)

--------------------------------------------------
-- Noclip
--------------------------------------------------
local ghostEnabled = false

local function setGhost(state)
	ghostEnabled = state

	local char = player.Character
	if not char then return end

	for _, part in ipairs(char:GetDescendants()) do
		if part:IsA("BasePart") then
			part.CanCollide = not state
			part.Massless = state
		end
	end
end

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

	local char = player.Character
	if not char then return end

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


--------------------------------------------------
-- SPEED
--------------------------------------------------

speedButton.MouseButton1Click:Connect(function()
	speedEnabled = not speedEnabled

	speedButton.Text = "SPEED: " .. (speedEnabled and "ON" or "OFF")

	if humanoid then
		humanoid.WalkSpeed = speedEnabled and BOOST_SPEED or DEFAULT_SPEED
	end
end)


--------------------------------------------------
-- FLY
--------------------------------------------------

local function startFlying()
	if flyEnabled then return end

	flyEnabled = true
	flyButton.Text = "FLY: ON"

	bodyVelocity = Instance.new("BodyVelocity")
	bodyVelocity.MaxForce = Vector3.new(1e9, 1e9, 1e9)
	bodyVelocity.Velocity = Vector3.zero
	bodyVelocity.Parent = humanoidRootPart

	bodyGyro = Instance.new("BodyGyro")
	bodyGyro.MaxTorque = Vector3.new(1e9, 1e9, 1e9)
	bodyGyro.P = 10000
	bodyGyro.Parent = humanoidRootPart
end

local function stopFlying()
	flyEnabled = false
	flyButton.Text = "FLY: OFF"

	if bodyVelocity then
		bodyVelocity:Destroy()
		bodyVelocity = nil
	end

	if bodyGyro then
		bodyGyro:Destroy()
		bodyGyro = nil
	end
end

flyButton.MouseButton1Click:Connect(function()
	if flyEnabled then
		stopFlying()
	else
		startFlying()
	end
end)

--------------------------------------------------
-- CONTROL DE VUELO
--------------------------------------------------

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

	if not bodyVelocity or not bodyGyro then
		return
	end

	local camera = workspace.CurrentCamera
	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
		direction = direction.Unit * FLY_SPEED
	end

	bodyVelocity.Velocity = direction
	bodyGyro.CFrame = camera.CFrame
end)

--------------------------------------------------
-- REAPARECER
--------------------------------------------------

player.CharacterAdded:Connect(function(char)

	character = char
	humanoid = char:WaitForChild("Humanoid")
	humanoidRootPart = char:WaitForChild("HumanoidRootPart")

	if speedEnabled then
		humanoid.WalkSpeed = BOOST_SPEED
	else
		humanoid.WalkSpeed = DEFAULT_SPEED
	end

	if flyEnabled then
		task.wait(0.5)
		startFlying()
	end

	if espEnabled then
		task.wait(1)
		updateESP()
	end
end)

--------------------------------------------------
-- NUEVOS JUGADORES
--------------------------------------------------

Players.PlayerAdded:Connect(function(plr)

	plr.CharacterAdded:Connect(function()

		task.wait(1)

		if espEnabled then
			updateESP()
		end
	end)
end)


local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

local player = Players.LocalPlayer
local invisible = false

local function setInvisible(char, state)
	for _, obj in ipairs(char:GetDescendants()) do
		if obj:IsA("BasePart") then
			obj.Transparency = state and 1 or 0
		elseif obj:IsA("Decal") then
			obj.Transparency = state and 1 or 0
		elseif obj:IsA("ParticleEmitter") then
			obj.Enabled = not state
		elseif obj:IsA("BillboardGui") then
			obj.Enabled = not state
		end
	end

	local hum = char:FindFirstChildOfClass("Humanoid")
	if hum then
		hum.DisplayDistanceType = state
			and Enum.HumanoidDisplayDistanceType.None
			or Enum.HumanoidDisplayDistanceType.Viewer
	end
end

local function toggleInvisible()
	local char = player.Character
	if not char then return end

	invisible = not invisible
	setInvisible(char, invisible)
end

-- tecla G
UserInputService.InputBegan:Connect(function(input, gp)
	if gp then return end
	if input.KeyCode == Enum.KeyCode.G then
		toggleInvisible()
	end
end)

-- respawn fix
player.CharacterAdded:Connect(function(char)
	task.wait(0.5)

	if ghostEnabled then
		setGhost(true)
		setInvisible(char, true)
	end
end)

-- ghos
ghostButton.MouseButton1Click:Connect(function()
	ghostEnabled = not ghostEnabled
	ghostButton.Text = "GHOST MODE: " .. (ghostEnabled and "ON" or "OFF")

	setGhost(ghostEnabled)
end)

--------------------------------------------------
-- SPEED
--------------------------------------------------

local function toggleGhost()
	ghostEnabled = not ghostEnabled

	local char = player.Character
	if not char then return end

	-- invisibilidad
	setInvisible(char, ghostEnabled)

	-- usa tu noclip existente
	setNoclip(ghostEnabled)

	-- opcional: feedback en consola
	print("Ghost Mode:", ghostEnabled and "ON" or "OFF")
end