Instantly share code, notes, and snippets.
Created
January 22, 2026 02:22
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
-
Save sla123-br/ff3749223f0749ac972824aa2890864c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() | |
| local Window = Rayfield:CreateWindow({ | |
| Name = "🎮 Game hub | Best menu", | |
| LoadingTitle = "Carregando Hub Completo...", | |
| LoadingSubtitle = "By: eocalvo", | |
| ConfigurationSaving = { Enabled = false } | |
| }) | |
| local Players = game:GetService("Players") | |
| local RunService = game:GetService("RunService") | |
| local UserInputService = game:GetService("UserInputService") | |
| local TeleportService = game:GetService("TeleportService") | |
| local HttpService = game:GetService("HttpService") | |
| local Lighting = game:GetService("Lighting") | |
| local plr = Players.LocalPlayer | |
| local Config = { | |
| Fly = { Enabled = false, Speed = 1 }, | |
| InfJump = false, | |
| NoClip = false, | |
| Speed = { Enabled = false, Value = 16 }, | |
| Jump = { Enabled = false, Value = 50 }, | |
| FOV = 70, | |
| FPSCap = 60, | |
| ESP = false, | |
| BypassTouch = false, | |
| AutoClicker = false | |
| } | |
| local bg, bv | |
| local tpwalking = false | |
| local function toggleFly(state) | |
| Config.Fly.Enabled = state | |
| local char = plr.Character | |
| local hum = char and char:FindFirstChildOfClass("Humanoid") | |
| local root = char and (char:FindFirstChild("HumanoidRootPart")) | |
| if state and char and hum and root then | |
| char.Animate.Disabled = true | |
| for _, v in next, hum:GetPlayingAnimationTracks() do v:AdjustSpeed(0) end | |
| local states = {"Climbing","FallingDown","Flying","Freefall","GettingUp","Jumping","Landed","Physics","PlatformStanding","Ragdoll","Running","RunningNoPhysics","Seated","StrafingNoPhysics","Swimming"} | |
| for _, s in pairs(states) do hum:SetStateEnabled(Enum.HumanoidStateType[s], false) end | |
| hum:ChangeState(Enum.HumanoidStateType.Swimming) | |
| hum.PlatformStand = true | |
| spawn(function() | |
| tpwalking = true | |
| while tpwalking and RunService.Heartbeat:Wait() and char and hum.Parent do | |
| if hum.MoveDirection.Magnitude > 0 then | |
| char:TranslateBy(hum.MoveDirection * Config.Fly.Speed) | |
| end | |
| end | |
| end) | |
| bg = Instance.new("BodyGyro", root) | |
| bg.P = 9e4 | |
| bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
| bg.cframe = root.CFrame | |
| bv = Instance.new("BodyVelocity", root) | |
| bv.velocity = Vector3.new(0, 0.1, 0) | |
| bv.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| spawn(function() | |
| local ctrl = {f = 0, b = 0, l = 0, r = 0} | |
| local lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
| local maxspeed = 50 | |
| local curSpeed = 0 | |
| while Config.Fly.Enabled and hum.Health > 0 do | |
| RunService.RenderStepped:Wait() | |
| ctrl.f = UserInputService:IsKeyDown(Enum.KeyCode.W) and 1 or 0 | |
| ctrl.b = UserInputService:IsKeyDown(Enum.KeyCode.S) and -1 or 0 | |
| ctrl.l = UserInputService:IsKeyDown(Enum.KeyCode.A) and -1 or 0 | |
| ctrl.r = UserInputService:IsKeyDown(Enum.KeyCode.D) and 1 or 0 | |
| if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then | |
| curSpeed = math.min(curSpeed + 0.5 + (curSpeed / maxspeed), maxspeed) | |
| else | |
| curSpeed = math.max(curSpeed - 1, 0) | |
| end | |
| if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then | |
| bv.velocity = ((workspace.CurrentCamera.CFrame.lookVector * (ctrl.f + ctrl.b)) + ((workspace.CurrentCamera.CFrame * CFrame.new(ctrl.l + ctrl.r, (ctrl.f + ctrl.b) * 0.2, 0).p) - workspace.CurrentCamera.CFrame.p)) * curSpeed | |
| lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} | |
| elseif curSpeed ~= 0 then | |
| bv.velocity = ((workspace.CurrentCamera.CFrame.lookVector * (lastctrl.f + lastctrl.b)) + ((workspace.CurrentCamera.CFrame * CFrame.new(lastctrl.l + lastctrl.r, (lastctrl.f + lastctrl.b) * 0.2, 0).p) - workspace.CurrentCamera.CFrame.p)) * curSpeed | |
| else | |
| bv.velocity = Vector3.new(0, 0, 0) | |
| end | |
| bg.cframe = workspace.CurrentCamera.CFrame * CFrame.Angles(-math.rad((ctrl.f + ctrl.b) * 50 * curSpeed / maxspeed), 0, 0) | |
| end | |
| end) | |
| else | |
| tpwalking = false | |
| if bg then bg:Destroy() end | |
| if bv then bv:Destroy() end | |
| if char and hum then | |
| char.Animate.Disabled = false | |
| hum.PlatformStand = false | |
| local states = {"Climbing","FallingDown","Flying","Freefall","GettingUp","Jumping","Landed","Physics","PlatformStanding","Ragdoll","Running","RunningNoPhysics","Seated","StrafingNoPhysics","Swimming"} | |
| for _, s in pairs(states) do hum:SetStateEnabled(Enum.HumanoidStateType[s], true) end | |
| hum:ChangeState(Enum.HumanoidStateType.Running) | |
| end | |
| end | |
| end | |
| RunService.Stepped:Connect(function() | |
| local char = plr.Character | |
| local hum = char and char:FindFirstChildOfClass("Humanoid") | |
| local hrp = char and char:FindFirstChild("HumanoidRootPart") | |
| if not char or not hum then return end | |
| if Config.Speed.Enabled then hum.WalkSpeed = Config.Speed.Value end | |
| if Config.Jump.Enabled then hum.JumpPower = Config.Jump.Value end | |
| if Config.NoClip then | |
| for _, v in ipairs(char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end | |
| end | |
| if Config.BypassTouch and hrp then | |
| for _, v in pairs(workspace:GetDescendants()) do | |
| if v:IsA("TouchTransmitter") then | |
| firetouchinterest(hrp, v.Parent, 0) | |
| firetouchinterest(hrp, v.Parent, 1) | |
| end | |
| end | |
| end | |
| if Config.AutoClicker then | |
| local VIM = game:GetService("VirtualInputManager") | |
| VIM:SendMouseButtonEvent(0, 0, 0, true, game, 1) | |
| VIM:SendMouseButtonEvent(0, 0, 0, false, game, 1) | |
| end | |
| workspace.CurrentCamera.FieldOfView = Config.FOV | |
| setfpscap(Config.FPSCap) | |
| end) | |
| UserInputService.InputBegan:Connect(function(input, gameProcessed) | |
| if not gameProcessed and Config.InfJump and input.KeyCode == Enum.KeyCode.Space then | |
| if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then | |
| plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) | |
| end | |
| end | |
| end) | |
| local TabPlayer = Window:CreateTab("Player", "user") | |
| TabPlayer:CreateToggle({Name = "Enable Fly", CurrentValue = false, Callback = function(v) toggleFly(v) end}) | |
| TabPlayer:CreateInput({Name = "Fly Speed Multiplier", PlaceholderText = "Velocidade...", Callback = function(t) Config.Fly.Speed = tonumber(t) or 1 end}) | |
| TabPlayer:CreateButton({Name = "Manual UP", Callback = function() if plr.Character then plr.Character.HumanoidRootPart.CFrame *= CFrame.new(0,2,0) end end}) | |
| TabPlayer:CreateButton({Name = "Manual DOWN", Callback = function() if plr.Character then plr.Character.HumanoidRootPart.CFrame *= CFrame.new(0,-2,0) end end}) | |
| TabPlayer:CreateToggle({Name = "Infinite Jump", CurrentValue = false, Callback = function(v) Config.InfJump = v end}) | |
| TabPlayer:CreateToggle({Name = "NoClip", CurrentValue = false, Callback = function(v) Config.NoClip = v end}) | |
| TabPlayer:CreateButton({Name = "Sit Character", Callback = function() if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then plr.Character:FindFirstChildOfClass("Humanoid").Sit = true end end}) | |
| TabPlayer:CreateButton({Name = "Unsit Character", Callback = function() if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then plr.Character:FindFirstChildOfClass("Humanoid").Sit = false end end}) | |
| TabPlayer:CreateButton({Name = "Platform gui", Callback = function() | |
| local SPEED = 6 | |
| local COLOR = Color3.fromRGB(0, 0, 0) | |
| local CLEARANCE = 0.1 | |
| local TOGGLE_KEY = Enum.KeyCode.L | |
| local TOGGLE_GAMEPAD = Enum.KeyCode.ButtonL3 | |
| local Players = game:GetService("Players") | |
| local RunService = game:GetService("RunService") | |
| local UserInputService = game:GetService("UserInputService") | |
| local plr = Players.LocalPlayer | |
| local gui = Instance.new("ScreenGui", game.CoreGui) | |
| gui.ResetOnSpawn = false | |
| local char, hrp, hum | |
| local platform | |
| local connection | |
| local enabled = false | |
| local currentY = 0 | |
| local function getCharacterParts(c) | |
| char = c | |
| hrp = c:WaitForChild("HumanoidRootPart", 10) | |
| hum = c:WaitForChild("Humanoid", 10) | |
| end | |
| if plr.Character then getCharacterParts(plr.Character) end | |
| plr.CharacterAdded:Connect(getCharacterParts) | |
| local function getFootOffset() | |
| if hum and hrp then | |
| if hum.RigType == Enum.HumanoidRigType.R15 then return hum.HipHeight + (hrp.Size.Y / 2) | |
| else return 3 end | |
| end | |
| return 3 | |
| end | |
| local function createPlatform() | |
| if platform then platform:Destroy() end | |
| platform = Instance.new("Part") | |
| platform.Name = "WalkPlatform" | |
| platform.Size = Vector3.new(6, 1, 6) | |
| platform.Anchored = true | |
| platform.CanCollide = true | |
| platform.Material = Enum.Material.Neon | |
| platform.Color = COLOR | |
| platform.Parent = workspace | |
| if hrp and hum then currentY = hrp.Position.Y - getFootOffset() - (platform.Size.Y / 2) end | |
| end | |
| local function removePlatform() if platform then platform:Destroy() platform = nil end end | |
| local function loop() | |
| if connection then connection:Disconnect() end | |
| connection = RunService.Heartbeat:Connect(function(dt) | |
| if enabled and platform and hrp and hum then | |
| currentY = currentY + (SPEED * dt) | |
| local offset = getFootOffset() | |
| local footY = hrp.Position.Y - offset - (platform.Size.Y / 2) | |
| if footY > currentY then currentY = footY end | |
| platform.CFrame = CFrame.new(hrp.Position.X, currentY, hrp.Position.Z) | |
| if platform.Parent == nil then createPlatform() end | |
| end | |
| end) | |
| end | |
| local frame = Instance.new("Frame", gui) | |
| frame.Size = UDim2.fromScale(0.14, 0.12) | |
| frame.Position = UDim2.fromScale(0.43, 0.43) | |
| frame.BackgroundColor3 = Color3.fromRGB(30, 31, 32) | |
| frame.BorderSizePixel = 0 | |
| frame.Active = true | |
| frame.Draggable = true | |
| Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) | |
| local toggle = Instance.new("TextButton", frame) | |
| toggle.Size = UDim2.fromScale(0.9, 0.5) | |
| toggle.Position = UDim2.fromScale(0.05, 0.4) | |
| toggle.Text = "Activate (L/L3)" | |
| toggle.Font = Enum.Font.GothamMedium | |
| toggle.TextScaled = true | |
| toggle.BackgroundColor3 = Color3.fromRGB(168, 199, 250) | |
| toggle.TextColor3 = Color3.fromRGB(10, 10, 10) | |
| Instance.new("UICorner", toggle).CornerRadius = UDim.new(0, 20) | |
| local function toggleScript() | |
| enabled = not enabled | |
| if enabled then | |
| toggle.Text = "Stop (L/L3)" | |
| toggle.BackgroundColor3 = Color3.fromRGB(242, 184, 181) | |
| toggle.TextColor3 = Color3.fromRGB(65, 14, 11) | |
| createPlatform() | |
| loop() | |
| else | |
| toggle.Text = "Activate (L/L3)" | |
| toggle.BackgroundColor3 = Color3.fromRGB(168, 199, 250) | |
| toggle.TextColor3 = Color3.fromRGB(10, 10, 10) | |
| removePlatform() | |
| if connection then connection:Disconnect() end | |
| end | |
| end | |
| toggle.MouseButton1Click:Connect(toggleScript) | |
| UserInputService.InputBegan:Connect(function(input, gameProcessed) | |
| if not gameProcessed then if input.KeyCode == TOGGLE_KEY or input.KeyCode == TOGGLE_GAMEPAD then toggleScript() end end | |
| end) | |
| local close = Instance.new("TextButton", frame) | |
| close.Size = UDim2.fromScale(0.2, 0.25) | |
| close.Position = UDim2.fromScale(0.75, 0.08) | |
| close.Text = "×" | |
| close.Font = Enum.Font.GothamBold | |
| close.TextScaled = true | |
| close.BackgroundColor3 = Color3.fromRGB(60, 64, 67) | |
| close.TextColor3 = Color3.fromRGB(230, 230, 230) | |
| Instance.new("UICorner", close).CornerRadius = UDim.new(1, 0) | |
| local minimize = Instance.new("TextButton", frame) | |
| minimize.Size = UDim2.fromScale(0.2, 0.25) | |
| minimize.Position = UDim2.fromScale(0.52, 0.08) | |
| minimize.Text = "−" | |
| minimize.Font = Enum.Font.GothamBold | |
| minimize.TextScaled = true | |
| minimize.BackgroundColor3 = Color3.fromRGB(60, 64, 67) | |
| minimize.TextColor3 = Color3.fromRGB(230, 230, 230) | |
| Instance.new("UICorner", minimize).CornerRadius = UDim.new(1, 0) | |
| local title = Instance.new("TextLabel", frame) | |
| title.Size = UDim2.fromScale(0.45, 0.25) | |
| title.Position = UDim2.fromScale(0.05, 0.08) | |
| title.Text = "🎮 Game platform" | |
| title.Font = Enum.Font.GothamBold | |
| title.TextScaled = true | |
| title.BackgroundTransparency = 1 | |
| title.TextColor3 = Color3.fromRGB(230, 230, 230) | |
| title.TextXAlignment = Enum.TextXAlignment.Left | |
| local mini = Instance.new("TextButton", gui) | |
| mini.Size = UDim2.fromScale(0.05, 0.05) | |
| mini.Position = UDim2.fromScale(0.03, 0.45) | |
| mini.Text = "+" | |
| mini.Font = Enum.Font.GothamBold | |
| mini.TextScaled = true | |
| mini.Visible = false | |
| mini.BackgroundColor3 = Color3.fromRGB(30, 31, 32) | |
| mini.TextColor3 = Color3.fromRGB(168, 199, 250) | |
| Instance.new("UICorner", mini).CornerRadius = UDim.new(1, 0) | |
| close.MouseButton1Click:Connect(function() if connection then connection:Disconnect() end removePlatform() gui:Destroy() end) | |
| minimize.MouseButton1Click:Connect(function() frame.Visible = false mini.Visible = true end) | |
| mini.MouseButton1Click:Connect(function() frame.Visible = true mini.Visible = false end) | |
| end}) | |
| local TabSpeed = Window:CreateTab("Speed", "zap") | |
| TabSpeed:CreateToggle({Name = "Enable Speed", CurrentValue = false, Callback = function(v) Config.Speed.Enabled = v end}) | |
| TabSpeed:CreateInput({Name = "WalkSpeed Value", PlaceholderText = "16", Callback = function(t) Config.Speed.Value = tonumber(t) or 16 end}) | |
| local TabJump = Window:CreateTab("Jump", "chevron-up") | |
| TabJump:CreateToggle({Name = "Enable Jump", CurrentValue = false, Callback = function(v) Config.Jump.Enabled = v end}) | |
| TabJump:CreateInput({Name = "Jump Power Value", PlaceholderText = "50", Callback = function(t) Config.Jump.Value = tonumber(t) or 50 end}) | |
| local TabWorld = Window:CreateTab("World", 4483362458) | |
| TabWorld:CreateToggle({Name = "Auto Clicker", CurrentValue = false, Callback = function(v) Config.AutoClicker = v end}) | |
| TabWorld:CreateToggle({Name = "Bypass Touch", CurrentValue = false, Callback = function(v) Config.BypassTouch = v end}) | |
| TabWorld:CreateButton({Name = "Delete Floor (Target)", Callback = function() local t = plr:GetMouse().Target if t then t:Destroy() end end}) | |
| local TabVisuals = Window:CreateTab("Visuals", "eye") | |
| TabVisuals:CreateToggle({Name = "Enable ESP", CurrentValue = false, Callback = function(v) | |
| Config.ESP = v | |
| for _, p in pairs(Players:GetPlayers()) do | |
| if p ~= plr and p.Character then | |
| if v then local h = Instance.new("Highlight", p.Character); h.Name = "ESPHighlight" | |
| else if p.Character:FindFirstChild("ESPHighlight") then p.Character.ESPHighlight:Destroy() end end | |
| end | |
| end | |
| end}) | |
| TabVisuals:CreateInput({Name = "FOV Value", PlaceholderText = "70", Callback = function(t) Config.FOV = tonumber(t) or 70 end}) | |
| TabVisuals:CreateInput({Name = "FPS Cap", PlaceholderText = "60", Callback = function(t) Config.FPSCap = tonumber(t) or 60 end}) | |
| TabVisuals:CreateButton({Name = "FullBright", Callback = function() | |
| Lighting.Brightness = 2 | |
| Lighting.GlobalShadows = false | |
| Lighting.ClockTime = 14 | |
| end}) | |
| local TabOthers = Window:CreateTab("Others", "settings") | |
| TabOthers:CreateButton({Name = "🔘 Roblox Profile", Callback = function() setclipboard("https://www.roblox.com/share?code=369689f07747784daed7ac2c68d8b1ef&type=Profile") end}) | |
| TabOthers:CreateButton({Name = "💬 Discord", Callback = function() setclipboard("b3rnardoplays10ofc") end}) | |
| TabOthers:CreateButton({Name = "🎵 TikTok", Callback = function() setclipboard("https://www.tiktok.com/@b3rn4rdoplays10?_r=1&_t=ZS-93EqL9LEWAe") end}) | |
| TabOthers:CreateButton({Name = "Server Hop", Callback = function() | |
| local s = HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100")).data | |
| for _, v in pairs(s) do if v.playing < v.maxPlayers and v.id ~= game.JobId then TeleportService:TeleportToPlaceInstance(game.PlaceId, v.id, plr) break end end | |
| end}) | |
| TabOthers:CreateButton({Name = "Rejoin Server", Callback = function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, plr) end}) | |
| TabOthers:CreateButton({Name = "❌ Close menu", Callback = function() | |
| Rayfield:Destroy() | |
| end}) | |
| Rayfield:Notify({Title = "Sucesso!", Content = "Todas as funções foram carregadas!", Duration = 3}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment