local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "🔥 Brainrot AutoHub",
LoadingTitle = "Brainrot AFK Hub",
LoadingSubtitle = "by OlkoYT",
ConfigurationSaving = {Enabled=false},
Discord = {Enabled=false},
KeySystem = false
})
-- Tabs
local MainTab = Window:CreateTab("🏠 Home", nil)
local TeleTab = Window:CreateTab("🏝 Teleports", nil)
local MiscTab = Window:CreateTab("🎲 Misc", nil)
-- GLOBALS
_G.autoBrainrot = false
_G.autoBuySecret = false
_G.autoStealBest = false
_G.speedMultiplier = 16
-- Infinite Jump
local Button = MainTab:CreateButton({
Name = "Infinite Jump Toggle",
Callback = function()
_G.infiniteJump = not _G.infiniteJump
if not _G.infiniteJumpStarted then
_G.infiniteJumpStarted = true
local plr = game:GetService('Players').LocalPlayer
local m = plr:GetMouse()
game.StarterGui:SetCore("SendNotification", {Title="Hub"; Text="Infinite Jump Activated!"; Duration=5})
m.KeyDown:Connect(function(k)
if _G.infiniteJump and k:byte() == 32 then
local humanoid = plr.Character:FindFirstChildOfClass('Humanoid')
if humanoid then
humanoid:ChangeState('Jumping')
wait()
humanoid:ChangeState('Seated')
end
end
end)
end
end
})
-- WalkSpeed Slider
MainTab:CreateSlider({
Name = "WalkSpeed",
Range = {1,350},
Increment = 1,
CurrentValue = 16,
Suffix = "Speed",
Callback = function(Value)
_G.speedMultiplier = Value
local humanoid = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
if humanoid then humanoid.WalkSpeed = Value end
end
})
-- Auto Brainrot Toggle
MainTab:CreateToggle({
Name = "Auto Brainrot AFK",
CurrentValue = false,
Callback = function(Value)
_G.autoBrainrot = Value
end
})
-- Auto Buy Secret Toggle
MainTab:CreateToggle({
Name = "Auto Buy Secret",
CurrentValue = false,
Callback = function(Value)
_G.autoBuySecret = Value
end
})
-- Auto Steal Best Items Toggle
MainTab:CreateToggle({
Name = "Auto Steal Best Items",
CurrentValue = false,
Callback = function(Value)
_G.autoStealBest = Value
end
})
-- Teleports
local teleportLocations = {
["Spawn"] = Vector3.new(0,5,0),
["Secret Area"] = Vector3.new(100,5,100),
["Hotspot"] = Vector3.new(-50,5,-50)
}
for name, pos in pairs(teleportLocations) do
TeleTab:CreateButton({
Name = name,
Callback = function()
local plr = game.Players.LocalPlayer
if plr.Character and plr.Character.PrimaryPart then
plr.Character:SetPrimaryPartCFrame(CFrame.new(pos))
end
end
})
end
-- Misc: NoClip
MiscTab:CreateToggle({
Name = "NoClip",
CurrentValue = false,
Callback = function(Value)
local plr = game.Players.LocalPlayer
if Value then
game:GetService("RunService").Stepped:Connect(function()
if plr.Character then
for _, part in pairs(plr.Character:GetChildren()) do
if part:IsA("BasePart") then part.CanCollide = false end
end
end
end)
else
if plr.Character then
for _, part in pairs(plr.Character:GetChildren()) do
if part:IsA("BasePart") then part.CanCollide = true end
end
end
end
end
})
-- MAIN LOOPS
spawn(function()
while wait(0.5) do
local plr = game.Players.LocalPlayer
if _G.autoBrainrot and plr.Character then
-- Tu podmieniasz na faktyczny sposób zbierania brainrot
local brain = workspace:FindFirstChild("Brainrot") -- placeholder
if brain then
plr.Character:SetPrimaryPartCFrame(brain.CFrame)
end
end
if _G.autoBuySecret then
local secretItem = workspace:FindFirstChild("SecretItem") -- placeholder
if secretItem then
firetouchinterest(plr.Character.PrimaryPart, secretItem, 0)
firetouchinterest(plr.Character.PrimaryPart, secretItem, 1)
end
end
if _G.autoStealBest then
local bestItem = workspace:FindFirstChild("BestItem") -- placeholder
if bestItem then
plr.Character:SetPrimaryPartCFrame(bestItem.CFrame)
end
end
end
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: