
KeylessUniversal

--// Script Brookhaven
-- Criado para fins educacionais
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local ScreenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
-- Frame principal
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 200, 0, 250)
Frame.Position = UDim2.new(0.05, 0, 0.3, 0)
Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Frame.Active = true
Frame.Draggable = true
-- Botão de abrir/fechar
local ToggleButton = Instance.new("TextButton", ScreenGui)
ToggleButton.Size = UDim2.new(0, 120, 0, 40)
ToggleButton.Position = UDim2.new(0, 20, 0, 20)
ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 120, 200)
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.Text = "Fechar Menu"
ToggleButton.Font = Enum.Font.SourceSansBold
ToggleButton.TextSize = 18
local aberto = true
ToggleButton.MouseButton1Click:Connect(function()
aberto = not aberto
Frame.Visible = aberto
ToggleButton.Text = aberto and "Fechar Menu" or "Abrir Menu"
end)
-- Função criadora de botões
local function CriarBotao(nome, posY)
local btn = Instance.new("TextButton", Frame)
btn.Size = UDim2.new(0, 180, 0, 40)
btn.Position = UDim2.new(0, 10, 0, posY)
btn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Text = nome
btn.Font = Enum.Font.SourceSansBold
btn.TextSize = 18
return btn
end
-- Botões
local RunButton = CriarBotao("Ativar Correr Rápido", 10)
local JumpButton = CriarBotao("Ativar Super Pulo", 60)
local SavePosButton = CriarBotao("Salvar Posição", 110)
local TPPosButton = CriarBotao("Teleportar Posição", 160)
local InfJumpButton = CriarBotao("Ativar Pulo Infinito", 210)
-- Estados
local correrRapido = false
local superPulo = false
local infJump = false
local savedPos = nil
-- Configs originais
local NORMAL_SPEED = 16
local NORMAL_JUMP = 50
local FAST_SPEED = 100
local HIGH_JUMP = 150
-- Funções
RunButton.MouseButton1Click:Connect(function()
if player.Character and player.Character:FindFirstChild("Humanoid") then
correrRapido = not correrRapido
if correrRapido then
player.Character.Humanoid.WalkSpeed = FAST_SPEED
RunButton.Text = "Desativar Correr Rápido"
else
player.Character.Humanoid.WalkSpeed = NORMAL_SPEED
RunButton.Text = "Ativar Correr Rápido"
end
end
end)
JumpButton.MouseButton1Click:Connect(function()
if player.Character and player.Character:FindFirstChild("Humanoid") then
superPulo = not superPulo
if superPulo then
player.Character.Humanoid.JumpPower = HIGH_JUMP
JumpButton.Text = "Desativar Super Pulo"
else
player.Character.Humanoid.JumpPower = NORMAL_JUMP
JumpButton.Text = "Ativar Super Pulo"
end
end
end)
SavePosButton.MouseButton1Click:Connect(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
savedPos = player.Character.HumanoidRootPart.Position
SavePosButton.Text = "Posição Salva!"
wait(1)
SavePosButton.Text = "Salvar Posição"
end
end)
TPPosButton.MouseButton1Click:Connect(function()
if savedPos and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character:MoveTo(savedPos)
end
end)
InfJumpButton.MouseButton1Click:Connect(function()
infJump = not infJump
InfJumpButton.Text = infJump and "Desativar Pulo Infinito" or "Ativar Pulo Infinito"
end)
UIS.JumpRequest:Connect(function()
if infJump and player.Character and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)No comments yet for this script.



