local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

-- Flee the facility

if game.PlaceId == 137851560920458 or game.PlaceId == 893973440 then
    local Window = Rayfield:CreateWindow({
       Name = "Rayfield",
       Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
       LoadingTitle = "Rayfield: Flee The Facility",
       LoadingSubtitle = "by LemoNeedle",
       Theme = "Default", -- Check https://[Log in to view URL]
    
       ToggleUIKeybind = "K", -- The keybind to toggle the UI visibility (string like "K" or Enum.KeyCode)
    
       DisableRayfieldPrompts = false,
       DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
    
       ConfigurationSaving = {
          Enabled = true,
          FolderName = nil, -- Create a custom folder for your hub/game
          FileName = "rayfieldhub"
       },
    
       Discord = {
          Enabled = true, -- Prompt the user to join your Discord server if their executor supports it
          Invite = "vegax", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
          RememberJoins = true -- Set this to false to make them join the discord every time they load it up
       },
    
       KeySystem = true, -- Set this to true to use our key system
       KeySettings = {
          Title = "Rayfield | Key",
          Subtitle = "Flee The Facility",
          Note = "Join discord server to get the key.", -- Use this to tell the user how to get a key
          FileName = "rayfieldKey", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
          SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
          GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
          Key = {"https://[Log in to view URL]"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
       }
    })

    local MainTab = Window:CreateTab("Home", 121236226623941) -- Title, Image
    local InfoSection = MainTab:CreateSection("Information")

    Rayfield:Notify({
       Title = "Rayfield",
       Content = "Flee The Facility is now in YOUR hands.",
       Duration = 6.5,
       Image = 4483362458,
    })

    local GameplayTab = Window:CreateTab("Gameplay", 110637137845622) -- Title, Image
    local DefaultGameplaySection = GameplayTab:CreateSection("General")
    local WalkSpeedSlider = GameplayTab:CreateSlider({
       Name = "Walk Speed",
       Range = {16, 100},
       Increment = 1,
       Suffix = "",
       CurrentValue = 16,
       Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
       Callback = function(Value)
       game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
       end,
    })
    local InfiniteJumpButton = Tab:CreateButton({
       Name = "Button Example",
       Callback = function()
              --Toggles the infinite jump between on or off on every script run
        _G.infinjump = not _G.infinjump
        
        if _G.infinJumpStarted == nil then
            --Ensures this only runs once to save resources
            _G.infinJumpStarted = true
            
            --Notifies readiness
            game.StarterGui:SetCore("SendNotification", {Title="Youtube Hub"; Text="Infinite Jump Activated!"; Duration=5;})
        
            --The actual infinite jump
            local plr = game:GetService('Players').LocalPlayer
            local m = plr:GetMouse()
            m.KeyDown:connect(function(k)
                if _G.infinjump then
                    if k:byte() == 32 then
                    humanoid = game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass('Humanoid')
                    humanoid:ChangeState('Jumping')
                    wait()
                    humanoid:ChangeState('Seated')
                    end
                end
            end)
        end
       end,
    })

    local BeastSection = GameplayTab:CreateSection("Beast")

    
end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: