local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
local MainFrame = Instance.new("Frame", ScreenGui)
MainFrame.Size = UDim2.new(0, 220, 0, 460) -- Немного увеличил высоту для заголовка
MainFrame.Position = UDim2.new(0.5, -110, 0.5, -230)
MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
MainFrame.BorderColor3 = Color3.new(1, 1, 1)
MainFrame.BorderSizePixel = 2
MainFrame.Active = true
MainFrame.Draggable = true
-- ЗАГОЛОВОК ХАБА
local Title = Instance.new("TextLabel", MainFrame)
Title.Size = UDim2.new(1, 0, 0, 30)
Title.Text = "BAREHN4EK HUB"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
Title.Font = Enum.Font.SourceSansBold
Title.TextSize = 18
local Content = Instance.new("Frame", MainFrame)
Content.Size = UDim2.new(1, 0, 1, -30)
Content.Position = UDim2.new(0, 0, 0, 30)
Content.BackgroundTransparency = 1
local function CreateButton(text, pos, callback)
local btn = Instance.new("TextButton", Content)
btn.Text = text
btn.Size = UDim2.new(0, 200, 0, 30)
btn.Position = pos
btn.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
btn.TextColor3 = Color3.new(1, 1, 1)
btn.Font = Enum.Font.SourceSansBold
btn.BorderSizePixel = 1
btn.BorderColor3 = Color3.new(0.3, 0.3, 0.3)
btn.MouseButton1Click:Connect(function() callback(btn) end)
return btn
end
local lp = game.Players.LocalPlayer
local mouse = lp:GetMouse()
local flying, noclip, invisible = false, false, false
local fSpeed, wSpeed = 20, 16
-- ФУНКЦИИ
CreateButton("FLY: OFF", UDim2.new(0, 10, 0, 10), function(btn)
flying = not flying
btn.Text = "FLY: "..(flying and "ON" or "OFF")
local root = lp.Character:WaitForChild("HumanoidRootPart")
if flying then
local bg = Instance.new("BodyGyro", root); bg.maxTorque = Vector3.new(9e9, 9e9, 9e9); bg.P = 9e4
local bv = Instance.new("BodyVelocity", root); bv.velocity = Vector3.new(0,0.1,0); bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
task.spawn(function()
while flying do
bv.velocity = workspace.CurrentCamera.CFrame.LookVector * fSpeed
bg.cframe = workspace.CurrentCamera.CFrame
task.wait()
end
bg:Destroy(); bv:Destroy()
end)
end
end)
CreateButton("FLY SPEED: "..fSpeed, UDim2.new(0, 10, 0, 45), function(btn)
fSpeed = (fSpeed >= 100 and 1 or fSpeed + 10)
btn.Text = "FLY SPEED: "..fSpeed
end)
CreateButton("NOCLIP: OFF", UDim2.new(0, 10, 0, 80), function(btn)
noclip = not noclip
btn.Text = "NOCLIP: "..(noclip and "ON" or "OFF")
local conn
conn = game:GetService("RunService").Stepped:Connect(function()
if not noclip then conn:Disconnect() return end
if lp.Character then
for _, v in pairs(lp.Character:GetDescendants()) do
if v:IsA("BasePart") then v.CanCollide = false end
end
end
end)
end)
CreateButton("WALK SPEED: "..wSpeed, UDim2.new(0, 10, 0, 115), function(btn)
wSpeed = (wSpeed >= 100 and 16 or wSpeed + 10)
if lp.Character:FindFirstChild("Humanoid") then lp.Character.Humanoid.WalkSpeed = wSpeed end
btn.Text = "WALK SPEED: "..wSpeed
end)
CreateButton("INVISIBLE: OFF", UDim2.new(0, 10, 0, 150), function(btn)
invisible = not invisible
btn.Text = "INVISIBLE: "..(invisible and "ON" or "OFF")
local char = lp.Character
if char then
for _, v in pairs(char:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("Decal") then
v.Transparency = invisible and 1 or 0
if v.Name == "HumanoidRootPart" then v.Transparency = 1 end
end
end
end
end)
CreateButton("TP TO MOUSE", UDim2.new(0, 10, 0, 185), function()
if mouse.Hit then lp.Character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.p + Vector3.new(0,3,0)) end
end)
CreateButton("GIVE ALL TOOLS", UDim2.new(0, 10, 0, 220), function()
for _, v in pairs(game:GetDescendants()) do
if v:IsA("Tool") and (v.Parent.Name == "ReplicatedStorage" or v.Parent.Name == "Lighting") then
v:Clone().Parent = lp.Backpack
end
end
end)
CreateButton("RESET CHARACTER", UDim2.new(0, 10, 0, 255), function()
lp.Character.Humanoid.Health = 0
end)
CreateButton("- / + (MINIMIZE)", UDim2.new(0, 10, 0, 290), function()
Content.Visible = not Content.Visible
MainFrame.Size = Content.Visible and UDim2.new(0, 220, 0, 460) or UDim2.new(0, 220, 0, 30)
end)
CreateButton("CLOSE MENU", UDim2.new(0, 10, 0, 380), function()
ScreenGui:Destroy()
flying, noclip, invisible = false, false, false
end)
Comments
No comments yet
Be the first to share your thoughts!