local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local Window = Rayfield:CreateWindow({ Name = "Bloxxed Hub", LoadingTitle = "Bloxxed", LoadingSubtitle = "Scripting Hub", ConfigurationSaving = {Enabled = true} }) local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Player = Players.LocalPlayer local Char, Hum, Root -------------------------------------------------- -- CHARACTER LOAD -------------------------------------------------- local function LoadChar() Char = Player.Character or Player.CharacterAdded:Wait() Hum = Char:WaitForChild("Humanoid") Root = Char:WaitForChild("HumanoidRootPart") end LoadChar() Player.CharacterAdded:Connect(LoadChar) -------------------------------------------------- -- VARIABLES -------------------------------------------------- local infJump = false local targetJumpPower = 50 local targetSpeed = 16 local flying = false local flySpeed = 60 local BV local noclip = false local savedPos local lastTP local spawnPos -------------------------------------------------- -- NOTIFY FUNCTION -------------------------------------------------- local function notify(text) Rayfield:Notify({Title="Bloxxed",Content=text,Duration=4}) end -------------------------------------------------- -- MAIN TAB -------------------------------------------------- local Main = Window:CreateTab("Main") -- Infinite Jump Main:CreateToggle({ Name="Infinite Jump", CurrentValue=false, Callback=function(v) infJump=v notify("Infinite Jump "..(v and "ON" or "OFF")) end}) UIS.JumpRequest:Connect(function() if infJump and Hum then Hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) -- WalkSpeed Main:CreateSlider({ Name="WalkSpeed", Range={16,200}, Increment=1, CurrentValue=16, Callback=function(v) targetSpeed = v end}) -- JumpPower (Mega Jump) Main:CreateSlider({ Name="JumpPower", Range={50,200}, Increment=1, CurrentValue=50, Callback=function(v) targetJumpPower = v end}) RunService.RenderStepped:Connect(function() if Hum then Hum.WalkSpeed = targetSpeed Hum.JumpPower = targetJumpPower end end) -- Fly Main:CreateSlider({ Name="Fly Speed", Range={20,200}, Increment=5, CurrentValue=60, Callback=function(v) flySpeed = v end}) Main:CreateToggle({ Name="Fly", CurrentValue=false, Callback=function(state) flying = state if flying and Root then BV = Instance.new("BodyVelocity") BV.MaxForce = Vector3.new(1,1,1)*999999 BV.Velocity = Vector3.zero BV.Parent = Root RunService:BindToRenderStep("BloxxedFly",0,function() local cam = workspace.CurrentCamera local moveDir = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then moveDir += Vector3.new(cam.CFrame.LookVector.X,0,cam.CFrame.LookVector.Z) end if UIS:IsKeyDown(Enum.KeyCode.S) then moveDir -= Vector3.new(cam.CFrame.LookVector.X,0,cam.CFrame.LookVector.Z) end if UIS:IsKeyDown(Enum.KeyCode.A) then moveDir -= Vector3.new(cam.CFrame.RightVector.X,0,cam.CFrame.RightVector.Z) end if UIS:IsKeyDown(Enum.KeyCode.D) then moveDir += Vector3.new(cam.CFrame.RightVector.X,0,cam.CFrame.RightVector.Z) end if UIS:IsKeyDown(Enum.KeyCode.Space) then moveDir += Vector3.new(0,1,0) end if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then moveDir -= Vector3.new(0,1,0) end BV.Velocity = moveDir.Magnitude>0 and moveDir.Unit*flySpeed or Vector3.zero end) else RunService:UnbindFromRenderStep("BloxxedFly") if BV then BV:Destroy() end end end}) -- Noclip RunService.Stepped:Connect(function() if noclip and Char then for _,v in pairs(Char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide=false end end end end) Main:CreateToggle({ Name="Noclip", CurrentValue=false, Callback=function(v) noclip=v end}) -- Anti AFK Main:CreateButton({ Name="Anti AFK", Callback=function() for _,v in pairs(getconnections(Player.Idled)) do v:Disable() end notify("Anti AFK Enabled") end}) -- No Gravity Swim Main:CreateToggle({ Name="No Gravity Swim", CurrentValue=false, Callback=function(v) if Hum then if v then Hum:ChangeState(Enum.HumanoidStateType.Swimming) workspace.Gravity = 0 else workspace.Gravity = 196.2 end end end}) -- Disable All Main:CreateButton({ Name="Disable All", Callback=function() infJump=false noclip=false flying=false RunService:UnbindFromRenderStep("BloxxedFly") if BV then BV:Destroy() end workspace.Gravity=196.2 if Hum then Hum.WalkSpeed=16 Hum.JumpPower=50 end notify("Everything Disabled") end}) -------------------------------------------------- -- TELEPORT TAB -------------------------------------------------- local TP = Window:CreateTab("Teleport") spawnPos = Root and Root.Position TP:CreateButton({ Name="Teleport To Spawn", Callback=function() if Root and spawnPos then lastTP = Root.Position Root.CFrame = CFrame.new(spawnPos) end end}) TP:CreateButton({ Name="Save Position", Callback=function() if Root then savedPos = Root.Position notify("Position Saved") end end}) TP:CreateButton({ Name="Teleport To Saved", Callback=function() if Root and savedPos then lastTP = Root.Position Root.CFrame = CFrame.new(savedPos) end end}) TP:CreateButton({ Name="Return To Last TP", Callback=function() if Root and lastTP then Root.CFrame = CFrame.new(lastTP) end end}) -------------------------------------------------- -- SETTINGS TAB -------------------------------------------------- local currentTheme = "Default" local previousTheme = "Default" Settings:CreateDropdown({ Name="Theme", Options={"Default","AmberGlow","Ocean","Light"}, CurrentOption={"Default"}, Callback=function(opt) previousTheme = currentTheme currentTheme = opt[1] Rayfield:SetTheme(currentTheme) end}) Settings:CreateButton({ Name="Reset To Previous Theme", Callback=function() Rayfield:SetTheme(previousTheme) end}) Settings:CreateKeybind({ Name="Toggle GUI", CurrentKeybind="RightControl", HoldToInteract=false, Callback=function() Rayfield:Toggle() end})