-- 🌟 RAYFIELD HUB w/ KEYBIND K + MOBILE BUTTON local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() -- 📱 MOBILE BUTTON (Top Middle) local ScreenGui = Instance.new("ScreenGui") local MobileButton = Instance.new("TextButton") ScreenGui.Name = "RayfieldMobile" ScreenGui.Parent = game.CoreGui ScreenGui.ResetOnSpawn = false MobileButton.Name = "OpenRayfield" MobileButton.Parent = ScreenGui MobileButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45) MobileButton.BorderSizePixel = 0 MobileButton.Position = UDim2.new(0.5, -75, 0, 10) -- Top Middle MobileButton.Size = UDim2.new(0, 150, 0, 40) MobileButton.Font = Enum.Font.GothamBold MobileButton.Text = "Open Rayfield" MobileButton.TextColor3 = Color3.fromRGB(255, 255, 255) MobileButton.TextScaled = true MobileButton.Active = true MobileButton.Draggable = true -- 🎮 MAIN WINDOW (HIDDEN BY DEFAULT) local Window = Rayfield:CreateWindow({ Name = "Salirora Hub 🌟", LoadingTitle = "Keybind: K | Mobile: Tap Button", LoadingSubtitle = "by Usefulaccountuser", ConfigurationSaving = { Enabled = true, FolderName = "RxHub", FileName = "Config" }, Discord = { Enabled = false } }) -- 🏠 MAIN TAB local MainTab = Window:CreateTab("Main", 4483362458) -- ✈️ FLY TOGGLE local Flying = false local FlySpeed = 50 MainTab:CreateToggle({ Name = "✈️ Fly", CurrentValue = false, Flag = "FlyToggle", Callback = function(Value) Flying = Value if Flying then local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local bodyVelocity = Instance.new("BodyVelocity") local bodyAngularVelocity = Instance.new("BodyAngularVelocity") bodyVelocity.MaxForce = Vector3.new(4000, 4000, 4000) bodyVelocity.Velocity = Vector3.new(0, 0, 0) bodyVelocity.Parent = humanoidRootPart bodyAngularVelocity.MaxTorque = Vector3.new(4000, 4000, 4000) bodyAngularVelocity.AngularVelocity = Vector3.new(0, 0, 0) bodyAngularVelocity.Parent = humanoidRootPart spawn(function() while Flying and humanoidRootPart.Parent do local camera = workspace.CurrentCamera local moveVector = humanoidRootPart.CFrame:VectorToWorldSpace(Vector3.new( 0, 0, 0 )) if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.W) then moveVector = moveVector + camera.CFrame.LookVector * FlySpeed end if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.S) then moveVector = moveVector - camera.CFrame.LookVector * FlySpeed end if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.A) then moveVector = moveVector - camera.CFrame.RightVector * FlySpeed end if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.D) then moveVector = moveVector + camera.CFrame.RightVector * FlySpeed end if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.Space) then moveVector = moveVector + Vector3.new(0, FlySpeed, 0) end if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftShift) then moveVector = moveVector - Vector3.new(0, FlySpeed, 0) end bodyVelocity.Velocity = moveVector wait() end if bodyVelocity then bodyVelocity:Destroy() end if bodyAngularVelocity then bodyAngularVelocity:Destroy() end end) end end, }) -- ⚡ SPEED SLIDER MainTab:CreateSlider({ Name = "⚡ Speed", Range = {16, 500}, Increment = 5, CurrentValue = 50, Flag = "SpeedSlider", Callback = function(Value) game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value end, }) -- 🎮 FLY SPEED SLIDER MainTab:CreateSlider({ Name = "✈️ Fly Speed", Range = {10, 500}, Increment = 10, CurrentValue = 50, Flag = "FlySpeedSlider", Callback = function(Value) FlySpeed = Value end, }) -- 👤 NOOB AVATAR TOGGLE MainTab:CreateToggle({ Name = "🟡 Become Basic Noob Avatar", CurrentValue = false, Flag = "NoobToggle", Callback = function(Value) local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() if Value then -- NOOB APPEARANCE for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.BrickColor = BrickColor.new("Light orange") end end -- RESET CLOTHING/ACCESSORIES for _, accessory in pairs(character:GetChildren()) do if accessory:IsA("Accessory") then accessory:Destroy() end end -- YELLOW SHIRT/PANTS local shirt = Instance.new("Shirt") shirt.ShirtTemplate = "rbxasset://textures/face.png" shirt.Parent = character local pants = Instance.new("Pants") pants.PantsTemplate = "rbxasset://textures/face.png" pants.Parent = character Rayfield:Notify({ Title = "Noob Mode ON!", Content = "Basic yellow noob avatar loaded!", Duration = 3 }) else -- RELOAD CHARACTER (resets to normal) player:LoadCharacter() end end, }) -- 🔑 KEYBIND K (PC) local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.K then Rayfield:Toggle() end end) -- 📱 MOBILE BUTTON FUNCTION MobileButton.MouseButton1Click:Connect(function() Rayfield:Toggle() end) -- 🎉 INITIAL NOTIFICATION Rayfield:Notify({ Title = "Hub Loaded! 🎮", Content = "PC: Press K | Mobile: Tap Button Above", Duration = 6, Image = 4483362458 }) print("🌟 Rayfield Hub Loaded! | K Keybind + Mobile Button Active!")