local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Rayfield Example Window", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "Rayfield Interface Suite", LoadingSubtitle = "by Sirius", Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes 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 = "Frestyle Football" }, Discord = { Enabled = false, -- Prompt the user to join your Discord server if their executor supports it Invite = "noinvitelink", -- 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 = false, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key FileName = "Key", -- 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 = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22") } }) Rayfield:Notify({ Title = "Enjoy!", Content = "The script has been successfully initialized.", Duration = 5, Image = 4483362458, }) local Tab = Window:CreateTab("Main", 4483362458) -- Title, Image local Divider = Tab:CreateDivider() local Button = Tab:CreateButton({ Name = "Infinite Stamina!", Callback = function() local Players = game:GetService("Players") local lp = Players.LocalPlayer while true do local char = workspace.CharacterContainer:FindFirstChild(lp.Name) if char and char:FindFirstChild("Stats") then char.Stats.MaxStamina.Value = 100 char.Stats.Stamina.Value = 100 end wait() end end, }) local Slider = Tab:CreateSlider({ Name = "Slider Example", Range = {0, 1000}, Increment = 10, Suffix = "Make it speedy!!", CurrentValue = 10, Flag = "Walkspeed", -- 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) getgenv().Enabled = true -- Set to false to disable getgenv().Speed = Value -- Change this to your desired speed -- Change WalkSpeed continuously local player = game.Players.LocalPlayer while getgenv().Enabled do local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = getgenv().Speed end end wait() -- Wait for 0 seconds before repeating end end, }) local Button = Tab:CreateButton({ Name = "Destroy UI", Callback = function() Rayfield:Destroy() end, })