Advertisement
DonKid

Untitled

May 12th, 2025
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.56 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  3. local settingsService = settings()
  4.  
  5. local Rayfield = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Rayfield/main/source.lua"))()
  6. local Window = Rayfield:CreateWindow({Name = "Football GUI", HidePremium = false, SaveConfig = true, ConfigFolder = "FootballCFG"})
  7. local GameplayTab = Window:CreateTab("Gameplay", 4483362458)
  8.  
  9. local JamSection = GameplayTab:CreateSection("Hitbox Settings")
  10.  
  11. local JamRangeSlider = GameplayTab:CreateSlider({
  12.     Name = "Hitbox Extender",
  13.     Range = {0, 4},
  14.     Increment = 0.05,
  15.     Suffix = "yards",
  16.     CurrentValue = 0.5,
  17.     Flag = "JamRangeSlider",
  18.     Callback = function(Value) end
  19. })
  20.  
  21. local JamKeybind = GameplayTab:CreateKeybind({
  22.     Name = "HBE Keybind",
  23.     CurrentKeybind = "V",
  24.     HoldToInteract = true,
  25.     Flag = "JamTackleKeybind",
  26.     Callback = function(isHeld)
  27.         local Character = Players.LocalPlayer.Character
  28.         local newjersey = Character and Character:FindFirstChildWhichIsA("Shirt")
  29.         if not newjersey then return end
  30.         local pos = Character.HumanoidRootPart.Position
  31.         local closest, closestPlayer = 1000, nil
  32.         for _, plr in ipairs(Players:GetPlayers()) do
  33.             if plr ~= Players.LocalPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  34.                 local dist = (plr.Character.HumanoidRootPart.Position - pos).Magnitude
  35.                 if dist < closest then
  36.                     closest = dist
  37.                     closestPlayer = plr.Character
  38.                 end
  39.             end
  40.         end
  41.         if closestPlayer and closest < JamRangeSlider.CurrentValue * 3 then
  42.             firetouchinterest(newjersey, closestPlayer.HumanoidRootPart, 0)
  43.             task.wait(0.05)
  44.             firetouchinterest(newjersey, closestPlayer.HumanoidRootPart, 1)
  45.         end
  46.     end
  47. })
  48.  
  49. local PingSection = GameplayTab:CreateSection("Ping Settings")
  50. GameplayTab:CreateLabel("Increase your ping by the selected amount.")
  51.  
  52. local PingRangeSlider = GameplayTab:CreateSlider({
  53.     Name = "Set Ping",
  54.     Range = {0, 1000},
  55.     Increment = 50,
  56.     Suffix = "ms",
  57.     CurrentValue = 0,
  58.     Flag = "PingSet",
  59.     Callback = function(Value)
  60.         if settingsService and settingsService.Network and GameplayTab.Flags.PingToggle then
  61.             settingsService.Network.IncomingReplicationLag = Value / 1000
  62.         end
  63.     end
  64. })
  65.  
  66. local PingToggle = GameplayTab:CreateToggle({
  67.     Name = "Ping Toggle",
  68.     CurrentValue = false,
  69.     Flag = "PingToggle",
  70.     Callback = function(Value)
  71.         if settingsService and settingsService.Network then
  72.             settingsService.Network.IncomingReplicationLag = Value and (PingRangeSlider.CurrentValue / 1000) or 0
  73.         end
  74.     end
  75. })
  76.  
  77. GameplayTab:CreateKeybind({
  78.     Name = "Ping Toggle Keybind",
  79.     CurrentKeybind = "P",
  80.     HoldToInteract = false,
  81.     Flag = "PingToggleKey",
  82.     Callback = function()
  83.         PingToggle:Set(not PingToggle.CurrentValue)
  84.     end
  85. })
  86.  
  87. local LagPhaseSection = GameplayTab:CreateSection("Lag Phase Settings")
  88.  
  89. local LagPhaseSlider = GameplayTab:CreateSlider({
  90.     Name = "Lag Phase Amount",
  91.     Range = {0, 1000},
  92.     Increment = 50,
  93.     Suffix = "ms",
  94.     CurrentValue = 0,
  95.     Flag = "LagPhaseSlider",
  96.     Callback = function(Value)
  97.         if settingsService and settingsService.Network and GameplayTab.Flags.LagPhaseToggle then
  98.             settingsService.Network.IncomingReplicationLag = Value / 1000
  99.         end
  100.     end
  101. })
  102.  
  103. local LagPhaseToggle = GameplayTab:CreateToggle({
  104.     Name = "Lag Phase Toggle",
  105.     CurrentValue = false,
  106.     Flag = "LagPhaseToggle",
  107.     Callback = function(Value)
  108.         if settingsService and settingsService.Network then
  109.             settingsService.Network.IncomingReplicationLag = Value and (LagPhaseSlider.CurrentValue / 1000) or 0
  110.             Rayfield:Notify({
  111.                 Title = "Lag Phase",
  112.                 Content = Value and "Lag Phase is enabled." or "Lag Phase is disabled",
  113.                 Duration = 2,
  114.                 Image = 4483362458
  115.             })
  116.         end
  117.     end
  118. })
  119.  
  120. GameplayTab:CreateKeybind({
  121.     Name = "Lag Phase Keybind",
  122.     CurrentKeybind = "R",
  123.     HoldToInteract = false,
  124.     Flag = "LagPhaseKeybind",
  125.     Callback = function()
  126.         LagPhaseToggle:Set(not LagPhaseToggle.CurrentValue)
  127.     end
  128. })
  129.  
  130. Rayfield:Notify({
  131.     Title = "Football GUI Loaded",
  132.     Content = "Fully Optimized Systems Loaded",
  133.     Duration = 5,
  134.     Image = 4483362458
  135. })
  136.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement