local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Useful Hub", LoadingTitle = "Useful Hub", LoadingSubtitle = "by iclaudianeo", ConfigurationSaving = { Enabled = true, FolderName = "UsefulHub", FileName = "ScriptConfig" }, Discord = { Enabled = false, Invite = "", RememberJoins = true }, KeySystem = false, KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", FileName = "Key", SaveKey = true, GrabKeyFromSite = false, Key = {"12345"} } }) -- Make the outer darker area draggable task.spawn(function() task.wait(0.5) local screenGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild("Rayfield") if not screenGui then return end local mainFrame = screenGui:FindFirstChild("Main") if not mainFrame then return end local outerFrame = mainFrame:FindFirstChild("OuterFrame") if not outerFrame then return end local dragging = false local dragStart = Vector2.new(0, 0) local startPos = UDim2.new(0, 0, 0, 0) local userInputService = game:GetService("UserInputService") outerFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) userInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart local newX = startPos.X.Offset + delta.X local newY = startPos.Y.Offset + delta.Y local screenSize = userInputService:GetScaledRect().Size local frameSize = mainFrame.AbsoluteSize newX = math.clamp(newX, 0, screenSize.X - frameSize.X) newY = math.clamp(newY, 0, screenSize.Y - frameSize.Y) mainFrame.Position = UDim2.new(0, newX, 0, newY) end end) end) local MainTab = Window:CreateTab("Scripts", 4483362458) local MainSection = MainTab:CreateSection("Script Toggles") -- Script 1: Ali Fly _G.AliFlyEnabled = false _G.AliFlyConnection = nil MainTab:CreateToggle({ Name = "Ali Fly", CurrentValue = false, Flag = "AliFly", Callback = function(Value) _G.AliFlyEnabled = Value if Value then local success, err = pcall(function() loadstring(game:HttpGet("https://pastefy.app/5ncFPiTu/raw"))() end) if not success then Rayfield:Notify({Title = "Ali Fly Error", Content = "Failed to load script: " .. tostring(err), Duration = 5}) end else if _G.AliFlyConnection then _G.AliFlyConnection:Disconnect() _G.AliFlyConnection = nil end _G.AliFlyEnabled = false end end }) -- Script 2: Automatic Interact _G.AutoInteractEnabled = false _G.AutoInteractConnection = nil MainTab:CreateToggle({ Name = "Automatic Interact", CurrentValue = false, Flag = "AutoInteract", Callback = function(Value) _G.AutoInteractEnabled = Value if Value then local Players = game:GetService("Players") local player = Players.LocalPlayer _G.AutoInteractConnection = game:GetService("RunService").Heartbeat:Connect(function() if not _G.AutoInteractEnabled then return end local character = player.Character or player.CharacterAdded:Wait() local rootPart = character:WaitForChild("HumanoidRootPart") for _, instance in ipairs(workspace:GetDescendants()) do if instance:IsA("ProximityPrompt") then local prompt = instance local targetPart = prompt.Parent if targetPart and targetPart:IsA("BasePart") and rootPart and rootPart.Parent then local distance = (targetPart.Position - rootPart.Position).Magnitude if distance <= prompt.MaxActivationDistance then prompt:InputHoldBegin() task.wait(prompt.HoldDuration) prompt:InputHoldEnd() end end end end task.wait(0.2) end) else if _G.AutoInteractConnection then _G.AutoInteractConnection:Disconnect() _G.AutoInteractConnection = nil end end end }) -- Script 3: Instant Interact _G.InstantInteractEnabled = false _G.InstantInteractConnection = nil MainTab:CreateToggle({ Name = "Instant Interact", CurrentValue = false, Flag = "InstantInteract", Callback = function(Value) _G.InstantInteractEnabled = Value if Value then local ProximityPromptService = game:GetService("ProximityPromptService") _G.InstantInteractConnection = ProximityPromptService.PromptButtonHoldBegan:Connect(function(prompt, player) if _G.InstantInteractEnabled then fireproximityprompt(prompt) end end) else if _G.InstantInteractConnection then _G.InstantInteractConnection:Disconnect() _G.InstantInteractConnection = nil end end end }) -- Script 4: Fullbright _G.FullBrightEnabled = false _G.FullBrightConnection = nil MainTab:CreateToggle({ Name = "Fullbright", CurrentValue = false, Flag = "Fullbright", Callback = function(Value) _G.FullBrightEnabled = Value if Value then if not _G.FullBrightExecuted then _G.NormalLightingSettings = { Brightness = game:GetService("Lighting").Brightness, ClockTime = game:GetService("Lighting").ClockTime, FogEnd = game:GetService("Lighting").FogEnd, GlobalShadows = game:GetService("Lighting").GlobalShadows, Ambient = game:GetService("Lighting").Ambient } game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function() if game:GetService("Lighting").Brightness ~= 1 and game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then _G.NormalLightingSettings.Brightness = game:GetService("Lighting").Brightness if not _G.FullBrightEnabled then repeat task.wait() until _G.FullBrightEnabled end game:GetService("Lighting").Brightness = 1 end end) game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function() if game:GetService("Lighting").ClockTime ~= 12 and game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then _G.NormalLightingSettings.ClockTime = game:GetService("Lighting").ClockTime if not _G.FullBrightEnabled then repeat task.wait() until _G.FullBrightEnabled end game:GetService("Lighting").ClockTime = 12 end end) game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function() if game:GetService("Lighting").FogEnd ~= 786543 and game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then _G.NormalLightingSettings.FogEnd = game:GetService("Lighting").FogEnd if not _G.FullBrightEnabled then repeat task.wait() until _G.FullBrightEnabled end game:GetService("Lighting").FogEnd = 786543 end end) game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(function() if game:GetService("Lighting").GlobalShadows ~= false and game:GetService("Lighting").GlobalShadows ~= _G.NormalLightingSettings.GlobalShadows then _G.NormalLightingSettings.GlobalShadows = game:GetService("Lighting").GlobalShadows if not _G.FullBrightEnabled then repeat task.wait() until _G.FullBrightEnabled end game:GetService("Lighting").GlobalShadows = false end end) game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function() if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178) and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then _G.NormalLightingSettings.Ambient = game:GetService("Lighting").Ambient if not _G.FullBrightEnabled then repeat task.wait() until _G.FullBrightEnabled end game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178) end end) game:GetService("Lighting").Brightness = 1 game:GetService("Lighting").ClockTime = 12 game:GetService("Lighting").FogEnd = 786543 game:GetService("Lighting").GlobalShadows = false game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178) _G.FullBrightExecuted = true spawn(function() repeat task.wait() until _G.FullBrightEnabled while task.wait() do if _G.FullBrightEnabled ~= _G.FullBrightLatestValue then if not _G.FullBrightEnabled then game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient else game:GetService("Lighting").Brightness = 1 game:GetService("Lighting").ClockTime = 12 game:GetService("Lighting").FogEnd = 786543 game:GetService("Lighting").GlobalShadows = false game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178) end _G.FullBrightLatestValue = not _G.FullBrightLatestValue end end end) end else if _G.FullBrightExecuted then game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient end end end }) -- Script 5: Noclip _G.NoclipEnabled = false _G.NoclipConnection = nil MainTab:CreateToggle({ Name = "Noclip", CurrentValue = false, Flag = "Noclip", Callback = function(Value) _G.NoclipEnabled = Value if Value then _G.NoclipConnection = game:GetService('RunService').Stepped:Connect(function() if _G.NoclipEnabled and game.Players.LocalPlayer.Character ~= nil then for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do if v:IsA('BasePart') and v.CanCollide then v.CanCollide = false end end end end) else if _G.NoclipConnection then _G.NoclipConnection:Disconnect() _G.NoclipConnection = nil end if game.Players.LocalPlayer.Character ~= nil then for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do if v:IsA('BasePart') then v.CanCollide = true end end end end end }) -- Script 6: FE Dash _G.FEDashEnabled = false _G.FEDashConnection = nil MainTab:CreateToggle({ Name = "FE Dash", CurrentValue = false, Flag = "FEDash", Callback = function(Value) _G.FEDashEnabled = Value if Value then local success, err = pcall(function() loadstring(game:HttpGet("https://pastefy.app/ZhKVgCK3/raw"))() end) if not success then Rayfield:Notify({Title = "FE Dash Error", Content = "Failed to load script: " .. tostring(err), Duration = 5}) end end end }) -- Script 7: Player Teleporter _G.Script7Enabled = false _G.Script7Connection = nil MainTab:CreateToggle({ Name = "Player Teleporter", CurrentValue = false, Flag = "Script7", Callback = function(Value) _G.Script7Enabled = Value if Value then local success, err = pcall(function() loadstring(game:HttpGet("https://pastefy.app/ypGIY08v/raw"))() end) if not success then Rayfield:Notify({Title = "Player Teleporter Error", Content = "Failed to load script: " .. tostring(err), Duration = 5}) end end end }) MainSection:Destroy() -- Status bar showing active scripts local StatusSection = MainTab:CreateSection("Status") local StatusLabel = MainTab:CreateLabel("Active Scripts: 0") spawn(function() while task.wait(1) do local count = 0 if _G.AliFlyEnabled then count = count + 1 end if _G.AutoInteractEnabled then count = count + 1 end if _G.InstantInteractEnabled then count = count + 1 end if _G.FullBrightEnabled then count = count + 1 end if _G.NoclipEnabled then count = count + 1 end if _G.FEDashEnabled then count = count + 1 end if _G.Script7Enabled then count = count + 1 end StatusLabel:Set("Active Scripts: " .. count) end end)