Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local settingsService = settings()
- local Rayfield = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Rayfield/main/source.lua"))()
- local Window = Rayfield:CreateWindow({Name = "Football GUI", HidePremium = false, SaveConfig = true, ConfigFolder = "FootballCFG"})
- local GameplayTab = Window:CreateTab("Gameplay", 4483362458)
- local JamSection = GameplayTab:CreateSection("Hitbox Settings")
- local JamRangeSlider = GameplayTab:CreateSlider({
- Name = "Hitbox Extender",
- Range = {0, 4},
- Increment = 0.05,
- Suffix = "yards",
- CurrentValue = 0.5,
- Flag = "JamRangeSlider",
- Callback = function(Value) end
- })
- local JamKeybind = GameplayTab:CreateKeybind({
- Name = "HBE Keybind",
- CurrentKeybind = "V",
- HoldToInteract = true,
- Flag = "JamTackleKeybind",
- Callback = function(isHeld)
- local Character = Players.LocalPlayer.Character
- local newjersey = Character and Character:FindFirstChildWhichIsA("Shirt")
- if not newjersey then return end
- local pos = Character.HumanoidRootPart.Position
- local closest, closestPlayer = 1000, nil
- for _, plr in ipairs(Players:GetPlayers()) do
- if plr ~= Players.LocalPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- local dist = (plr.Character.HumanoidRootPart.Position - pos).Magnitude
- if dist < closest then
- closest = dist
- closestPlayer = plr.Character
- end
- end
- end
- if closestPlayer and closest < JamRangeSlider.CurrentValue * 3 then
- firetouchinterest(newjersey, closestPlayer.HumanoidRootPart, 0)
- task.wait(0.05)
- firetouchinterest(newjersey, closestPlayer.HumanoidRootPart, 1)
- end
- end
- })
- local PingSection = GameplayTab:CreateSection("Ping Settings")
- GameplayTab:CreateLabel("Increase your ping by the selected amount.")
- local PingRangeSlider = GameplayTab:CreateSlider({
- Name = "Set Ping",
- Range = {0, 1000},
- Increment = 50,
- Suffix = "ms",
- CurrentValue = 0,
- Flag = "PingSet",
- Callback = function(Value)
- if settingsService and settingsService.Network and GameplayTab.Flags.PingToggle then
- settingsService.Network.IncomingReplicationLag = Value / 1000
- end
- end
- })
- local PingToggle = GameplayTab:CreateToggle({
- Name = "Ping Toggle",
- CurrentValue = false,
- Flag = "PingToggle",
- Callback = function(Value)
- if settingsService and settingsService.Network then
- settingsService.Network.IncomingReplicationLag = Value and (PingRangeSlider.CurrentValue / 1000) or 0
- end
- end
- })
- GameplayTab:CreateKeybind({
- Name = "Ping Toggle Keybind",
- CurrentKeybind = "P",
- HoldToInteract = false,
- Flag = "PingToggleKey",
- Callback = function()
- PingToggle:Set(not PingToggle.CurrentValue)
- end
- })
- local LagPhaseSection = GameplayTab:CreateSection("Lag Phase Settings")
- local LagPhaseSlider = GameplayTab:CreateSlider({
- Name = "Lag Phase Amount",
- Range = {0, 1000},
- Increment = 50,
- Suffix = "ms",
- CurrentValue = 0,
- Flag = "LagPhaseSlider",
- Callback = function(Value)
- if settingsService and settingsService.Network and GameplayTab.Flags.LagPhaseToggle then
- settingsService.Network.IncomingReplicationLag = Value / 1000
- end
- end
- })
- local LagPhaseToggle = GameplayTab:CreateToggle({
- Name = "Lag Phase Toggle",
- CurrentValue = false,
- Flag = "LagPhaseToggle",
- Callback = function(Value)
- if settingsService and settingsService.Network then
- settingsService.Network.IncomingReplicationLag = Value and (LagPhaseSlider.CurrentValue / 1000) or 0
- Rayfield:Notify({
- Title = "Lag Phase",
- Content = Value and "Lag Phase is enabled." or "Lag Phase is disabled",
- Duration = 2,
- Image = 4483362458
- })
- end
- end
- })
- GameplayTab:CreateKeybind({
- Name = "Lag Phase Keybind",
- CurrentKeybind = "R",
- HoldToInteract = false,
- Flag = "LagPhaseKeybind",
- Callback = function()
- LagPhaseToggle:Set(not LagPhaseToggle.CurrentValue)
- end
- })
- Rayfield:Notify({
- Title = "Football GUI Loaded",
- Content = "Fully Optimized Systems Loaded",
- Duration = 5,
- Image = 4483362458
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement