local Rayfield = loadstring(game:HttpGet("https://sirius.menu/gen2"))() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local window = Rayfield:CreateWindow({local Rayfield = loadstring(game:HttpGet("https://sirius.menu/gen2"))() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Rayfield = loadstring(game:HttpGet("https://sirius.menu/gen2"))() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local window = Rayfield:CreateWindow({ name = "Solar Hub V2", subtitle = "A script hub ", -------------------------------------------------- -- Main Scripts Tab -------------------------------------------------- local tab = window:CreateTab({ name = "Main Scripts", icon = 93364949241311 }) -------------------------------------------------- -- Noclip -------------------------------------------------- local noclip = false tab:CreateToggle({ name = "Noclip", callback = function(value) noclip = value local character = LocalPlayer.Character if not character then return end if not value then for , part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end end end, }) RunService.Stepped:Connect(function() if not noclip then return end local character = LocalPlayer.Character if not character then return end for , part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end) -------------------------------------------------- -- Speed -------------------------------------------------- local currentSpeed = 16 tab:CreateSlider({ name = "Speed", range = {16, 120}, value = 16, callback = function(value) currentSpeed = value local character = LocalPlayer.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = value end end }) -------------------------------------------------- -- Jump Power -------------------------------------------------- local currentJumpPower = 90 tab:CreateSlider({ name = "Jump Power", range = {70, 1200}, value = 90, callback = function(value) currentJumpPower = value local character = LocalPlayer.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.UseJumpPower = true humanoid.JumpPower = value end end }) -------------------------------------------------- -- God Mode -------------------------------------------------- local godMode = false local godConnection = nil local function startGodMode() if godConnection then godConnection:Disconnect() end godConnection = RunService.Heartbeat:Connect(function() if not godMode then return end local character = LocalPlayer.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end if humanoid.Health > 0 and humanoid.Health < humanoid.MaxHealth then humanoid.Health = humanoid.MaxHealth end end) end local function stopGodMode() if godConnection then godConnection:Disconnect() godConnection = nil end end tab:CreateToggle({ name = "God Mode", callback = function(value) godMode = value if godMode then startGodMode() else stopGodMode() end end, }) -------------------------------------------------- -- Fly -------------------------------------------------- local flying = false local flySpeed = 60 local flyConnection = nil local function stopFly() flying = false if flyConnection then flyConnection:Disconnect() flyConnection = nil end local character = LocalPlayer.Character if not character then return end local root = character:FindFirstChild("HumanoidRootPart") if not root then return end root.AssemblyLinearVelocity = Vector3.zero end local function startFly() stopFly() local character = LocalPlayer.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") local root = character:FindFirstChild("HumanoidRootPart") if not humanoid or not root then return end flying = true flyConnection = RunService.RenderStepped:Connect(function() if not flying then return end if not character.Parent then stopFly() return end local camera = workspace.CurrentCamera if not camera then return end local cameraLook = camera.CFrame.LookVector local cameraRight = camera.CFrame.RightVector local forward = 0 local sideways = 0 local vertical = 0 if UserInputService:IsKeyDown(Enum.KeyCode.W) then forward += 1 end if UserInputService:IsKeyDown(Enum.KeyCode.S) then forward -= 1 end if UserInputService:IsKeyDown(Enum.KeyCode.D) then sideways += 1 end if UserInputService:IsKeyDown(Enum.KeyCode.A) then sideways -= 1 end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then vertical += 1 end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then vertical -= 1 end local movement = (cameraLook forward) + (cameraRight sideways) if movement.Magnitude > 1 then movement = movement.Unit end root.AssemblyLinearVelocity = (movement flySpeed) + Vector3.new(0, vertical flySpeed, 0) end) end tab:CreateToggle({ name = "Fly", callback = function(value) if value then startFly() else stopFly() end end, }) -------------------------------------------------- -- Fling All / Teleport All -------------------------------------------------- local flingAll = false tab:CreateToggle({ name = "Fling all (Use fling command from infinite yield before using)", callback = function(value) flingAll = value if value then task.spawn(function() for , player in ipairs(Players:GetPlayers()) do if not flingAll then break end if player ~= LocalPlayer then local targetCharacter = player.Character local targetRoot = targetCharacter and targetCharacter:FindFirstChild("HumanoidRootPart") local character = LocalPlayer.Character local root = character and character:FindFirstChild("HumanoidRootPart") if targetRoot and root then root.CFrame = targetRoot.CFrame + Vector3.new(0, 3, 0) task.wait(0.5) end end end end) end end, }) -------------------------------------------------- -- Aimbot - Look At Closest Player -------------------------------------------------- local ayEnabled = false local ayConnection = nil local function startAimbot() if ayConnection then ayConnection:Disconnect() ayConnection = nil end ayConnection = RunService.RenderStepped:Connect(function() if not ayEnabled then return end local character = LocalPlayer.Character if not character then return end local localRoot = character:FindFirstChild("HumanoidRootPart") if not localRoot then return end local closestPlayer = nil local closestDistance = math.huge for , player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer then local targetCharacter = player.Character local targetRoot = targetCharacter and targetCharacter:FindFirstChild("HumanoidRootPart") local targetHumanoid = targetCharacter and targetCharacter:FindFirstChildOfClass("Humanoid") if targetRoot and targetHumanoid and targetHumanoid.Health > 0 then local distance = (targetRoot.Position - localRoot.Position).Magnitude if distance < closestDistance then closestDistance = distance closestPlayer = player end end end end if closestPlayer then local targetCharacter = closestPlayer.Character local targetRoot = targetCharacter and targetCharacter:FindFirstChild("HumanoidRootPart") local camera = workspace.CurrentCamera if targetRoot and camera then camera.CFrame = CFrame.lookAt( camera.CFrame.Position, targetRoot.Position ) end end end) end tab:CreateToggle({ name = "Aimbot", callback = function(value) ayEnabled = value if ayEnabled then startAimbot() else if ayConnection then ayConnection:Disconnect() ayConnection = nil end end end, }) -------------------------------------------------- -- Mechanics Tab -------------------------------------------------- local mechanicsTab = window:CreateTab({ name = "Mechanics", icon = 93364949241311 }) -------------------------------------------------- -- FOV -------------------------------------------------- local currentFOV = 90 local fov = mechanicsTab:CreateSlider({ name = "FOV", range = {70, 120}, value = 90, callback = function(value) currentFOV = value local camera = workspace.CurrentCamera if camera then camera.FieldOfView = value end end, }) fov:Set(90) -------------------------------------------------- -- Auto Jump -------------------------------------------------- local autoJump = false local autoJumpConnection = nil local function stopAutoJump() autoJump = false if autoJumpConnection then autoJumpConnection:Disconnect() autoJumpConnection = nil end end local function startAutoJump() stopAutoJump() autoJump = true autoJumpConnection = RunService.Heartbeat:Connect(function() if not autoJump then return end local character = LocalPlayer.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid or humanoid.Health <= 0 then return end humanoid.Jump = true end) end mechanicsTab:CreateToggle({ name = "Auto Jump", callback = function(value) if value then startAutoJump() else stopAutoJump() end end, }) -------------------------------------------------- -- Respawn Handling -------------------------------------------------- LocalPlayer.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") -- Restore speed humanoid.WalkSpeed = currentSpeed -- Restore jump power humanoid.UseJumpPower = true humanoid.JumpPower = currentJumpPower -- Restore FOV task.wait() local camera = workspace.CurrentCamera if camera then camera.FieldOfView = currentFOV end -- Restore noclip if noclip then task.wait(0.5) for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end -- Restore god mode if godMode then task.wait(0.2) startGodMode() end -- Restore fly if flying then task.wait(0.5) startFly() end -- Restore aimbot if ayEnabled then task.wait(0.5) startAimbot() end end) local tab = window:CreateTab({ name = "Other scripts", icon = 93364949241311 }) tab:CreateButton({ name = "Infinite Yield", callback = function() --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))() end, }) tab:CreateButton({ name = "Dex++", callback = function() --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] loadstring(game:HttpGet("https://raw.githubusercontent.com/jodta/my-scripts/refs/heads/main/Dex%2B%2B/Decompiler%20Fix.lua"))() end, }) tab:CreateButton({ name = "Coolkid Gui", callback = function() --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] loadstring(game:HttpGet("https://raw.githubusercontent.com/cfsmi2/c00lguiv1/refs/heads/main/Main.lua", true))()