--[[ -- // HFL HUB | Universal + Prison Life // -- Made by rezan100000 | Fixed by ChatGPT -- Press K to toggle UI ]] local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local Window = Rayfield:CreateWindow({ Name = "HFL HUB", Icon = 0, LoadingTitle = "HFL HUB | Universal + Prison Life", LoadingSubtitle = "Script by rezan100000 (roblox)", Theme = "Default", ToggleUIKeybind = Enum.KeyCode.K, ConfigurationSaving = {Enabled = true, FolderName = "HFLHUB_Config", FileName = "HFLHUB_Settings"}, Discord = {Enabled = true, Invite = "vegax", RememberJoins = true}, KeySystem = true, KeySettings = {Title = "HFL HUB | Key System", Subtitle = "Universal Script", Note = "Enter key: LOLXD", FileName = "HFLHUB_Key", SaveKey = true, GrabKeyFromSite = false, Key = {"LOLXD"}} }) -------------------------------------------------------- -- UNIVERSAL TAB -------------------------------------------------------- local MainTab = Window:CreateTab("Home", 121236226623941) MainTab:CreateSection("Information") Rayfield:Notify({Title = "HFL HUB", Content = "Universal Script Loaded Successfully!", Duration = 6.5, Image = 4483362458}) -------------------------------------------------------- -- GAMEPLAY TAB -------------------------------------------------------- local GameplayTab = Window:CreateTab("Gameplay", 110637137845622) GameplayTab:CreateSection("Player Settings") -- WalkSpeed Slider local currentSpeed = 16 GameplayTab:CreateSlider({Name="Walk Speed", Range={16,100}, Increment=1, CurrentValue=16, Flag="WalkSpeed", Callback=function(value) currentSpeed = value if speedEnabled then local plr = game.Players.LocalPlayer if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then plr.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = currentSpeed end end end}) -- JumpPower Slider GameplayTab:CreateSlider({Name="Jump Power", Range={50,200}, Increment=5, CurrentValue=50, Flag="JumpPower", Callback=function(value) local plr = game.Players.LocalPlayer if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then plr.Character:FindFirstChildOfClass("Humanoid").JumpPower = value end end}) -- Infinite Jump local infinJumpStarted = nil local infinJump = false GameplayTab:CreateButton({Name="Infinite Jump (Toggle)", Callback=function() infinJump = not infinJump if infinJumpStarted == nil then infinJumpStarted = true game.StarterGui:SetCore("SendNotification",{Title="HFL HUB", Text="Infinite Jump Ready!", Duration=5}) local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gp) if gp or not infinJump then return end if input.UserInputType==Enum.UserInputType.Keyboard and input.KeyCode==Enum.KeyCode.Space then local humanoid = game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end) end game.StarterGui:SetCore("SendNotification",{Title="HFL HUB", Text="Infinite Jump "..(infinJump and "enabled" or "disabled"), Duration=3}) end}) -- Speed Toggle local speedEnabled = false GameplayTab:CreateToggle({Name="Enable Custom Speed", CurrentValue=false, Flag="SpeedToggle", Callback=function(value) speedEnabled = value game.StarterGui:SetCore("SendNotification",{Title="HFL HUB", Text="Custom Speed "..(speedEnabled and "Enabled" or "Disabled"), Duration=3}) if speedEnabled and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = currentSpeed end end}) game.Players.LocalPlayer.CharacterAdded:Connect(function(char) task.wait(0.5) local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid and speedEnabled then humanoid.WalkSpeed = currentSpeed end end) -------------------------------------------------------- -- UTILITIES TAB -------------------------------------------------------- local UtilityTab = Window:CreateTab("Utilities", 4483362458) UtilityTab:CreateButton({Name="Reset Character", Callback=function() local plr = game.Players.LocalPlayer if plr and plr.Character then plr.Character:BreakJoints() end end}) -------------------------------------------------------- -- FIEN TAB -------------------------------------------------------- local FienTab = Window:CreateTab("Fien", 4483362458) FienTab:CreateSection("Fien Section") FienTab:CreateButton({Name="Fien Spam", Callback=function() local plr = game.Players.LocalPlayer if plr and game.ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents") then Rayfield:Notify({Title="HFL HUB", Content="Spamming 'fien fien fien fien fien yeah!'", Duration=4}) spawn(function() for i=1,25 do game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("fien fien fien fien fien yeah!","All") task.wait(0.3) end end) end end}) -------------------------------------------------------- -- PRISON LIFE TAB -------------------------------------------------------- if game.PlaceId == 155615604 then local PrisonTab = Window:CreateTab("Prison Life", 6023426915) PrisonTab:CreateSection("Exclusive Features") Rayfield:Notify({Title="HFL HUB", Content="Prison Life features unlocked!", Duration=5}) -- Teleport & Get Guns PrisonTab:CreateButton({Name="Get All Guns (with Teleport)", Callback=function() local plr = game.Players.LocalPlayer local guns = { {name="M9", pos=workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP.Position}, {name="Remington 870", pos=workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP.Position}, {name="AK-47", pos=workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP.Position} } for _, gun in ipairs(guns) do if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then plr.Character:MoveTo(gun.pos + Vector3.new(0,2,0)) task.wait(0.4) pcall(function() game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver[gun.name].ITEMPICKUP) end) task.wait(0.3) end end Rayfield:Notify({Title="HFL HUB", Content="Teleported to each gun spawn and picked them up!", Duration=4}) end}) -- Teleports PrisonTab:CreateButton({Name="Teleport: Yard", Callback=function() game.Players.LocalPlayer.Character:MoveTo(Vector3.new(839,97,2327)) end}) PrisonTab:CreateButton({Name="Teleport: Armory", Callback=function() game.Players.LocalPlayer.Character:MoveTo(Vector3.new(823,100,2250)) end}) PrisonTab:CreateButton({Name="Teleport: Prison Cells", Callback=function() game.Players.LocalPlayer.Character:MoveTo(Vector3.new(915,99,2452)) end}) -- Team Changer Buttons PrisonTab:CreateButton({Name="Become Guard", Callback=function() game.Players.LocalPlayer.Team = game.Teams:FindFirstChild("Guards") game.Players.LocalPlayer.Character:MoveTo(Vector3.new(839,97,2327)) -- Yard spawn end}) PrisonTab:CreateButton({Name="Become Inmate", Callback=function() game.Players.LocalPlayer.Team = game.Teams:FindFirstChild("Prisoners") game.Players.LocalPlayer.Character:MoveTo(Vector3.new(915,99,2452)) -- Cell spawn end}) PrisonTab:CreateButton({Name="Become Criminal", Callback=function() game.Players.LocalPlayer.Team = game.Teams:FindFirstChild("Criminals") game.Players.LocalPlayer.Character:MoveTo(Vector3.new(1005,97,2452)) -- Criminal spawn end}) -- Arrest All PrisonTab:CreateButton({Name="Arrest All (Police Only)", Callback=function() local plr = game.Players.LocalPlayer if plr.Team and plr.Team.Name=="Guards" then for _, target in pairs(game.Players:GetPlayers()) do if target.Team and target.Team.Name=="Criminals" then game.Workspace.Remote.arrest:InvokeServer(target.Character.HumanoidRootPart) end end Rayfield:Notify({Title="HFL HUB", Content="Attempted to arrest all criminals.", Duration=4}) else Rayfield:Notify({Title="HFL HUB", Content="You must be a Guard to use this.", Duration=4}) end end}) end Rayfield:Notify({Title="HFL HUB", Content="All systems ready. Press 'K' to toggle the menu.", Duration=5})