-- ═════════════════════════════════════════════
-- Yenx Hub v6.0 - Steal a Brainrot (Javított verzió)
-- ═════════════════════════════════════════════
-- Javítások: Optimalizált ciklusok a késleltetés csökkentése és a kamera bemozdulásának/lassú mozgásának megakadályozása érdekében a funkciók letiltása után.
-- - Noclip: Továbbfejlesztett ütközés utáni visszaállítás és leválasztás a fizikai hibák elkerülése érdekében.
-- - Infinite Money: Ritkábban fut (0,5 másodpercenként), és gyorsítótárazza az értékeket a terhelés csökkentése érdekében.
-- - Speed Hack: Hasonló optimalizálás, csak szükség esetén ellenőrzi.
-- - Általános: Hozzáadott pattogás-csökkentés és jobb kezelés a leválasztások esetén
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local YenxHub = {
Toggles = {
Noclip = false,
InfiniteMoney = false,
SpeedHack = false
},
Connections = {}
}
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "YenxHub_v6"
ScreenGui.ResetOnSpawn = false
ScreenGui.DisplayOrder = 999999
ScreenGui.Parent = PlayerGui
local Icon = Instance.new("TextButton")
Icon.Name = "YenxIcon"
Icon.Size = UDim2.new(0, 70, 0, 70)
Icon.Position = UDim2.new(0, 20, 1, -90)
Icon.BackgroundColor3 = Color3.fromRGB(255, 0, 128)
Icon.Text = "Y"
Icon.TextColor3 = Color3.fromRGB(255, 255, 255)
Icon.Font = Enum.Font.GothamBlack
Icon.TextSize = 42
Icon.Parent = ScreenGui
local IconCorner = Instance.new("UICorner", Icon)
IconCorner.CornerRadius = UDim.new(0, 35)
local IconStroke = Instance.new("UIStroke", Icon)
IconStroke.Color = Color3.fromRGB(255, 255, 255)
IconStroke.Thickness = 3
local dragging = false
local dragInput
local dragStart
local startPos
Icon.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = Icon.Position
end
end)
Icon.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
Icon.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement) then
local delta = input.Position - dragStart
Icon.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 500, 0, 650)
MainFrame.Position = UDim2.new(0.5, -250, 0.5, -325)
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Visible = false
MainFrame.Parent = ScreenGui
local MainCorner = Instance.new("UICorner", MainFrame)
MainCorner.CornerRadius = UDim.new(0, 16)
local Header = Instance.new("Frame", MainFrame)
Header.Size = UDim2.new(1, 0, 0, 55)
Header.BackgroundColor3 = Color3.fromRGB(255, 0, 128)
local HeaderCorner = Instance.new("UICorner", Header)
HeaderCorner.CornerRadius = UDim.new(0, 16)
local Title = Instance.new("TextLabel", Header)
Title.Text = "Yenx Hub v6.0 - Steal a Brainrot (Fixed)"
Title.Size = UDim2.new(1, -70, 1, 0)
Title.Position = UDim2.new(0, 20, 0, 0)
Title.BackgroundTransparency = 1
Title.Font = Enum.Font.GothamBold
Title.TextSize = 20
Title.TextColor3 = Color3.new(1,1,1)
Title.TextXAlignment = Enum.TextXAlignment.Left
local CloseBtn = Instance.new("TextButton", Header)
CloseBtn.Size = UDim2.new(0, 45, 0, 45)
CloseBtn.Position = UDim2.new(1, -50, 0, 5)
CloseBtn.BackgroundTransparency = 1
CloseBtn.Text = "✕"
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.TextSize = 24
CloseBtn.TextColor3 = Color3.new(1,1,1)
CloseBtn.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)
local Scroll = Instance.new("ScrollingFrame", MainFrame)
Scroll.Size = UDim2.new(1, -20, 1, -75)
Scroll.Position = UDim2.new(0, 10, 0, 65)
Scroll.BackgroundTransparency = 1
Scroll.ScrollBarThickness = 8
Scroll.ScrollBarImageColor3 = Color3.fromRGB(255, 0, 128)
Scroll.CanvasSize = UDim2.new(0,0,0,0)
Scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
local ListLayout = Instance.new("UIListLayout", Scroll)
ListLayout.Padding = UDim.new(0, 10)
ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local function CreateToggleButton(name, callbackOn, callbackOff)
local BtnFrame = Instance.new("Frame", Scroll)
BtnFrame.Size = UDim2.new(1, 0, 0, 60)
local BtnCorner = Instance.new("UICorner", BtnFrame)
BtnCorner.CornerRadius = UDim.new(0, 12)
local Btn = Instance.new("TextButton", BtnFrame)
Btn.Size = UDim2.new(1, 0, 1, 0)
Btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
Btn.Text = name .. " ❌ KI"
Btn.Font = Enum.Font.GothamBold
Btn.TextSize = 18
Btn.TextColor3 = Color3.new(1,1,1)
Btn.TextXAlignment = Enum.TextXAlignment.Left
Btn.Parent = BtnFrame
local StatusCorner = Instance.new("UICorner", Btn)
StatusCorner.CornerRadius = UDim.new(0, 12)
local state = false
Btn.MouseButton1Click:Connect(function()
state = not state
if state then
Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- ZÖLD BE
Btn.Text = name .. " ✅ BE"
callbackOn()
else
Btn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) -- PIROS KI
Btn.Text = name .. " ❌ KI"
callbackOff()
end
TweenService:Create(Btn, TweenInfo.new(0.2), {Size = UDim2.new(1, 0, 1.1, 0)}):Play()
wait(0.1)
TweenService:Create(Btn, TweenInfo.new(0.1), {Size = UDim2.new(1, 0, 1, 0)}):Play()
end)
Btn.MouseEnter:Connect(function()
if state then
TweenService:Create(Btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 220, 0)})
else
TweenService:Create(Btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(180, 40, 40)})
end
end)
Btn.MouseLeave:Connect(function()
if state then
Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
else
Btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end
end)
end
local MoneyValues = {}
local function CacheMoneyValues()
MoneyValues = {}
for _, v in pairs(Player:GetDescendants()) do
if (v:IsA("IntValue") or v:IsA("NumberValue")) and (string.find(string.lower(v.Name), "cash") or string.find(string.lower(v.Name), "money") or string.find(string.lower(v.Name), "coin")) then
table.insert(MoneyValues, v)
end
end
for _, v in pairs(Player.PlayerGui:GetDescendants()) do
if (v:IsA("IntValue") or v:IsA("NumberValue")) and string.find(string.lower(v.Name), "cash") then
table.insert(MoneyValues, v)
end
end
end
CreateToggleButton("🧍 Noclip",
function() -- ON
YenxHub.Connections.Noclip = RunService.RenderStepped:Connect(function()
if Player.Character then
for _, part in pairs(Player.Character:GetChildren()) do -- Use GetChildren instead of GetDescendants for optimization
if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then -- Avoid root to prevent sinking
part.CanCollide = false
end
end
end
end)
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text="Noclip BEKAPCSOLVA!", Duration=2})
end,
function()
if YenxHub.Connections.Noclip then
YenxHub.Connections.Noclip:Disconnect()
YenxHub.Connections.Noclip = nil
end
if Player.Character then
for _, part in pairs(Player.Character:GetChildren()) do
if part:IsA("BasePart") then
part.CanCollide = true -- VISSZAÁLLÍT
end
end
-- Force physics reset to fix shake/slow: Slight jump or reposition
local humanoid = Player.Character:FindFirstChild("Humanoid")
if humanoid then
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
wait(0.1)
humanoid:ChangeState(Enum.HumanoidStateType.Physics)
end
end
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text="Noclip KIKAPCSOLVA!", Duration=2})
end
)
CreateToggleButton("💰 Infinite Money",
function() -- ON
CacheMoneyValues() -- Cache once on enable
YenxHub.Connections.Money = RunService.Heartbeat:Connect(function()
if tick() % 0.5 < 0.01 then -- Run ~every 0.5s to reduce lag
for _, v in pairs(MoneyValues) do
if v and v.Parent then
v.Value = 999999999
end
end
end
end)
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text="Pénz ∞ BEKAPCSOLVA!", Duration=2})
end,
function() -- OFF
if YenxHub.Connections.Money then
YenxHub.Connections.Money:Disconnect()
YenxHub.Connections.Money = nil
end
MoneyValues = {} -- Clear cache
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text="Pénz LOOP LEÁLL!", Duration=2})
end
)
CreateToggleButton("⚡ Speed + Jump",
function() -- ON
YenxHub.Connections.Speed = RunService.Heartbeat:Connect(function()
if tick() % 0.5 20 then
writefile("YenxHub_Dump/" .. obj.Name .. "_" .. count .. ".lua", obj.Source)
count = count + 1
end
end
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text=count .. " script mentve YenxHub_Dump mappába!", Duration=5})
end)
CreateSimpleButton("🔍 Listázza Remotes (Konzol F9)", function()
print("=== YENX HUB v6 - REMOTES ===")
for _, v in pairs(game:GetDescendants()) do
if v:IsA("RemoteEvent") or v:IsA("RemoteFunction") then
print(v:GetFullName())
end
end
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text="Remotes a konzolon (F9 nyisd meg)!", Duration=4})
end)
CreateSimpleButton("🔓 Unlock Minden Item", function()
for _, v in pairs(game:GetDescendants()) do
if v:IsA("BoolValue") and (string.find(v.Name:lower(), "own") or string.find(v.Name:lower(), "unlock") or string.find(v.Name:lower(), "owned")) then
v.Value = true
end
end
StarterGui:SetCore("SendNotification", {Title="Yenx Hub", Text="Minden unlockolva!", Duration=3})
end)
local GuiOpen = false
Icon.MouseButton1Click:Connect(function()
GuiOpen = not GuiOpen
MainFrame.Visible = GuiOpen
TweenService:Create(Icon, TweenInfo.new(0.3, Enum.EasingStyle.Back), {Rotation = GuiOpen and 360 or 0, Size = UDim2.new(0, GuiOpen and 80 or 70, 0, GuiOpen and 80 or 70)}):Play()
end)
StarterGui:SetCore("SendNotification", {
Title = "Yenx Hub v6.0 (Fixed)";
Text = "Betöltve! Kattints a Y ikonra bal alul! Minden KI/BE kapcsolható!";
Duration = 8;
})
print("Yenx Hub v6.0 - Script! 🔥")