0% found this document useful (0 votes)
2K views70 pages

Ocean Hack V3 Lua GUI Script

ocean

Uploaded by

zaheihsang18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views70 pages

Ocean Hack V3 Lua GUI Script

ocean

Uploaded by

zaheihsang18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- // Gui 2 lua by vFishy / xn90ubwbzuqegtn \\ --

-- // Variables \\ --

local Ocean = {}

local RS = game:GetService("RunService")
local TS = game:GetService("TweenService")
local UIS = game:GetService("UserInputService")
local Mouse = game:GetService("Players").LocalPlayer:GetMouse()

function createInstance(className, properties)


local instance = [Link](className)
for k, v in pairs(properties) do
if typeof(k) ~= 'string' then
continue
end

instance[k] = v
end
return instance
end

local function CreateDrag(gui)


local dragging
local dragInput
local dragStart
local startPos

local function update(input)


local delta = [Link] - dragStart
TS:Create(gui, [Link](0.16, [Link],
[Link]), {Position = [Link]([Link],
[Link] + delta.X, [Link], [Link] +
delta.Y)}):Play();
end

local lastEnd = 0
local lastMoved = 0
local con
[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 or
[Link] == [Link] then
dragging = true
dragStart = [Link]
startPos = [Link]

end
end)

[Link]:Connect(function(input)

if [Link] == [Link].MouseButton1 or
[Link] == [Link] then
dragging = false
end
end)
[Link]:Connect(function(input)
if [Link] == [Link] or
[Link] == [Link] then
dragInput = input
lastMoved = [Link]()
end
end)

[Link]:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end

-- // Instances

local TyrantUI = [Link]("ScreenGui", RS:IsStudio() and


[Link] or gethui())
[Link] = [Link]

function Ocean:NewWindow()

local Window = {
CurrentTab = nil
}

local Main = createInstance("Frame", {


Name = "Main",
Position = [Link](0.248, 0.220),
Size = [Link](0.350, 0.550),
Parent = TyrantUI,
BackgroundColor3 = [Link](5, 11, 19),
BorderSizePixel = 0,
ZIndex = 1
})

local Divider1 = createInstance("Frame", {


Name = "Divider1",
Position = [Link](0.311, 0.000),
Size = [Link](0, 2, 1, 0),
Parent = Main,
BackgroundColor3 = [Link](22, 28, 36),
BorderSizePixel = 0,
ZIndex = 2
})

local Divider1_1 = createInstance("Frame", {


Name = "Divider1_1",
Position = [Link](0.311, 0.130),
Size = [Link](.689, 0, 0, 2),
Parent = Main,
BackgroundColor3 = [Link](22, 28, 36),
BorderSizePixel = 0,
ZIndex = 2
})
local TabHolder = createInstance("ScrollingFrame", {
Name = "TabHolder",
Position = [Link](0.000, 0.200),
Size = [Link](0.311, 0.800),
Parent = Main,
BackgroundTransparency = 1,
ScrollBarThickness = 0,
ClipsDescendants = true,
BackgroundColor3 = [Link](255, 255, 255),
BorderSizePixel = 0,
ZIndex = 3
})

local Title = createInstance("TextLabel", {


Name = "Title",
Position = [Link](0.029, 0.030),
Size = [Link](0.250, 0.100),
Parent = Main,
BackgroundTransparency = 1,
Font = [Link],
Text = '<font color="#77c2ed">Ocean</font>HackV3',
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
RichText = true,
TextWrapped = true,
TextColor3 = [Link](255, 255, 255),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 4
})

local TabLayout = createInstance("UIListLayout", {


Parent = TabHolder,
Padding = [Link](0, 5),
FillDirection = [Link],
HorizontalAlignment = [Link],
VerticalAlignment = [Link],
SortOrder = [Link]
})

local MainCorner = createInstance("UICorner", {


Parent = Main
})

local MainConstraint = createInstance("UIAspectRatioConstraint", {


AspectRatio = 1.251,
Parent = Main
})

CreateDrag(Main)

function Window:Tab(Title: string, ImageID: string)

local tab = {}

local Tab = createInstance("ImageButton", {


Name = "Tab",
Position = [Link](0.000, 0.000),
Size = [Link](0.800, 0.040),
Parent = TabHolder,
BackgroundTransparency = 1,
AutoButtonColor = false,
BackgroundColor3 = [Link](119, 194, 237),
BorderSizePixel = 0,
ZIndex = 1
})

local TabCorner = createInstance("UICorner", {


Parent = Tab,
CornerRadius = [Link](0, 6)
})

local TabTitle = createInstance("TextLabel", {


Name = "TabTitle",
Position = [Link](0.300, 0.500),
Size = [Link](0.700, 0.600),
Parent = Tab,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = Title or "Tab",
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](153, 153, 153),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

local Icon = createInstance("ImageLabel", {


Name = "Icon",
Position = [Link](0.044, 0.200),
Size = [Link](0.600, 0.600),
Parent = Tab,
BackgroundTransparency = 1,
BackgroundColor3 = [Link](255, 255, 255),
ImageColor3 = [Link](153, 153, 153),
Image = "rbxassetid://"..ImageID,
BorderSizePixel = 0,
ZIndex = 1
})

local IconConstraint = createInstance("UIAspectRatioConstraint", {


AspectRatio = 1.000,
Parent = Icon
})

local Canvas = createInstance("ScrollingFrame", {


Name = "Canvas",
Position = [Link](0.311, 0.150),
Size = [Link](0.689, 0.850),
Parent = Main,
BackgroundTransparency = 1,
ScrollBarThickness = 0,
ClipsDescendants = true,
Visible = false,
BackgroundColor3 = [Link](255, 255, 255),
AutomaticCanvasSize = [Link].Y,
BorderSizePixel = 0,
ZIndex = 1
})

local CanvasLayout = createInstance("UIListLayout", {


Parent = Canvas,
Padding = [Link](0, 10),
FillDirection = [Link],
HorizontalAlignment = [Link],
VerticalAlignment = [Link],
SortOrder = [Link]
})

local CanvasPad = createInstance("UIPadding", {


Parent = Canvas,
PaddingTop = [Link](0, 5)
})

local Path = createInstance("TextLabel", {


Name = "Path",
Position = [Link](0.350, 0.045),
Size = [Link](0.7, 0.055),
Parent = Main,
BackgroundTransparency = 1,
Font = [Link],
Text = 'Ocean Hack / FF2 / <font
color="#77c2ed">'..Title..'</font>',
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
RichText = true,
TextWrapped = true,
Visible = false,
TextColor3 = [Link](102, 102, 102),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

function tab:Activate()
if [Link] ~= nil then
[Link]:Deactivate()
end
[Link] = tab
TS:Create(Tab, [Link](0.1, [Link]),
{BackgroundTransparency =.5}):Play()
TS:Create(TabTitle, [Link](0.1, [Link]),
{TextColor3 = [Link](119, 194, 237)}):Play()
TS:Create(Icon, [Link](0.1, [Link]),
{ImageColor3 = [Link](119, 194, 237)}):Play()
[Link] = true
[Link] = true
end
function tab:Deactivate()
TS:Create(Tab, [Link](0.1, [Link]),
{BackgroundTransparency =1}):Play()
TS:Create(TabTitle, [Link](0.1, [Link]),
{TextColor3 = [Link](153, 153, 153)}):Play()
TS:Create(Icon, [Link](0.1, [Link]),
{ImageColor3 = [Link](153, 153, 153)}):Play()
[Link] = false
[Link] = false
end

Tab.MouseButton1Down:Connect(function()
tab:Activate()
end)

if [Link] == nil then


tab:Activate()
end

function tab:Toggle(Title: string, Options: table)

local Settings = {
Title = Title or "Toggle",
Value = [Link] or false,
Default = [Link] or false,
Callback = [Link] or function() end
}

local Toggle = createInstance("ImageButton", {


Name = "Toggle",
Position = [Link](0.000, 0.000),
Size = [Link](0.900, 0.10),
Parent = Canvas,
BackgroundTransparency = 0.8999999761581421,
BackgroundColor3 = [Link](119, 194, 237),
BorderSizePixel = 0,
ZIndex = 1,
AutoButtonColor = false
})

local ToggleCorner_12 = createInstance("UICorner", {


Parent = Toggle,
CornerRadius = [Link](0, 6)
})

local ToggleStroke_13 = createInstance("UIStroke", {


Parent = Toggle,
Color = [Link](119, 194, 237),
Thickness = 1,
Transparency = 0.5
})

local ToggleTitle_14 = createInstance("TextLabel", {


Name = "ToggleTitle_14",
Position = [Link](0.030, 0.500),
Size = [Link](.9, 0.500),
Parent = Toggle,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = [Link],
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](188, 188, 188),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

local Switch_15 = createInstance("Frame", {


Name = "Switch_15",
Position = [Link](0.850, 0.500),
Size = [Link](0.100, 0.300),
Parent = Toggle,
AnchorPoint = [Link](0, 0.5),
BackgroundColor3 = [Link](56, 56, 56),
BorderSizePixel = 0,
ZIndex = 1
})

local SwitchCorner_16 = createInstance("UICorner", {


Parent = Switch_15,
CornerRadius = [Link](1, 0)
})

local Knob_17 = createInstance("Frame", {


Name = "Knob_17",
Position = [Link](-0.150, 0.500),
Size = [Link](1.100, 1.500),
Parent = Switch_15,
AnchorPoint = [Link](0, 0.5),
BackgroundColor3 = [Link](171, 171, 171),
BorderSizePixel = 0,
ZIndex = 1
})

local KnobConstraint_18 =
createInstance("UIAspectRatioConstraint", {
AspectRatio = 1.000,
Parent = Knob_17
})

local KnobCorner_19 = createInstance("UICorner", {


Parent = Knob_17,
CornerRadius = [Link](1, 0)
})

function Settings:Toggle(v)
if v ~= nil then
[Link](v)
else
[Link] = not [Link]
[Link]([Link])
end
if [Link] then
TS:Create(Switch_15, [Link](0.1,
[Link]), {BackgroundColor3 = [Link](52, 51, 74)}):Play()
TS:Create(Knob_17, [Link](0.1,
[Link]), {BackgroundColor3 = [Link](119, 194, 237)}):Play()
TS:Create(Knob_17, [Link](0.1,
[Link]), {Position = [Link](0.550, 0.500)}):Play()
else
TS:Create(Switch_15, [Link](0.1,
[Link]), {BackgroundColor3 = [Link](56, 56, 56)}):Play()
TS:Create(Knob_17, [Link](0.1,
[Link]), {BackgroundColor3 = [Link](171, 171, 171)}):Play()
TS:Create(Knob_17, [Link](0.1,
[Link]), {Position = [Link](-0.150, 0.500)}):Play()
end
end

Settings:Toggle([Link])

Toggle.MouseButton1Down:Connect(function()
Settings:Toggle()
end)

return Settings
end

function tab:Slider(Title: string, Options: table)

local Settings = {
Title = Title or "Slider",
Default = [Link] or 0,
Value = [Link],
Min = [Link] or 0,
Max = [Link] or 100,
Callback = [Link] or function() end,
Connections = {}
}

local Slider = createInstance("ImageButton", {


Name = "Slider",
Position = [Link](0.000, 0.000, 0.000, 0.000),
Size = [Link](0.900, 0.000, 0.15, 0.000),
Parent = Canvas,
BackgroundTransparency = 0.8999999761581421,
BackgroundColor3 = [Link](119, 194, 237),
BorderSizePixel = 0,
ZIndex = 1,
AutoButtonColor = false
})

local SliderCorner = createInstance("UICorner", {


Parent = Slider,
CornerRadius = [Link](0, 6)
})

local SliderStroke = createInstance("UIStroke", {


Parent = Slider,
Color = [Link](119, 194, 237),
Thickness = 1,
Transparency = 0.5
})

local SliderAmount = createInstance("TextBox", {


Name = "SliderAmount",
Position = [Link](0.880, 0.000, 0.300, 0.000),
Size = [Link](0.100, 0.000, 0.350, 0.000),
Parent = Slider,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = [Link],
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](188, 188, 188),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

local SliderTitle = createInstance("TextLabel", {


Name = "SliderTitle",
Position = [Link](0.030, 0.000, 0.300, 0.000),
Size = [Link](0.900, 0.000, 0.350, 0.000),
Parent = Slider,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = [Link],
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](188, 188, 188),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

local SliderBack = createInstance("Frame", {


Name = "SliderBack",
Position = [Link](0.500, 0.000, 0.700, 0.000),
Size = [Link](0.930, 0.000, 0.000, 4.000),
Parent = Slider,
AnchorPoint = [Link](0.5, 0),
BackgroundColor3 = [Link](68, 95, 126),
BorderSizePixel = 0,
ZIndex = 1
})

local BackCorner = createInstance("UICorner", {


Parent = SliderBack,
CornerRadius = [Link](1, 0)
})
local SliderMain = createInstance("Frame", {
Name = "SliderMain",
Position = [Link](0.000, 0.000, 0.000, 0.000),
Size = [Link](0.431, 0.000, 0.000, 4.000),
Parent = SliderBack,
BackgroundColor3 = [Link](119, 194, 237),
BorderSizePixel = 0,
ZIndex = 1
})

local SMCorner = createInstance("UICorner", {


Parent = SliderMain,
CornerRadius = [Link](1, 0)
})

[Link]([Link])

-- // Functions

function Settings:GetValue()
return tonumber([Link])
end

function Settings:SetValue(v)
if not v then

local percent = [Link]((Mouse.X -


[Link].X) / ([Link].X), 0, 1)
local Value = (([Link] - [Link]) *
percent) + [Link]

[Link] = [Link](percent, 1)
[Link] = tonumber(Value % 1 == 0 and
[Link]("%.0f", Value) or [Link]("%.1f", Value))

else

[Link] = tonumber(v % 1 == 0 and


[Link]("%.0f", v) or [Link]("%.1f", v))
TS:Create(SliderMain, [Link](.15,
[Link]), {Size = [Link]((v - [Link]) / ([Link]
- [Link]), 1)}):Play()

end
[Link](Settings:GetValue())
[Link] = [Link]
end

-- // Input Listener

[Link]:Connect(function()
Settings:SetValue([Link]([Link],
[Link], [Link]))
end)

[Link]([Link],
[Link]:Connect(function(input, gpe)
if [Link] == [Link].MouseButton1
or [Link] == [Link] then
if Connection then
Connection:Disconnect()
Connection = nil
end
end
end))

[Link]([Link],
Slider.MouseButton1Down:Connect(function()
if Connection then Connection:Disconnect() end

Connection = [Link]:Connect(function()
Settings:SetValue()
end)
end))

return Settings
end

function tab:Dropdown(Title: string, Options: table)

local Settings = {
Title = Title or "Dropdown",
Default = [Link] or "None",
Options = [Link] or {},
Callback = [Link] or function() end
}

local Dropdown = createInstance("ImageButton", {


Name = "Dropdown",
Position = [Link](0.000, 0.000, 0.000, 0.000),
Size = [Link](0.900, 0.10),
Parent = Canvas,
BackgroundTransparency = 0.8999999761581421,
BackgroundColor3 = [Link](119, 194, 237),
BorderSizePixel = 0,
AutoButtonColor = false,
ZIndex = 20
})

local DropdownCorner = createInstance("UICorner", {


Parent = Dropdown,
CornerRadius = [Link](0, 6)
})

local DropdownStroke = createInstance("UIStroke", {


Parent = Dropdown,
Color = [Link](119, 194, 237),
Thickness = 1,
Transparency = 0.5
})

local DropdownTitle = createInstance("TextLabel", {


Name = "DropdownTitle",
Position = [Link](0.030, 0.000, 0.500, 0.000),
Size = [Link](0.000, 200.000, 0.500, 0.000),
Parent = Dropdown,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = [Link],
TextScaled = true,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](188, 188, 188),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

local Selected = createInstance("Frame", {


Name = "Selected",
Position = [Link](0.950, 0.000, 0.500, 0.000),
Size = [Link](0.100, 0.000, 0.500, 0.000),
Parent = Dropdown,
BackgroundTransparency = 0.5,
AnchorPoint = [Link](1, 0.5),
AutomaticSize = [Link].X,
BackgroundColor3 = [Link](0, 0, 0),
BorderSizePixel = 0,
ZIndex = 1
})

local SelectedCorner = createInstance("UICorner", {


Parent = Selected,
CornerRadius = [Link](0, 6)
})

local SelectedText = createInstance("TextLabel", {


Name = "SelectedText",
Position = [Link](0.000, 0.000, 0.500, 0.000),
Size = [Link](1.000, 0.000, 1.000, 0.000),
Parent = Selected,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = [Link],
AutomaticSize = [Link].X,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](188, 188, 188),
BackgroundColor3 = [Link](255, 255, 255),
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 1
})

local SelectedPad = createInstance("UIPadding", {


Parent = Selected,
PaddingLeft = [Link](0, 10),
PaddingRight = [Link](0, 10)
})
local OptionHolder = createInstance("Frame", {
Name = "OptionHolder",
Position = [Link](0.950, 0.000, 0.900, 0.000),
Size = [Link](0.100, 0.000, 0.000, 0.000),
Parent = Dropdown,
AnchorPoint = [Link](1, 0),
AutomaticSize = [Link],
BackgroundColor3 = [Link](10, 12, 19),
BorderSizePixel = 0,
Visible = false,
ZIndex = 1
})

local OptionLayout = createInstance("UIListLayout", {


Parent = OptionHolder,
FillDirection = [Link],
HorizontalAlignment = [Link],
VerticalAlignment = [Link],
SortOrder = [Link]
})

local OptionPad = createInstance("UIPadding", {


Parent = OptionHolder,
PaddingBottom = [Link](0, 5),
PaddingTop = [Link](0, 5),
PaddingLeft = [Link](0, 10),
PaddingRight = [Link](0, 10)
})

local OptionsCorner = createInstance("UICorner", {


Parent = OptionHolder,
CornerRadius = [Link](0, 6)
})

local DropdownStroke_1 = createInstance("UIStroke", {


Parent = OptionHolder,
Color = [Link](119, 194, 237),
Thickness = 1,
Transparency = 0.5
})

Dropdown.MouseButton1Down:Connect(function()
[Link] = not [Link]
end)

[Link]([Link], function(i, v)

local Option = createInstance("TextButton", {


Name = "Option",
Position = [Link](0.000, 0.000, 0.500, 0.000),
Size = [Link](0.195, 0.000, 0.000, 20.000),
Parent = OptionHolder,
BackgroundTransparency = 1,
AnchorPoint = [Link](0, 0.5),
Font = [Link],
Text = v,
AutomaticSize = [Link].X,
TextXAlignment = [Link],
TextYAlignment = [Link],
TextWrapped = true,
TextColor3 = [Link](188, 188, 188),
BackgroundColor3 = [Link](255, 255, 255),
AutoButtonColor = false,
TextSize = 14,
BorderSizePixel = 0,
ZIndex = 21
})

Option.MouseButton1Down:Connect(function()
[Link] = [Link]
[Link] = false
[Link]([Link])
end)

end)

return Settings
end

return tab
end

return Window
end
local on2
local on = false
local legmagdist = 10
local bldist = 25
local regdist = 20
local leaugdist = 4
local magType = "Unknown"
getgenv().msVersion = "Unknown"
getgenv().msSecondVerRange = 15
--// Mags made by 4dsdevalt on discord // --
local Players = game:GetService("Players")
local LocalPlayer = [Link] or [Link]:Wait()
local Character = [Link] or
[Link]:Wait()
local NewC
local CatchRight;

[Link](function()
while [Link]() do
[Link]:Connect(function(child)
if [Link] == "CatchRight" then
CatchRight = nil
end
end)
[Link]:Connect(function(child)
if [Link] == "CatchRight" then
CatchRight = child
end
end)
end
end)
[Link]:Connect(function(character)
wait()
Character = character
end)

local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")


--// Functions
local CustomFireTouchInterest = function(Part, Transmitter, Toggle)
if on and Transmitter and Part then
if (Toggle == 1) then
local Direction = ([Link] - [Link]).Unit
local Calculation = Direction + [Link](1, 1, 1)
[Link] = ([Link] + Calculation)
else
return
end
else
return
end
end

--// Main Loop


[Link](function()
CatchRight = Character:WaitForChild("CatchRight")
while [Link]() do
if on then
for Index, Object in next, workspace:GetChildren() do
if on then
if Object:IsA("BasePart") and [Link] == "Football" then
if msVersion == "Magnets V1" then
local Distance =
([Link] - [Link]).Magnitude
if [Link](getexecutorname(),
"Solara") or [Link](getexecutorname(), "Wind") or
[Link](getexecutorname(), "Zorara") then
if magType == "Legit" then
if (Distance <=
legmagdist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
elseif magType ==
"Blatant" then
if (Distance <=
bldist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
elseif magType ==
"Leauge" then
if (Distance <=
leaugdist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
elseif magType ==
"Regular" then
if (Distance <=
regdist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
end
else
if not firetouchinterest then
if magType == "Legit"
then
if (Distance <=
legmagdist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
elseif magType ==
"Blatant" then
if (Distance <=
bldist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
elseif magType ==
"Leauge" then
if (Distance <=
leaugdist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
elseif magType ==
"Regular" then
if (Distance <=
regdist) then

CustomFireTouchInterest(CatchRight, Object, 1)

CustomFireTouchInterest(CatchRight, Object, 1)
[Link]()

CustomFireTouchInterest(CatchRight, Object, 0)

CustomFireTouchInterest(CatchRight, Object, 0)
end
end
else
if magType == "Legit"
then
if (Distance <=
legmagdist) then

firetouchinterest(CatchRight, Object, 1)

firetouchinterest(CatchRight, Object, 1)
[Link]()

firetouchinterest(CatchRight, Object, 0)

firetouchinterest(CatchRight, Object, 0)
end
elseif magType ==
"Blatant" then
if (Distance <=
bldist) then

firetouchinterest(CatchRight, Object, 1)

firetouchinterest(CatchRight, Object, 1)
[Link]()

firetouchinterest(CatchRight, Object, 0)

firetouchinterest(CatchRight, Object, 0)
end
elseif magType ==
"Leauge" then
if (Distance <=
leaugdist) then

firetouchinterest(CatchRight, Object, 1)

firetouchinterest(CatchRight, Object, 1)
[Link]()

firetouchinterest(CatchRight, Object, 0)

firetouchinterest(CatchRight, Object, 0)
end
elseif magType ==
"Regular" then
if (Distance <=
regdist) then

firetouchinterest(CatchRight, Object, 1)

firetouchinterest(CatchRight, Object, 1)
[Link]()

firetouchinterest(CatchRight, Object, 0)

firetouchinterest(CatchRight, Object, 0)
end
end
end
end
else

[Link]:Connect(function(child)
if [Link] == "Football"
and child:IsA("BasePart") and on then
[Link] = false
[Link] =
[Link](msSecondVerRange, msSecondVerRange, msSecondVerRange)
end
end)
end
end
end
end
end
end
end)

local on3;
[Link](function()
[Link]:Connect(function(c)
if [Link] == "Football" and c:IsA("BasePart") then
local part = [Link]("Part")
[Link] = "visual"
[Link] = false
[Link] = workspace
[Link] = 0.5
[Link] = false

local function upd()


while on3 and on do
[Link]()
if magType == "Regular" then
[Link] = [Link](regdist, regdist,
regdist)
elseif magType == "Blatant" then
[Link] = [Link](bldist, bldist,
bldist)
elseif magType == "Legit" then
[Link] = [Link](legmagdist,
legmagdist, legmagdist)
elseif magType == "Leauge" then
[Link] = [Link](leaugdist,
leaugdist, leaugdist)
end
[Link] = [Link]
end
end

[Link](upd)

[Link](10, function()
if part and [Link] then
part:Destroy()
end
end)
end
end)
end)

local ScreenGui = [Link]("ScreenGui")


local Angle = [Link]("Frame")
local UICorner = [Link]("UICorner")
local UIStroke = [Link]("UIStroke")
local UIGradient = [Link]("UIGradient")
local TextLabel = [Link]("TextLabel")
local AngleNum = [Link]("TextLabel")
local Powa = [Link]("Frame")
local UICorner_2 = [Link]("UICorner")
local UIGradient_2 = [Link]("UIGradient")
local TextLabel_2 = [Link]("TextLabel")
local PowerNum = [Link]("TextLabel")
local UIStroke_2 = [Link]("UIStroke")
local Target = [Link]("Frame")
local UICorner_3 = [Link]("UICorner")
local UIGradient_3 = [Link]("UIGradient")
local TextLabel_3 = [Link]("TextLabel")
local TargetPlr = [Link]("TextLabel")
local UIStroke_3 = [Link]("UIStroke")
local Mode = [Link]("Frame")
local UICorner_4 = [Link]("UICorner")
local UIGradient_4 = [Link]("UIGradient")
local TextLabel_4 = [Link]("TextLabel")
local ModeText = [Link]("TextLabel")
local UIStroke_4 = [Link]("UIStroke")
local Catchable = [Link]("Frame")
local UICorner_5 = [Link]("UICorner")
local UIGradient_5 = [Link]("UIGradient")
local TextLabel_5 = [Link]("TextLabel")
local CatchText = [Link]("TextLabel")
local UIStroke_5 = [Link]("UIStroke")
local Interceptable = [Link]("Frame")
local UICorner_6 = [Link]("UICorner")
local UIGradient_6 = [Link]("UIGradient")
local TextLabel_6 = [Link]("TextLabel")
local IntText = [Link]("TextLabel")
local UIStroke_6 = [Link]("UIStroke")
local ATime = [Link]("Frame")
local UICorner_7 = [Link]("UICorner")
local UIGradient_7 = [Link]("UIGradient")
local TextLabel_7 = [Link]("TextLabel")
local airtimetext = [Link]("TextLabel")
local UIStroke_7 = [Link]("UIStroke")

[Link] = "ScreenGui"
[Link] = [Link]

[Link] = "Angle"
[Link] = [Link](0, 115, 0, 106)
Angle.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.216752619, 0, -0.00772987632, 0)
[Link] = 0
Angle.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

[Link] = "UICorner"
[Link] = Angle

[Link] = "UIStroke"
[Link] = [Link](165, 170, 167)
[Link] = 1.2000000476837158
[Link] = Angle

[Link] = "UIGradient"
[Link] = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
[Link] = Angle
[Link] = "TextLabel"
[Link] = [Link](0, 150, 0, 42)
TextLabel.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](-0.156521738, 0, 0.603773594, 0)
[Link] = 0
TextLabel.BackgroundColor3 = [Link](255, 255, 255)
TextLabel.TextColor3 = [Link](202, 202, 202)
[Link] = "Angle"
[Link] = 28
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Angle

[Link] = "AngleNum"
[Link] = [Link](0, 115, 0, 50)
AngleNum.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.132075474, 0)
[Link] = 0
AngleNum.BackgroundColor3 = [Link](255, 255, 255)
AngleNum.TextColor3 = [Link](87, 123, 255)
[Link] = "45"
[Link] = 66
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Angle

[Link] = "Powa"
[Link] = [Link](0, 115, 0, 106)
Powa.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.717355251, 0, -0.00802642666, 0)
[Link] = 0
Powa.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

UICorner_2.Name = "UICorner"
UICorner_2.Parent = Powa

UIGradient_2.Name = "UIGradient"
UIGradient_2.Color = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
UIGradient_2.Parent = Powa
TextLabel_2.Name = "TextLabel"
TextLabel_2.Size = [Link](0, 150, 0, 42)
TextLabel_2.BorderColor3 = [Link](0, 0, 0)
TextLabel_2.BackgroundTransparency = 1
TextLabel_2.Position = [Link](-0.156521738, 0, 0.603773594, 0)
TextLabel_2.BorderSizePixel = 0
TextLabel_2.BackgroundColor3 = [Link](255, 255, 255)
TextLabel_2.TextColor3 = [Link](202, 202, 202)
TextLabel_2.Text = "Power"
TextLabel_2.TextSize = 28
TextLabel_2.FontFace = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
TextLabel_2.Parent = Powa
[Link] = "PowerNum"
[Link] = [Link](0, 115, 0, 50)
PowerNum.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.132075474, 0)
[Link] = 0
PowerNum.BackgroundColor3 = [Link](255, 255, 255)
PowerNum.TextColor3 = [Link](87, 123, 255)
[Link] = "60"
[Link] = 70
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Powa

UIStroke_2.Name = "UIStroke"
UIStroke_2.Color = [Link](165, 170, 167)
UIStroke_2.Thickness = 1.2000000476837158
UIStroke_2.Parent = Powa

[Link] = "Target"
[Link] = [Link](0, 115, 0, 106)
Target.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.550999999, 0, -0.00800000038, 0)
[Link] = 0
Target.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

UICorner_3.Name = "UICorner"
UICorner_3.Parent = Target

UIGradient_3.Name = "UIGradient"
UIGradient_3.Color = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
UIGradient_3.Parent = Target

TextLabel_3.Name = "TextLabel"
TextLabel_3.Size = [Link](0, 150, 0, 42)
TextLabel_3.BorderColor3 = [Link](0, 0, 0)
TextLabel_3.BackgroundTransparency = 1
TextLabel_3.Position = [Link](-0.156521738, 0, 0.603773594, 0)
TextLabel_3.BorderSizePixel = 0
TextLabel_3.BackgroundColor3 = [Link](255, 255, 255)
TextLabel_3.RichText = true
TextLabel_3.TextColor3 = [Link](202, 202, 202)
TextLabel_3.Text = "Target"
TextLabel_3.TextSize = 28
TextLabel_3.FontFace = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
TextLabel_3.Parent = Target

[Link] = "TargetPlr"
[Link] = [Link](0, 115, 0, 50)
TargetPlr.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.207547173, 0)
[Link] = 0
TargetPlr.BackgroundColor3 = [Link](255, 255, 255)
TargetPlr.TextColor3 = [Link](87, 123, 255)
[Link] = "MrCODADUDE"
[Link] = 19
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Target

UIStroke_3.Name = "UIStroke"
UIStroke_3.Color = [Link](165, 170, 167)
UIStroke_3.Thickness = 1.2000000476837158
UIStroke_3.Parent = Target

[Link] = "Mode"
[Link] = [Link](0, 115, 0, 106)
Mode.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.298999995, 0, -0.00800000038, 0)
[Link] = 0
Mode.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

UICorner_4.Name = "UICorner"
UICorner_4.Parent = Mode

UIGradient_4.Name = "UIGradient"
UIGradient_4.Color = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
UIGradient_4.Parent = Mode

TextLabel_4.Name = "TextLabel"
TextLabel_4.Size = [Link](0, 150, 0, 42)
TextLabel_4.BorderColor3 = [Link](0, 0, 0)
TextLabel_4.BackgroundTransparency = 1
TextLabel_4.Position = [Link](-0.156521738, 0, 0.603773594, 0)
TextLabel_4.BorderSizePixel = 0
TextLabel_4.BackgroundColor3 = [Link](255, 255, 255)
TextLabel_4.RichText = true
TextLabel_4.TextColor3 = [Link](202, 202, 202)
TextLabel_4.Text = "Mode"
TextLabel_4.TextSize = 28
TextLabel_4.FontFace = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
TextLabel_4.Parent = Mode

[Link] = "ModeText"
[Link] = [Link](0, 115, 0, 50)
ModeText.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.198113203, 0)
[Link] = 0
ModeText.BackgroundColor3 = [Link](255, 255, 255)
ModeText.TextColor3 = [Link](87, 123, 255)
[Link] = "Dime"
[Link] = 52
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Mode

UIStroke_4.Name = "UIStroke"
UIStroke_4.Color = [Link](165, 170, 167)
UIStroke_4.Thickness = 1.2000000476837158
UIStroke_4.Parent = Mode

[Link] = "Catchable"
[Link] = [Link](0, 115, 0, 106)
Catchable.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.381919622, 0, -0.00773477927, 0)
[Link] = 0
Catchable.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

UICorner_5.Name = "UICorner"
UICorner_5.Parent = Catchable

UIGradient_5.Name = "UIGradient"
UIGradient_5.Color = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
UIGradient_5.Parent = Catchable

TextLabel_5.Name = "TextLabel"
TextLabel_5.Size = [Link](0, 150, 0, 42)
TextLabel_5.BorderColor3 = [Link](0, 0, 0)
TextLabel_5.BackgroundTransparency = 1
TextLabel_5.Position = [Link](-0.156521738, 0, 0.603773594, 0)
TextLabel_5.BorderSizePixel = 0
TextLabel_5.BackgroundColor3 = [Link](255, 255, 255)
TextLabel_5.RichText = true
TextLabel_5.TextColor3 = [Link](202, 202, 202)
TextLabel_5.Text = "Catchable"
TextLabel_5.TextSize = 28
TextLabel_5.FontFace = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
TextLabel_5.Parent = Catchable

[Link] = "CatchText"
[Link] = [Link](0, 115, 0, 50)
CatchText.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.179245278, 0)
[Link] = 0
CatchText.BackgroundColor3 = [Link](255, 255, 255)
CatchText.TextColor3 = [Link](87, 123, 255)
[Link] = "Yes"
[Link] = 67
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Catchable

UIStroke_5.Name = "UIStroke"
UIStroke_5.Color = [Link](165, 170, 167)
UIStroke_5.Thickness = 1.2000000476837158
UIStroke_5.Parent = Catchable

[Link] = "Interceptable"
[Link] = [Link](0, 115, 0, 106)
Interceptable.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.465902418, 0, -0.00773796486, 0)
[Link] = 0
Interceptable.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

UICorner_6.Name = "UICorner"
UICorner_6.Parent = Interceptable

UIGradient_6.Name = "UIGradient"
UIGradient_6.Color = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
UIGradient_6.Parent = Interceptable

TextLabel_6.Name = "TextLabel"
TextLabel_6.Size = [Link](0, 150, 0, 42)
TextLabel_6.BorderColor3 = [Link](0, 0, 0)
TextLabel_6.BackgroundTransparency = 1
TextLabel_6.Position = [Link](-0.156521738, 0, 0.603773594, 0)
TextLabel_6.BorderSizePixel = 0
TextLabel_6.BackgroundColor3 = [Link](255, 255, 255)
TextLabel_6.RichText = true
TextLabel_6.TextColor3 = [Link](202, 202, 202)
TextLabel_6.Text = "Interceptable"
TextLabel_6.TextSize = 23
TextLabel_6.FontFace = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
TextLabel_6.Parent = Interceptable

[Link] = "IntText"
[Link] = [Link](0, 115, 0, 50)
IntText.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.188679248, 0)
[Link] = 0
IntText.BackgroundColor3 = [Link](255, 255, 255)
[Link] = true
IntText.TextColor3 = [Link](87, 123, 255)
[Link] = "No"
[Link] = 67
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = Interceptable

UIStroke_6.Name = "UIStroke"
UIStroke_6.Color = [Link](165, 170, 167)
UIStroke_6.Thickness = 1.2000000476837158
UIStroke_6.Parent = Interceptable

[Link] = "ATime"
[Link] = [Link](0, 115, 0, 106)
ATime.BorderColor3 = [Link](0, 0, 0)
[Link] = 0.44999998807907104
[Link] = [Link](0.634458601, 0, -0.00793353934, 0)
[Link] = 0
ATime.BackgroundColor3 = [Link](255, 255, 255)
[Link] = ScreenGui

UICorner_7.Name = "UICorner"
UICorner_7.Parent = ATime
UIGradient_7.Name = "UIGradient"
UIGradient_7.Color = [Link]({[Link](0,
[Link](0, 0, 0)), [Link](1, [Link](0, 0, 0))})
UIGradient_7.Parent = ATime

TextLabel_7.Name = "TextLabel"
TextLabel_7.Size = [Link](0, 150, 0, 42)
TextLabel_7.BorderColor3 = [Link](0, 0, 0)
TextLabel_7.BackgroundTransparency = 1
TextLabel_7.Position = [Link](-0.156521738, 0, 0.603773594, 0)
TextLabel_7.BorderSizePixel = 0
TextLabel_7.BackgroundColor3 = [Link](255, 255, 255)
TextLabel_7.RichText = true
TextLabel_7.TextColor3 = [Link](202, 202, 202)
TextLabel_7.Text = "Airtime"
TextLabel_7.TextSize = 28
TextLabel_7.FontFace = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
TextLabel_7.Parent = ATime

[Link] = "airtimetext"
[Link] = [Link](0, 115, 0, 50)
airtimetext.BorderColor3 = [Link](0, 0, 0)
[Link] = 1
[Link] = [Link](0, 0, 0.179245278, 0)
[Link] = 0
airtimetext.BackgroundColor3 = [Link](255, 255, 255)
airtimetext.TextColor3 = [Link](87, 123, 255)
[Link] = "2s"
[Link] = 61
[Link] = [Link]("rbxasset://fonts/families/[Link]",
[Link], [Link])
[Link] = ATime

UIStroke_7.Name = "UIStroke"
UIStroke_7.Color = [Link](165, 170, 167)
UIStroke_7.Thickness = 1.2000000476837158
UIStroke_7.Parent = ATime

local beam = [Link]("Beam", [Link])


local Attach0 = [Link]("Attachment", [Link])
local Attach1 = [Link]("Attachment", [Link])
local customLeads = false
local customLead = 18

local isLocked = false


local autopmode = false
--// Handle Locking Connection //--
game:GetService("UserInputService").InputBegan:Connect(function(input, gpe)
if [Link] == [Link].Q and not gpe then
isLocked = not isLocked
end
end)
local endPartOfBeam = false
beam.Attachment0 = Attach0
beam.Attachment1 = Attach1
[Link] = [Link]({
[Link](0, [Link](87, 123, 255)),
[Link](1, [Link](87, 123, 255))
})
beam.Width0 = 0.5

beam.Width1 = 0.5

local VisPart = [Link]("Part")


[Link] = [Link] + [Link](1.2, 0, 1.2)
[Link] = "TargetVisualPart"
[Link] = true
[Link] = workspace
[Link] = false
[Link] = [Link]
[Link] = [Link](0, 0, 0)
[Link] = 5000

local function grabMousePos()


return
[Link](game:GetService('UserInputService'):GetMouseLocation().X,
game:GetService('UserInputService'):GetMouseLocation().Y)
end

local function isVisandPos(Pos)


local camPos, OnScreen =
[Link]:WorldToViewportPoint(Pos)
if OnScreen then
return camPos, OnScreen
end
end

--// QB Aimbot Made By 4dsdev on discord. //--

--// Variables & Services //--


local Players = game:GetService("Players")
local Player = [Link]
local Char = [Link] or [Link]:Wait()

[Link]:Connect(function(character)
Char = character
end)
local HumanoidRootPart = Char:FindFirstChild("HumanoidRootPart")
local FF2Grav = 28
local mse = Player:GetMouse()
local camera = [Link]
local ClosestPlr = nil
local autoswr = false
local uis = game:GetService("UserInputService")
-- used this shit for equations and some of my calcs are just me predicting
shit
-- [Link]
projectile-motion

local QBAIMtab = {
OffSetBased = false
}

--// Get Closest Player To Our Mouse Function //--

local Workspace = game:GetService("Workspace")


local UserInputService = game:GetService("UserInputService")

local function getNearestPlayerToMouse()


local MousePosition = [Link](mse.X, mse.Y)
local ClosestPlayer
local ClosestDistance = [Link]

local function getScreenPosition(part)


local ScreenPoint, onScreen =
[Link]:WorldToViewportPoint([Link])
return [Link](ScreenPoint.X, ScreenPoint.Y), onScreen
end

for _, player in ipairs(Players:GetPlayers()) do


if player ~= [Link] and [Link] == [Link] then
local Character = [Link]
if Character then
local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
if HumanoidRootPart then
local ScreenPosition, onScreen = getScreenPosition(HumanoidRootPart)
local Distance = (ScreenPosition - MousePosition).Magnitude
if Distance < ClosestDistance then
ClosestPlayer = player
ClosestDistance = Distance
end
end
end
end
end

for _, bot in ipairs(workspace:GetChildren()) do


if [Link] == "npcwr" then
local stationA = bot:FindFirstChild("a")
local stationB = bot:FindFirstChild("b")

if stationA and stationB then


local bot1 = stationA:FindFirstChild("bot 1")
local bot2 = stationB:FindFirstChild("bot 3")

if bot1 then
local bot1HumanoidRootPart = bot1:FindFirstChild("HumanoidRootPart")
if bot1HumanoidRootPart then
local bot1ScreenPosition, onScreen = getScreenPosition(bot1HumanoidRootPart)
local bot1Distance = (bot1ScreenPosition - MousePosition).Magnitude
if bot1Distance < ClosestDistance then
ClosestPlayer = bot1
ClosestDistance = bot1Distance
end
end
end

if bot2 then
local bot2HumanoidRootPart = bot2:FindFirstChild("HumanoidRootPart")
if bot2HumanoidRootPart then
local bot2ScreenPosition, onScreen = getScreenPosition(bot2HumanoidRootPart)
local bot2Distance = (bot2ScreenPosition - MousePosition).Magnitude
if bot2Distance < ClosestDistance then
ClosestPlayer = bot2
ClosestDistance = bot2Distance
end
end
end
end
end
end

return ClosestPlayer
end

local dradius = 20

local AutoAngie = false


local AutoPowa = false
local state = false
--// Basic moving check function //--
local function isMoving(PlayerDaddy)
if not [Link]([Link], "bot 1") or not
[Link]([Link], "bot 3") then
if
[Link]:FindFirstChild("Humanoid").[Link] > 0 then
return true
else
return false
end
end
end

--// Bezier Curve Formula //--

local function beamProjectile(g, v0, x0, t1) --// aw hell yeah ego moose you
da goat ! //--
-- calculate the bezier points
local c = 0.5*0.5*0.5;
local p3 = 0.5*g*t1*t1 + v0*t1 + x0;
local p2 = p3 - (g*t1*t1 + v0*t1)/3;
local p1 = (c*g*t1*t1 + 0.5*v0*t1 + x0 - c*(x0+p3))/(3*c) - p2;

-- the curve sizes


local curve0 = (p1 - x0).magnitude;
local curve1 = (p2 - p3).magnitude;
-- build the world CFrames for the attachments
local b = (x0 - p3).unit;
local r1 = (p1 - x0).unit;
local u1 = r1:Cross(b).unit;
local r2 = (p2 - p3).unit;
local u2 = r2:Cross(b).unit;
b = u1:Cross(r1).unit;

local cf1 = [Link](


x0.x, x0.y, x0.z,
r1.x, u1.x, b.x,
r1.y, u1.y, b.y,
r1.z, u1.z, b.z
)

local cf2 = [Link](


p3.x, p3.y, p3.z,
r2.x, u2.x, b.x,
r2.y, u2.y, b.y,
r2.z, u2.z, b.z
)

return curve0, -curve1, cf1, cf2;


end

local function getFieldOrientation(throwerPosition, playerPosition)


if playerPosition.Z > 0 then
return 1
else
return -1
end
end

local function clampnum(val, minmimum, maxValue)


return [Link]([Link](val, minmimum), maxValue)
end

----------------------------------------
--// CALCULATION FUNCTIONS & MATH //--
----------------------------------------
local function CalculateRouteofPlayer(Playa)
--[[local MovingCheck = isMoving(getNearestPlayerToMouse())--]]
local RouteType;
if not [Link]([Link], "bot 1") and not [Link]([Link],
"bot 3") then
local DirectionMoving =
[Link]:FindFirstChild("Humanoid").MoveDirection
local DirectionMovingLeftRight =
[Link]:FindFirstChild("Humanoid").MoveDirection.X
local DirectionMovingFoward =
[Link]:FindFirstChild("Humanoid").MoveDirection.Z
local Distance =
([Link]:FindFirstChild("HumanoidRootPart").Position -
[Link]:FindFirstChild("HumanoidRootPart").Position)
local Direction = [Link]
local magdist = [Link]
local X = Direction * [Link](1, 0, 0)
local X2 = Direction * [Link](-1, 0, 0)
local Z = Direction * [Link](0, 0, 1)
local DirectionDot = DirectionMoving:Dot(Distance)
local Z2;

if
getFieldOrientation([Link]:FindFirstChild("HumanoidRootPart"),
DirectionMoving) == -1 then
Z2 = Direction * [Link](0, 0, -1)
else
Z2 = Direction * [Link](0, 0, 1)
end

local XZ = Direction * [Link](1, 0, 1)


local StreakingRoutesDotProduct = DirectionMoving:Dot(Z2) --//
gets the dot product between two vectors //--

if StreakingRoutesDotProduct >= .80 or StreakingRoutesDotProduct


<= -0.80 then
RouteType = "Straight"
elseif StreakingRoutesDotProduct >= .45 or
StreakingRoutesDotProduct <= -0.45 then
RouteType = "Post"
elseif StreakingRoutesDotProduct >= .2 or
StreakingRoutesDotProduct <= -.2 then
RouteType = 'Slant'
elseif StreakingRoutesDotProduct == 0 then
RouteType = "Still"
end
if DirectionDot < 0 then
RouteType = "Comeback"
end
else
RouteType = "Straight"
end
return RouteType
end

local function HorizontalRangeOfProjectile(NearestPlayer)


local NearestPlayerRootPart;
if [Link]([Link], "bot 1") or
[Link]([Link], "bot 3") then
NearestPlayerRootPart = NearestPlayer:FindFirstChild("Head")
else
NearestPlayerRootPart = [Link]
end
local PlayerRootPart = [Link]
local ProjectileRange = [Link] -
[Link]
local HorizontalRange = [Link](ProjectileRange.X,
ProjectileRange.Z).Magnitude
return HorizontalRange
end

local function HighSpeedLowAngleCalcs(Grav, Speed)


local RP = HorizontalRangeOfProjectile(getNearestPlayerToMouse())

local Eq
local asin = [Link]
local routee = CalculateRouteofPlayer(getNearestPlayerToMouse())

if routee == "Comeback" then


if RP < 150 then
Eq = 0.52 * asin((RP * Grav) / (Speed ^ 2))
else
Eq = 0.47 * asin((RP * Grav) / (Speed ^ 2))
end
elseif routee == "Still" then
Eq = 0.6 * asin((RP * Grav) / (Speed ^ 2))
elseif routee == "Post" then
if RP < 150 then
Eq = 0.85 * asin((RP * Grav) / (Speed ^ 2))
else
Eq = 0.88 * asin((RP * Grav) / (Speed ^ 2))
end
else
if RP < 150 then
Eq = 0.87 * asin((RP * Grav) / (Speed ^ 2))
else
Eq = 0.9 * asin((RP * Grav) / (Speed ^ 2))
end
end

return Eq
end

local function ProjectilePeakPosition(InitialPos, Speed, g)


local timeToPeak = -Speed.Y / g.Y
local equation = InitialPos + Speed * timeToPeak + 0.5 * g * timeToPeak
^ 2
return equation
end

local function calculateLaunchAngle(Gravvv, FootballSpeed) -- this took a


shit long time to make
local RangeYes = HorizontalRangeOfProjectile(getNearestPlayerToMouse())
--print(RangeYes)
local launchAngle = [Link](Gravvv * RangeYes / (FootballSpeed ^ 2))
return launchAngle
end

local function CalculateInitalVelocityYAxis(InitalVelocity, AngleNeeded)


local VelocityY = InitalVelocity * [Link](AngleNeeded)
return VelocityY
end

local function calculateInitalVelocityXAxis(InitalVelocity, AngleNeeded)


local VelocityX = InitalVelocity * [Link](AngleNeeded)
return VelocityX
end

local function CalculateMaxHeightOfProjectile(Initalvel, angle, gravv)


local InitalVelocityY = CalculateVelocityYAxis(Initalvel, angle)
local Hmax = (InitalVelocityY ^ 2) / (2 * gravv)
return Hmax
end

local function GetTimeOfFlightProjectile(FootballInitalVelocity, AngleNeeded,


Grav)
local TimeOfflightEquation = (2 * FootballInitalVelocity *
[Link](AngleNeeded)) / Grav
return TimeOfflightEquation
end

local function TimeOfFlight2(FootballS, A, FootballDownwardGravity)


local VerticalVelocity = CalculateInitalVelocityYAxis(FootballS, A)
local Tlowest = VerticalVelocity / FootballDownwardGravity --// tested
this equation to see if its better or not //--
return Tlowest
end

local function calculateThrowType(ClosestPlay)


local RP = HorizontalRangeOfProjectile(ClosestPlay)
local r = CalculateRouteofPlayer(ClosestPlay)
local calculatedThrowType = ""
if [Link] == "bot 1" or [Link] == "bot 3" then
calculatedThrowType = "Dime"
[Link] = calculatedThrowType
else
if RP <= 100 and r == "Slant" then
calculatedThrowType = "Bullet"
[Link] = calculatedThrowType
elseif RP > 100 and r == "Slant" then
calculatedThrowType = "Dive"
[Link] = calculatedThrowType
elseif RP <= 150 and r == "Straight" then
calculatedThrowType = "Dive"
[Link] = calculatedThrowType
elseif RP > 150 and r == "Straight" then
calculatedThrowType = "Dime"
[Link] = calculatedThrowType
elseif RP <= 150 and r == "Post" then
calculatedThrowType = "Dive"
[Link] = calculatedThrowType
elseif RP > 150 and r == "Post" then
calculatedThrowType = "Dime"
[Link] = calculatedThrowType
elseif RP <= 100 and r == "Still" then
calculatedThrowType = "Dot"
[Link] = calculatedThrowType
elseif RP > 100 and r == "Still" then
calculatedThrowType = "Dime"
[Link] = calculatedThrowType
elseif RP <= 150 and r == "Comeback" then
calculatedThrowType = "Dime"
[Link] = calculatedThrowType
elseif RP > 150 and r == "Comeback" then
calculatedThrowType = "Dive"
[Link] = calculatedThrowType
end
end
end
local Highestpwrmode = false
local function OverallVelocityNeededToReachAPosition(Angie, StartPos,
EndPositon, Gravity, Time)
local VelocityNeeded = (EndPositon - StartPos - 0.5 * Gravity * Time *
Time) / Time
local Y = (EndPositon - StartPos)
local Xz1 = (Y * [Link](0.25, 0, 0.25))
local xz2 = [Link](Y.X, Y.Z).Magnitude
local VelOverTime = xz2 / Time
local notVector = Xz1 / [Link]
local Equationderived = notVector * VelOverTime
local EstimatedVel = Equationderived + [Link](0, VelocityNeeded.Y,
0)
local VelocityTotal = StartPos + EstimatedVel
local direction = ((VelocityTotal) - StartPos).unit
local toMatch = 0.05
local pow = [Link] + toMatch
if Highestpwrmode then
return EstimatedVel, direction, clampnum([Link](pow), 85, 95)
else
return EstimatedVel, direction, clampnum([Link](pow), 0, 95)
end
end

local function CalculateHeightOfTwoPositions(Start, End)


local Dis = (Start - End)
local h = Dis.Y
return h
end

local function getThrowType()


return tostring([Link])
end

--// Handle Changing Throw Types //--


game:GetService("UserInputService").InputBegan:Connect(function(input,
gameProcessedEvent)
local ThrowTypee = getThrowType()
if not autopmode then
if [Link] == [Link].C and ThrowTypee == "Dime" and
not gameProcessedEvent then
[Link] = "Dive"
elseif [Link] == [Link].C and ThrowTypee == "Dive"
and not gameProcessedEvent then
[Link] = "Dot"
elseif [Link] == [Link].C and ThrowTypee == "Dot" and not
gameProcessedEvent then
[Link] = "Mag"
elseif [Link] == [Link].C and ThrowTypee == "Mag" and not
gameProcessedEvent then
[Link] = "Bullet"
elseif [Link] == [Link].C and ThrowTypee == "Bullet" and
not gameProcessedEvent then
[Link] = "Fade"
elseif [Link] == [Link].C and ThrowTypee == "Fade" and not
gameProcessedEvent then
[Link] = "Dime"
end
end
end)

local function CalculateHorizandVeri(TimeOFF, End, Beginning, GravV)


local Displace = (Beginning - End)
local Xaxis = (Displace.X)
local ZAxis = (Displace.Z)
local YAXis = CalculateHeightOfTwoPositions(Beginning, End)
local XYZVector3 = [Link](Xaxis, YAXis, ZAxis)
local Horizontally = [Link](Xaxis, Zxis).magnitude
local HorizVelNeeded = Horizontally / TimeOFF --// Using the
Projectile motion Formula Horizontal Velocity: xz/t and yes shlat made this
comment//--

local UpWardVel = (YAXis - (0.5 * -GravV * (TimeOFF ^ 2))) --//


modified the velocity calculation formula so it just takes into account the y axis
//--
local UpWARDVelneeded = UpWardVel / TimeOFF

return UpWardVel, HorizVelNeeded


end

local function CalculateHeightOfTwoPositions(Start, End)


local Dis = (Start - End)
local h = Dis.Y
return h
end

--// Function to check if the bot is moving //--


local function isBotMoving(SpeedOFBot)
if SpeedOFBot == [Link](0,0,0) then
return false
else
return true
end
end

local function getMostIsolatedPlayer(radius)


local Players = game:GetService("Players")
local mostIsolatedPlayer = nil
local minNearbyCount = [Link]

local function isBot(name)


return [Link](name, "bot 1") or [Link](name, "bot 3")
end

local function countPlayersNearby(player)


local count = 0
local playerPos = [Link] and
[Link]:FindFirstChild("HumanoidRootPart") and
[Link]
if not playerPos then return count end
if [Link] == 8206123457 then
for _, otherPlayer in ipairs(Players:GetPlayers()) do
if otherPlayer ~= player and
[Link] and otherPlayer ~= Player then
local otherPos =
[Link]:FindFirstChild("HumanoidRootPart").Position
local dist = (otherPos -
playerPos).magnitude
if dist <= radius then
count = count + 1
end
end
end
else
for _, otherPlayer in ipairs(Players:GetPlayers()) do
if otherPlayer ~= player and
[Link] and [Link] ~= [Link] and otherPlayer ~= Player
then
local otherPos =
[Link]:FindFirstChild("HumanoidRootPart").Position
local dist = (otherPos -
playerPos).magnitude
if dist <= radius then
count = count + 1
end
end
end
end

return count
end

if [Link] == 8206123457 then


for _, player in ipairs(Players:GetPlayers()) do
if [Link] and not isBot([Link]) and player
~= Player then
local nearbyCount = countPlayersNearby(player)
if nearbyCount < minNearbyCount then
minNearbyCount = nearbyCount
mostIsolatedPlayer = player
end
end
end
else
for _, player in ipairs(Players:GetPlayers()) do
if [Link] and [Link] ==
[Link] and player ~= Player then
local nearbyCount = countPlayersNearby(player)
if nearbyCount < minNearbyCount then
minNearbyCount = nearbyCount
mostIsolatedPlayer = player
end
end
end
end

return mostIsolatedPlayer
end
--// Bot Estimated Velocity Function //--
local function BotEstimatedVel(Time, Bot)
local Speed = Bot:FindFirstChild("HumanoidRootPart").Velocity
local TOFF = Time
local TypeThroww = getThrowType()
local Botequation;
local LeadNumtabBot3;
local LeadNumtabBot1;
if isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
LeadNumtabBot3 = {
["Dime"] = [Link](-1, 1.25, -6),
["Mag"] = [Link](-2, 2, -11),
["Dive"] = [Link](-1.25, 1.5, -9),
["Dot"] = [Link](-0.09, 0.09, -4),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](-5, -1, -1.25),
["Jump"] = [Link](-1, 2.25, -5)
}
LeadNumtabBot1 = {
["Dime"] = [Link](1, 1.25, 6),
["Mag"] = [Link](2, 2, 11),
["Dive"] = [Link](1.25, 1.5, 9),
["Dot"] = [Link](0.09, 0.09, 4),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](5, 1, 1.25),
["Jump"] = [Link](1, 2, 5)
}
else
LeadNumtabBot3 = {
["Dime"] = [Link](0, 0, 0),
["Mag"] = [Link](0, 0, 0),
["Dive"] = [Link](0, 0, 0),
["Dot"] = [Link](0, 0, 0),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](0, 0, 0),
["Jump"] = [Link](0, 4, 0)
}
LeadNumtabBot1 = {
["Dime"] = [Link](0, 0, 0),
["Mag"] = [Link](0, 0, 0),
["Dive"] = [Link](0, 0, 0),
["Dot"] = [Link](0, 0, 0),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](0, 0, 0),
["Jump"] = [Link](0, 5, 0)
}
end
local TimeAccount = (Speed * Time)
if [Link] == "bot 3" and
isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
Botequation = Bot:FindFirstChild("HumanoidRootPart").Position +
(TimeAccount) + LeadNumtabBot3[TypeThroww]
elseif [Link] == "bot 1" and
isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
Botequation = Bot:FindFirstChild("HumanoidRootPart").Position +
(TimeAccount) + LeadNumtabBot1[TypeThroww]
elseif [Link] == "bot 3" and not
isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
Botequation = Bot:FindFirstChild("HumanoidRootPart").Position +
LeadNumtabBot3[TypeThroww]
elseif [Link] == "bot 1" and not
isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
Botequation = Bot:FindFirstChild("HumanoidRootPart").Position
end

return Botequation
end

--// old calculated throw direction function //--


local function toThrowDirection(HVelocity, VVelocity, Time, Gravity,
Beginning, End)
local XThroughZVelocity = HVelocity
local UPVel = VVelocity
local PositionFromTwoPoints = (Beginning - End)
local UpWardVelocityOffset = [Link](0, UPVel, 0)
local FowardAndBackward = [Link](0, 0, PositionFromTwoPoints.Z)

local toSide = [Link](PositionFromTwoPoints.X, 0, 0)

local BothAxis = [Link](1, 0, 1)

local DirectionMag = (PositionFromTwoPoints * BothAxis).magnitude


local DirectionUnit = (PositionFromTwoPoints * BothAxis).Unit
local DirectionNormalVec3 = (PositionFromTwoPoints * BothAxis)

local DivisonToCalcAverage = (DirectionNormalVec3 / DirectionMag)


local HorizontalVelocityAccountedfor = DivisonToCalcAverage *
XThroughZVelocity
local VelocityOffsetAccountedFor = HorizontalVelocityAccountedfor +
UpWardVelocityOffset

return VelocityOffsetAccountedFor
end

--/-//-/-/-/-/-/-/-//////////////////-/-//-/-/-/-/-/-/-/-

----------------------------------------------
--// Prediciton Functions //--
----------------------------------------------
local function getOffsetPredictionBasedOnRouteandThrowType(Route, ThrowType)
if [Link] then
local closestPlrtomouse = getNearestPlayerToMouse()
local CalculatedRoute = CalculateRouteofPlayer(closestPlrtomouse)

local LeftandRightXOf;
local LeftandRightZOf;

local FowardXOf;
local FowardZOf;

local BackwardXOf;
local BackwardZOf
if Route == 'LeftRight' and ThrowType == "Dime" then
LeftandRightXOf = 0.28
LeftandRightZOf = 0.25
elseif Route == "Foward" or "Backward" and ThrowType == "Dime" then
FowardXOf = 0.27
FowardZOf = 0.35
BackwardXOf = 0.015
BackwardZOf = 0.2
elseif Route == 'LeftRight' and ThrowType == "Dive" then
LeftandRightXOf = 0.45
LeftandRightZOf = 0.35
end
end
end

----------------------------------------------------
--// Highlight Functions //--
----------------------------------------------------

local Highlight = [Link]("Highlight")


[Link] = [Link]

local function updateHighlight(nearest)


if nearest and [Link] ~= "bot 1" or [Link] ~= "bot 3" then
if [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
[Link] = [Link]
[Link] = [Link]
else
[Link] = nil
end

elseif [Link] == "bot 1" or [Link] == "bot 3" then


[Link] = nearest
[Link] = nearest:FindFirstChild("HumanoidRootPart")
elseif not nearest then
[Link] = nil

end
end
----------------------------------------------------/-/-/-/-//-/-/-/-/-/-/-/-/-/-/-
/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/////////////////-/-/-/-/-/-/-

----------------------------------------------------
--// Interceptable Functions //--
----------------------------------------------------

local function getPeopleGuardingClosestToMouse(WR)


local ClosestCB, MaxDistance = nil, 9e9
if [Link] == 8206123457 then
for index, CB in next, Players:GetPlayers() do
if CB ~= WR and CB ~= Player then
if CB:IsA("Player") and [Link] then
if not [Link]([Link], "bot 1") or not
[Link]([Link], "bot 1") then
local dist =
([Link]:FindFirstChild("HumanoidRootPart").Position -
[Link]:FindFirstChild("HumanoidRootPart").Position).magnitude
if dist < MaxDistance then
ClosestCB = CB
MaxDistance = dist
end
end
end
end
end
else
for index, CB in next, Players:GetPlayers() do
if CB ~= WR and CB ~= Player and [Link] ~= [Link]
then
if CB:IsA("Player") and [Link] then
local dist =
([Link]:FindFirstChild("HumanoidRootPart").Position -
[Link]:FindFirstChild("HumanoidRootPart").Position).magnitude
if dist < MaxDistance then
ClosestCB = CB
MaxDistance = dist
end
end
end
end
end
return ClosestCB
end

local function Interceptable(Corner, LandingPos, t)


if Corner and [Link] then
local Dist =
([Link]:FindFirstChild("HumanoidRootPart").Position -
LandingPos).magnitude

local WalksSpeedOFPlr =
[Link]:FindFirstChild("Humanoid").WalkSpeed
local DiveingNumberAccountedFor = 0.31
local eqq = (Dist / WalksSpeedOFPlr) - DiveingNumberAccountedFor
--// minus some time because people can dive //--

local Percent = (Dist * 0.70)


local HighestThreshHold = (Dist - Percent)
if eqq <= t then
return true
elseif Dist == 0 then
return true
else
return false
end
end
end

local function getClosestCBtoBot(BotHere)


local CbBot;
for index, CBBot in next, workspace:GetChildren() do
if [Link] == 8206123457 and [Link] == "npcwr" then
local A = CBBot["a"]
local B = CBBot["b"]
local ACBBot = A["bot 2"]
local BCBBot = B["bot 4"]
if [Link] == "bot 1" then
CbBot = ACBBot
elseif [Link] == "bot 3" then
CbBot = BCBBot
end
end
end
return CbBot
end

local function botInterceptable(Corna, LandingEstimatedPos, t)


if Corna:FindFirstChild("HumanoidRootPart") then
local BotDist =
(Corna:FindFirstChild("HumanoidRootPart").Position - LandingEstimatedPos).magnitude
local WalksSpeedOFPlr = 20
local DiveingNumberAccountedFor = 0.31
local eqq = (BotDist / WalksSpeedOFPlr) -
DiveingNumberAccountedFor --// minus some time because people can dive //--

local Percenty = (BotDist * 0.70)


local Highest = (BotDist - Percenty)
if eqq <= t then
return true
elseif BotDist == 0 then
return true
else
return false
end
end
end

local function CatchAble(wr, LandingPos, TimeOfProjectileFlight)


if wr and [Link] then
local Dist =
([Link]:FindFirstChild("HumanoidRootPart").Position - LandingPos).magnitude
local WalksSpeedOFPlr =
[Link]:FindFirstChild("Humanoid").WalkSpeed
local DiveingNumberAccountedFor = 0.31
local eqq = (Dist / WalksSpeedOFPlr) - DiveingNumberAccountedFor
--// minus some time because people can dive //--
local Percent = (Dist * 0.70)
local HighestThreshHold = (Dist - Percent)
local WalkSpeed = 16
if eqq <= TimeOfProjectileFlight then
return true
elseif Dist == 0 then
return true
else
return false
end
end
end

local function botCatchAble(Wr, LandingEstimatedPoss)


if Wr:FindFirstChild("HumanoidRootPart") then
local BotDist = (Wr:FindFirstChild("HumanoidRootPart").Position -
LandingEstimatedPoss).magnitude
local Percenty = (BotDist * 0.70)
local Highest = (BotDist - Percenty)
if BotDist <= Highest then
return true
elseif BotDist == 0 then
return true
else
return false
end
end
end
local function clampnum(val, minmimum, maxValue)
return [Link]([Link](val, minmimum), maxValue)
end

-- // Keep the Throwing Position in the Bounds // --


local function KeepPosInBounds(TargetPos, MinX, MinZ)
local X = TargetPos.X
local Y = TargetPos.Y
local Z = TargetPos.Z
local clampedX;
local clampedZ;
if TargetPos.X < -MinX then
clampedX = -70.5
elseif TargetPos.X > MinX then
clampedX = 70.5
elseif TargetPos.X > -MinX and TargetPos.X < MinX then
clampedX = X
end

if TargetPos.Z < -MinZ then


clampedZ = -175.5
elseif TargetPos.Z > MinZ then
clampedZ = 175.5
elseif TargetPos.Z > -MinZ and TargetPos.Z < MinZ then
clampedZ = Z
end
local ClampedVector3 = [Link](clampedX, Y, clampedZ)
return ClampedVector3
end

--// Round Number to Hundreths function //--


local function RoundNumToHundredths(number)
return [Link](number * 100 + 0.5) / 100
end

local customLeadDistances = false


local function GetTargetPositionForWR(Time, WideReceiver)
if [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local WRMovingVelocity =
[Link]:FindFirstChild("Humanoid").MoveDirection
local WRMovingVelocity2 =
[Link]:FindFirstChild("HumanoidRootPart").Velocity
local TypeThrow = getThrowType()

local LeadNumtab;

local fieldOrientation =
getFieldOrientation([Link]:FindFirstChild("HumanoidRootPart").Position,
[Link]:FindFirstChild("Humanoid").MoveDirection)
if isMoving(WideReceiver) then
if fieldOrientation == 1 then
LeadNumtab = {
["Dime"] = [Link](1, 1.65, 9),
["Mag"] = [Link](2, 2, 11),
["Dive"] = [Link](1.25, 1.86, 9.5),
["Dot"] = [Link](1, 1.2, 7),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](5, 1, 1),
["Jump"] = [Link](1, 2.25, 7.5)
}
elseif fieldOrientation == -1 then
LeadNumtab = {
["Dime"] = [Link](1, 1.65, -9),
["Mag"] = [Link](2, 2, -11),
["Dive"] = [Link](1.25, 1.86, -9.5),
["Dot"] = [Link](1, 1.2, -7),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](-5, 1, -1),
["Jump"] = [Link](1, 2.25, -7.5)
}
end
else
LeadNumtab = {
["Dime"] = [Link](0, 0, 0),
["Mag"] = [Link](0, 0, 0),
["Dive"] = [Link](0, 0, 0),
["Dot"] = [Link](0, 0, 0),
["Fade"] = [Link](0, 0, 0),
["Bullet"] = [Link](0, 0, 0),
["Jump"] = [Link](0, 5, 0)
}
end
local ThrowTypeAccountability;
if Highestpwrmode then
ThrowTypeAccountability = (WRMovingVelocity2 * Time)
else
if customLeads then
if TypeThrow == "Dot" then
ThrowTypeAccountability = (WRMovingVelocity * customLead *
Time)
elseif TypeThrow == "Bullet" then
local XZAXIS = [Link](WRMovingVelocity.X, 0,
WRMovingVelocity.Z)
ThrowTypeAccountability = (XZAXIS * customLead * Time)
elseif TypeThrow == "Jump" then
ThrowTypeAccountability = (WRMovingVelocity * customLead *
Time)
elseif TypeThrow == "Dime" then
ThrowTypeAccountability = (WRMovingVelocity * customLead *
Time)
elseif TypeThrow == "Dive" then
ThrowTypeAccountability = (WRMovingVelocity * customLead *
Time)
elseif TypeThrow == "Mag" then
ThrowTypeAccountability = (WRMovingVelocity * customLead *
Time)
end
else
if TypeThrow == "Dot" then
ThrowTypeAccountability = (WRMovingVelocity * 17.5 * Time)
elseif TypeThrow == "Bullet" then
local XZAXIS = [Link](WRMovingVelocity.X, 0,
WRMovingVelocity.Z)
ThrowTypeAccountability = (XZAXIS * 21* Time)
elseif TypeThrow == "Jump" then
ThrowTypeAccountability = (WRMovingVelocity * 18.5 * Time)

elseif TypeThrow == "Dime" then


ThrowTypeAccountability = (WRMovingVelocity * 18.9 * Time)

elseif TypeThrow == "Dive" then


ThrowTypeAccountability = (WRMovingVelocity * 19.3 * Time)
elseif TypeThrow == "Mag" then
ThrowTypeAccountability = (WRMovingVelocity * 19.7 * Time)
end
end
end

local Equation
if Highestpwrmode then
if isMoving(WideReceiver) then
if TypeThrow == "Fade" then
Equation =
[Link]:FindFirstChild("HumanoidRootPart").Position +
LeadNumtab[TypeThrow]
elseif TypeThrow == "Bullet" then
Equation =
[Link]:FindFirstChild("HumanoidRootPart").Position +
(ThrowTypeAccountability) + LeadNumtab[TypeThrow]
else
Equation =
[Link]:FindFirstChild("HumanoidRootPart").Position +
(ThrowTypeAccountability) + LeadNumtab[TypeThrow]
end
elseif not isMoving(WideReceiver) and TypeThrow == "Jump"
then --// always make it a jump throw even if not moving //--
Equation =
[Link]:FindFirstChild("HumanoidRootPart").Position +
(ThrowTypeAccountability) + [Link](0, 6, 0)
else
Equation =
[Link]:FindFirstChild("HumanoidRootPart").Position
end
else
if isMoving(WideReceiver) then

Equation = [Link]
+ (ThrowTypeAccountability) + LeadNumtab[TypeThrow]

elseif not isMoving(WideReceiver) and TypeThrow == "Jump"


then --// always make it a jump throw even if not moving //--
Equation = [Link] +
(ThrowTypeAccountability) + [Link](0, 6, 0)
else
Equation = [Link]
end
end

return Equation
else
warn("Wide Receiver or HumanoidRootPart not found")
return [Link](0, 0, 0)
end
end

local Data = {
Direction = [Link](0, 0, 0),
NormalPower = 55,
BulletModeAngle = 5,
FadeModeAngle = 55,
LowestPower = 40,
MaxPower = 95,
Angle = 45,
MaxAngle = 55,
lowestAngle = 10
}

--// Function to predict the projectile landing position //--


local function predicitLand(Velocity, Gravity, num, start, powa, timeoflight)
local Vel = powa * Velocity
local position = start + Vel * timeoflight + 0.5 * Gravity *
timeoflight * timeoflight
return position
end

--// Adjust Angle Manually Connection//--


game:GetService("UserInputService").InputBegan:Connect(function(input,
typeing)
if not AutoAngie and not typeing then
local TT = getThrowType()
if TT == "Bullet" then
if [Link] == [Link].R and [Link]
< 20 then
[Link] = [Link] + 5
elseif [Link] == [Link].F and
[Link] > 5 then
[Link] = [Link] - 5
elseif [Link] == [Link].R and
[Link] == 20 then
warn("Cannot Up Angle Any more, Max Angle is 20")
[Link] = [Link] + 0
elseif [Link] == [Link].F and
[Link] == 5 then
warn("Cannot Lower Angle Any more, Lowest Angle is
5")
[Link] = [Link] - 0
end
elseif TT == "Fade" then
if [Link] == [Link].R and [Link] <
75 then
[Link] = [Link] + 5
elseif [Link] == [Link].F and
[Link] > 55 then
[Link] = [Link] - 5
elseif [Link] == [Link].R and
[Link] == 75 then
warn("Cannot Up Angle Any more, Max Angle is 75")
[Link] = [Link] + 0
elseif [Link] == [Link].F and
[Link] == 55 then
warn("Cannot Lower Angle Any more, Lowest Angle is
55")
[Link] = [Link] - 0
end
else
if [Link] == [Link].R and [Link] < 55 then
[Link] = [Link] + 5
elseif [Link] == [Link].F and [Link] > 10
then
[Link] = [Link] - 5
elseif [Link] == [Link].R and [Link] == 55
then
warn("Cannot Up Angle Any more, Max Angle is 55")
[Link] = [Link] + 0
elseif [Link] == [Link].F and [Link] == 10
then
warn("Cannot Lower Angle Any more, Lowest Angle is
10")
[Link] = [Link] - 0
end
end
end
end)

--// Adjust Power Manually Connection//--


game:GetService("UserInputService").InputBegan:Connect(function(input,
typein)
if not AutoPowa and not typein then
if [Link] == [Link].Z and [Link] <
[Link] then
[Link] = [Link] + 5
elseif [Link] == [Link].X and [Link] >
[Link] then
[Link] = [Link] - 5
elseif [Link] == [Link].Z and [Link] ==
[Link] then
[Link] = [Link] + 0
warn("Max Power, Cannot Adjust Any Higher")
elseif [Link] == [Link].X and [Link] ==
[Link] then
[Link] = [Link] - 0
warn("Lowest Possible Power, Cannot Adjust Any Lower")

end
end
end)
-------/------/------/---/-------/----------/-----/------/-------------/-----
------/--------------/----------/---------
local function isVector3Valid(vec3)
return not (vec3.X ~= vec3.X or vec3.Y ~= vec3.Y or vec3.Z ~= vec3.Z)
end

local ThrowingTab = {
Direction = [Link](0, 0, 0)
}
local throwingpar = [Link]("Part")

[Link] = [Link](1,
1, 1)
[Link] =
[Link](0, 0, 0)
[Link] = false
game:GetService("UserInputService").InputBegan:Connect(function(input,
gameProcessedEvent)
if [Link] ~= 8206123457 then
if [Link] == [Link].MouseButton1 and
game:GetService("Players").[Link] == "HIKE" and
game:GetService("ReplicatedStorage").[Link] == "InPlay" and
game:GetService("ReplicatedStorage").[Link] and not gameProcessedEvent
then
if Char then
local Football =
Char:FindFirstChildOfClass("Tool")
if Football then
if state == true then
if state == false then return end
local start =
[Link]:FindFirstChild("Head").Position
if not isLocked then
if autoswr then
ClosestPlr =
getMostIsolatedPlayer(dradius)
else
local nearestPlayer =
getNearestPlayerToMouse()
if nearestPlayer and
nearestPlayer:IsA("Player") then
ClosestPlr =
nearestPlayer
end
end
end

if isLocked and not ClosestPlr then


if autoswr then
if
getMostIsolatedPlayer(dradius) == nil then
ClosestPlr =
ClosestPlr
else
ClosestPlr =
getMostIsolatedPlayer(dradius)
end
else
if
getNearestPlayerToMouse() == nil then
ClosestPlr =
ClosestPlr
else
ClosestPlr =
getNearestPlayerToMouse()
end
end
end
local Initial = 95
local Throwtype;

Throwtype = getThrowType()

local vel;
local toThrowToDirection;
local pow;

local WhichOne2;
if Throwtype == "Fade" then
WhichOne2 =
[Link]
elseif Throwtype == "Bullet" then
WhichOne2 =
[Link]
else
WhichOne2 = [Link]
end

if Highestpwrmode then
Initial = 95
else
if AutoPowa then
if pow then
Initial = pow
else
Initial = 95
end
else
Initial = [Link]
end
end

local toLaunchAnlge;
if Highestpwrmode then
if AutoAngie then
toLaunchAnlge =
HighSpeedLowAngleCalcs(FF2Grav, Initial)
else
toLaunchAnlge =
[Link](WhichOne2)
end
else
if AutoAngie then
if Throwtype == "Fade"
then
toLaunchAnlge =
[Link](75)
elseif Throwtype ==
"Bullet" then
toLaunchAnlge =
clampnum(HighSpeedLowAngleCalcs(FF2Grav, Initial), 0, 0.296706)
else
toLaunchAnlge =
clampnum(calculateLaunchAngle(FF2Grav, Initial), 0, 0.975)
end
else
toLaunchAnlge =
[Link](WhichOne2)
end
end
local TOF =
GetTimeOfFlightProjectile(Initial, toLaunchAnlge, FF2Grav)
local YesEnd;
if [Link]([Link],
"bot 1") or [Link]([Link], "bot 3") then
YesEnd =
KeepPosInBounds(BotEstimatedVel(TOF, ClosestPlr), 70.5, 175.5)
elseif not
[Link]([Link], "bot 1") or not [Link]([Link], "bot 3")
then
YesEnd =
KeepPosInBounds(GetTargetPositionForWR(TOF, ClosestPlr), 70.5, 175.5)
end
local PowerSir;
vel, toThrowToDirection, pow =
OverallVelocityNeededToReachAPosition(toLaunchAnlge, start, YesEnd, [Link](0,-
FF2Grav,0), TOF)
if AutoPowa then
if Throwtype == "Fade" then
PowerSir = 95
elseif Throwtype == "Bullet"
then
PowerSir = clampnum(pow,
90, 95)
else
PowerSir = pow
end
else
PowerSir = [Link]
end
local neworigin = start +
([Link] * 5)

local RemoteEvent =
[Link]:FindFirstChild("RemoteEvent")
if RemoteEvent then
local ThrowAnimation =
[Link]:LoadAnimation(game:GetService("ReplicatedStorage").[Link])
[Link] = "Throw"
ThrowAnimation:Play()

RemoteEvent:fireServer("Clicked", start, neworigin + [Link] *


10000, ([Link] == 8206123457 and PowerSir) or 95, PowerSir)

else

end
else

end
else

end
else

end
end
elseif [Link] == 8206123457 then
if [Link] == [Link].MouseButton1
and not gameProcessedEvent then
if Char then
local Football =
Char:FindFirstChildOfClass("Tool")
if Football then
if state == true then
if state == false then return end
local start =
[Link]:FindFirstChild("Head").Position
if not isLocked then
if autoswr then
ClosestPlr =
getMostIsolatedPlayer(dradius)
else
local nearestPlayer =
getNearestPlayerToMouse()
if nearestPlayer and
nearestPlayer:IsA("Player") then
ClosestPlr =
nearestPlayer
end
end
end

if isLocked and not ClosestPlr then


if autoswr then
if
getMostIsolatedPlayer(dradius) == nil then
ClosestPlr =
ClosestPlr
else
ClosestPlr =
getMostIsolatedPlayer(20)
end
else
if
getNearestPlayerToMouse() == nil then
ClosestPlr =
ClosestPlr
else
ClosestPlr =
getNearestPlayerToMouse()
end
end
end
local Initial = 95
local Throwtype;
if autopmode then
Throwtype = calculateThrowType(ClosestPlr)
else
Throwtype = getThrowType()
end

local vel;
local toThrowToDirection;
local pow;

local WhichOne2;
if Throwtype == "Fade" then
WhichOne2 =
[Link]
elseif Throwtype == "Bullet" then
WhichOne2 =
[Link]
else
WhichOne2 = [Link]
end
if Highestpwrmode then
Initial = 95
else
if AutoPowa then
if pow then
Initial = pow
else
Initial = 95
end
else
Initial = [Link]
end
end
local toLaunchAnlge;
if Highestpwrmode then
if AutoAngie then
toLaunchAnlge =
HighSpeedLowAngleCalcs(FF2Grav, Initial)
else
toLaunchAnlge =
[Link](WhichOne2)
end
else
if AutoAngie then
if Throwtype == "Fade"
then
toLaunchAnlge =
[Link](75)
elseif Throwtype ==
"Bullet" then
toLaunchAnlge =
clampnum(HighSpeedLowAngleCalcs(FF2Grav, Initial), 0, 0.296706)
else
toLaunchAnlge =
clampnum(calculateLaunchAngle(FF2Grav, Initial), 0, 0.975)
end
else
toLaunchAnlge =
[Link](WhichOne2)
end
end
local TOF =
GetTimeOfFlightProjectile(Initial, toLaunchAnlge, FF2Grav)
local YesEnd;
if [Link]([Link],
"bot 1") or [Link]([Link], "bot 3") then
YesEnd =
BotEstimatedVel(TOF, ClosestPlr)
elseif not
[Link]([Link], "bot 1") or not [Link]([Link], "bot 3")
then
YesEnd =
GetTargetPositionForWR(TOF, ClosestPlr)
end
local PowerSir;

vel, toThrowToDirection, pow =


OverallVelocityNeededToReachAPosition(toLaunchAnlge, start, YesEnd, [Link](0,-
FF2Grav,0), TOF)
if AutoPowa then
if Throwtype == "Fade" then
PowerSir = 95
elseif Throwtype == "Bullet"
then
PowerSir = clampnum(pow,
90, 95)
else
PowerSir = pow
end
else
PowerSir = [Link]
end
local neworigin = start +
([Link] * 5)

local RemoteEvent =
[Link]:FindFirstChild("RemoteEvent")
if RemoteEvent then
local ThrowAnimation =
[Link]:LoadAnimation(game:GetService("ReplicatedStorage").[Link])
[Link] = "Throw"
ThrowAnimation:Play()

RemoteEvent:fireServer("Clicked", start, neworigin + [Link] *


10000, ([Link] == 8206123457 and PowerSir) or 95, PowerSir)
else
end
else

end
else

end
else

end
end
end
end)

local TargetPosition;
local PredictedRoute

--// Connection to make it Click to Throw //--


[Link]:Connect(function(v)
if [Link] == "Football" and Char then
local children = v:GetChildren()
if [Link] == "Handle" then
local descendants = children:GetChildren()
if [Link] == "LocalScript" then
descendants:Destroy()
end
end
end
end)

local customBeam = false


--// One big function that holds function for if conditions //--
[Link](function()
game:GetService('RunService').Heartbeat:Connect(function()
[Link]()

if not isLocked then


if autoswr then
ClosestPlr = getMostIsolatedPlayer(dradius)
else
ClosestPlr = getNearestPlayerToMouse()
end
end

local PredictedRoute;

[Link]()
if state then
if [Link] and
[Link]:FindFirstChild("Football") and ClosestPlr then
[Link] = true

local Throwtype;
if autopmode then
Throwtype = calculateThrowType(ClosestPlr)
else
Throwtype = getThrowType()
end

[Link] = true
[Link] = 0
[Link] = [Link](0.34117647058,
0.34117647058, 1)
[Link] = [Link](0.803921, 0.898039,
0.941176)
--[[if not [Link]([Link], "bot 1") and not
[Link]([Link], "bot 3") then
PredictedRoute = CalculateRouteofPlayer(ClosestPlr)
elseif [Link]([Link], "bot 1") or
[Link]([Link], "bot 3") then
PredictedRoute = "Straight"
end--]]

if not [Link]([Link], "bot 1") and not


[Link]([Link], "bot 3") then
if
[Link]:FindFirstChild("HumanoidRootPart") then
[Link] = [Link]

end
elseif [Link]([Link], "bot 1") or
[Link]([Link], "bot 3") then
[Link] = ClosestPlr

end
[Link] = true

local WhichOne;
if Throwtype == "Fade" then
WhichOne = [Link]
elseif Throwtype == "Bullet" then
WhichOne = [Link]
else
WhichOne = [Link]
end

local FF2Grav = 28
local Start =
[Link]:FindFirstChild("Head").Position
local power;
local velocity;
local direction;
local Initial;
local LaunchAngle;
if Highestpwrmode then
Initial = 95
else
if AutoPowa then
if power then
Initial = power
else
Initial = 95
end
else
Initial = [Link]
end

end

if Highestpwrmode then
if AutoAngie then
LaunchAngle = HighSpeedLowAngleCalcs(FF2Grav,
Initial)
else
LaunchAngle = [Link](WhichOne)
end
else
if AutoAngie then
if Throwtype == "Fade" then
LaunchAngle = [Link](75)
elseif Throwtype == "Bullet" then
LaunchAngle =
clampnum(HighSpeedLowAngleCalcs(FF2Grav, Initial), 0, 0.296706)
else
LaunchAngle =
clampnum(calculateLaunchAngle(FF2Grav, Initial), 0, 0.975)
end
else
LaunchAngle = [Link](WhichOne)
end
end

local TOF = GetTimeOfFlightProjectile(Initial, LaunchAngle,


FF2Grav)
local TargetPosition;

if ([Link]([Link], "bot 1") or


[Link]([Link], "bot 3")) then
if [Link] == 8206123457 then
TargetPosition = BotEstimatedVel(TOF,
ClosestPlr)
elseif [Link] ~= 8206123457 then
TargetPosition =
KeepPosInBounds(BotEstimatedVel(TOF, ClosestPlr), 70.5, 175.5)
end
else
if [Link] == 8206123457 then
TargetPosition = GetTargetPositionForWR(TOF,
ClosestPlr)
elseif [Link] ~= 8206123457 then
TargetPosition =
KeepPosInBounds(GetTargetPositionForWR(TOF, ClosestPlr), 70.5, 175.5)
end
end

local POWAA;
velocity, direction, power =
OverallVelocityNeededToReachAPosition(LaunchAngle, Start, TargetPosition,
[Link](0, -FF2Grav, 0), TOF)
if power and Initial == 95 and AutoPowa then
Initial = power
else
Initial = [Link]
end

if AutoPowa then
if Throwtype == "Fade" then
POWAA = 95
elseif Throwtype == "Bullet" then
POWAA = clampnum(power, 90, 95)
else
POWAA = power
end
else
POWAA = [Link]
end
if isVector3Valid(direction) and
isVector3Valid(TargetPosition) then
[Link] = direction

local startAdjusted = Start + ([Link]


* 5) -- // this is the beginning offsets on the server // --
local ATime;
if customBeam then
ATimee = 10
else
ATimee = TOF
end
local curve0, curve1, cf0, cf1 =
beamProjectile([Link](0, -FF2Grav, 0), POWAA * [Link], Start +
([Link] * 5), ATimee)

beam.CurveSize0 = curve0
beam.CurveSize1 = curve1
[Link] =
[Link]:inverse() * cf0
[Link] =
[Link]:inverse() * cf1
local PeakPos = ProjectilePeakPosition(startAdjusted,
velocity, [Link](0, -28, 0))
[Link] = workspace
[Link] = [Link](PeakPos)
[Link] = true

---// get beam rotation //--


local sum = ([Link] -
[Link]):Inverse()
if endPartOfBeam == false then
[Link] = [Link] * sum
* [Link]([Link](0), 0, 0)
end
--[Link] =
game:GetService("UserInputService"):GetMouseLocation()--
local CamPo, OnScren = isVisandPos([Link])
local CamPo2, OnS =
isVisandPos([Link])

[Link] = [Link]
[Link] = tostring(POWAA)

if not ([Link]([Link], "bot 1") or


[Link]([Link], "bot 3")) then
local ClosestCB =
getPeopleGuardingClosestToMouse(ClosestPlr)
if Interceptable(ClosestCB, [Link],
TOF) then
[Link] = "Yes"
else
[Link] = "No"
end
elseif [Link]([Link], "bot 1") or
[Link]([Link], "bot 3") then
local BotCbClosest =
getClosestCBtoBot(ClosestPlr)
if botInterceptable(BotCbClosest,
[Link], TOF) then
[Link] = "Yes"
else
[Link] = "No"
end
end

if not [Link]([Link], "bot 1") and not


[Link]([Link], "bot 3") then
local ClosestWRR = getNearestPlayerToMouse()
if CatchAble(ClosestWRR, [Link], TOF)
then
[Link] = "Yes"
else
[Link] = "No"
end
elseif [Link]([Link], "bot 1") or
[Link]([Link], "bot 3") then
local BotCbWr = getNearestPlayerToMouse()
if botCatchAble(BotCbWr, [Link]) then
[Link] = "Yes"
else
[Link] = "No"
end
end

[Link] = tostring(RoundNumToHundredths(TOF)) .. "s"

if AutoAngie then
if Throwtype == "Fade" then
[Link] = "75"
else
[Link] =
tostring(RoundNumToHundredths([Link](LaunchAngle)))
end
else
[Link] = tostring(WhichOne)
end
end
else
[Link] = false
[Link] = false

end
else
[Link] = false
[Link] = false
[Link] = false
end
end)
end)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local aRushOn = false
if [Link] ~= 8206123457 then
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = [Link]
local charplr = [Link] or [Link]:Wait()
local hrp2 = charplr:FindFirstChild("HumanoidRootPart")
local hum2 = charplr:FindFirstChild("Humanoid")
local agDist = 20
[Link]:Connect(function(character)
charplr = character
end)

local function doGuarding()


local BallCarrier = [Link]
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and [Link] ~= [Link] and player ==
BallCarrier then
print(BallCarrier)
local car = [Link]
if car then
local hrp = car:FindFirstChild("HumanoidRootPart")
local hum = car:FindFirstChild("Humanoid")
if hrp and hrp2 and hum and hum2 then
local WS = 20
local distance = ([Link] - [Link]).magnitude
local TimeToGet = distance / WS
if distance <= agDist then
local equation = [Link] + ([Link] *
TimeToGet * WS)
hum2:MoveTo(equation)
end
end
end
end
end
end

[Link](function()
while [Link]() do
if aRushOn then
doGuarding()
end
end
end)
end
local pvon = false
local pvstrength = 10
local pvdist = 20
local plr = game:GetService("Players").LocalPlayer
local char = [Link]
[Link]:Connect(function(character)
char = character
end)

[Link](function()
[Link]:Connect(function(child)
while [Link]() do
if [Link] == "Football" and pvon and child:IsA("BasePart") then
local hrp = char:FindFirstChild("HumanoidRootPart")
local direction = ([Link] - [Link]).Unit
local dist = ([Link] - [Link]).magnitude

if dist <= pvdist then

[Link] = direction * pvstrength

end
end
end
end)
end)
getgenv().antiJamOn = false
[Link](function()
while wait() do
for index, player in pairs(game:GetService("Players"):GetChildren()) do
if player ~= LocalPlayer then
local char = [Link]
if char then
for index, part in pairs(char:GetChildren()) do
if part:IsA("BasePart") or part:IsA("MeshPart") and
[Link] then
if antiJamOn then
[Link] = false
else
[Link] = true
end
end
end
end
end
end
end
end)
local plrr = game:GetService("Players").LocalPlayer
local charr = [Link]
[Link]:Connect(function(character)
charr = character
end)
local clicktpfon = false
local clicktpstreng = 3
[Link]:Connect(function(input, gameProcessedEvent)
if [Link] == [Link].F and clicktpfon then
local hrp = charr:FindFirstChild("HumanoidRootPart")

[Link] = [Link] + ([Link] * clicktpstreng)

end
end)

local angleEnhance;
local Players = game:GetService("Players")
local lp = [Link]
local char = [Link]
[Link]:Connect(function(character)
char = character
end)
local function onToggle2(Value)
angleEnhance = Value
if angleEnhance then
connection =
game:GetService("RunService").RenderStepped:Connect(function()
local upWard = [Link](0, 10, 0)
local lp = [Link]
local hrp = char and char:FindFirstChild("HumanoidRootPart")
local hum = char and char:FindFirstChild("Humanoid")
local AngleNumBa = (52.5 / 10)
if hrp and hum and [Link] == [Link] and
[Link] then
[Link] = upWard * AngleNumBa
end
end)
else
if connection then
connection:Disconnect()
connection = nil
end
end
end
local BeOn = false
[Link]:Connect(function(v)
if [Link] == "Football" and v:IsA("BasePart") and BeOn then
[Link]()
local startTime = tick()
local Beginning = [Link]
local Vel3 = [Link]
local t = 10
local ff2G = [Link](0, -28, 0)
local curve0, curve1, cf1, cf2 = beamProjectile(ff2G, Vel3,
Beginning, t)
local beam = [Link]("Beam")
local Attach0 = [Link]("Attachment",
[Link])
local Attach1 = [Link]("Attachment",
[Link])
[Link] = [Link]({
[Link](0, [Link](87, 123,
255)),
[Link](1, [Link](87, 123,
255))
})

[Link] = [Link]
beam.CurveSize0 = curve0
beam.CurveSize1 = curve1
[Link] = 1750

[Link] = [Link]:inverse() * cf1


[Link] = [Link]:inverse() * cf2
beam.Attachment0 = Attach0
beam.Attachment1 = Attach1

beam.Width0 = 0.5
beam.Width1 = 0.5
repeat
[Link]()
until [Link] ~= workspace
Attach0:Destroy()
Attach1:Destroy()
end
end)

local OceanLib = Ocean:NewWindow()


local t3 = OceanLib:Tab("QB", 10723426986)
local t4 = OceanLib:Tab("QB Configs", 10723426986)
local t1 = OceanLib:Tab("Catching", 10723426986)
local t5 = OceanLib:Tab("Automatics", 10723426986)
local t7 = OceanLib:Tab("Kicker", 10723426986)
local t6 = OceanLib:Tab("Visuals", 10723426986)
local t2 = OceanLib:Tab("Player", 10723424505)
t1:Dropdown("Magnet Version", {
Default = "None",
Options = {"Magnets V1", "Magnets V2 (RISKY)"},
Callback = function(v)
msVersion = v
end,
})
t1:Toggle("Magnets", {
Default = false,
Callback = function(v)
on = v
end,
})
t1:Dropdown("Magnet Type", {
Default = "None",
Options = {"Blatant", "Legit", "Regular", "Leauge"},
Callback = function(v)
magType = v
end,
})
t1:Slider("Blatant Mag Range", {
Default = 20,
Min = 20,
Max = 30,
Callback = function(v)
bldist = v
end,
})
t1:Slider("Regular Mag Range", {
Default = 15,
Min = 15,
Max = 25,
Callback = function(v)
regdist = v
end,
})
t1:Slider("Legit Mag Range", {
Default = 5,
Min = 5,
Max = 10,
Callback = function(v)
legmagdist = v
end,
})
t1:Slider("Leauge Mag Range", {
Default = 0,
Min = 0,
Max = 5,
Callback = function(v)
leaugdist = v
end,
})
t1:Slider("Magnets V2 Range", {
Default = 20,
Min = 0,
Max = 30,
Callback = function(v)
msSecondVerRange = v
end,
})
t1:Toggle("Pull Vector", {
Default = false,
Callback = function(v)
pvon = v
end,
})
t1:Slider("Pull Vector Strength", {
Default = 1,
Min = 1,
Max = 30,
Callback = function(v)
pvstrength = v
end,
})
t1:Slider("Pull Vector Distance", {
Default = 1,
Min = 1,
Max = 30,
Callback = function(v)
pvdist = v
end,
})
getgenv().VIM = game:GetService("VirtualInputManager")
getgenv().plrrrr = game:GetService("Players").LocalPlayer
getgenv().charrrr = [Link]
getgenv().kickOn = false
[Link]:Connect(function(character)
charrrr = character
end)
local autoCapOn = false
if [Link] ~= 8206123457 then
local endCaptainLine =
workspace:FindFirstChild("Models"):FindFirstChild("LockerRoomA"):FindFirstChild("Fi
nishLine")
local plr = game:GetService("Players").LocalPlayer
local char = [Link] or [Link]:Wait()
local hrp = char:FindFirstChild("HumanoidRootPart")
local autoCapOffset = [Link](2.1, 2.1, 2.1)

endCaptainLine:GetPropertyChangedSignal("Position"):Connect(function()
if autoCapOn then
[Link](0.13)
[Link] = [Link] + autoCapOffset
[Link](0.25)
[Link] = [Link] + autoCapOffset
[Link](0.25)
[Link] = [Link] + autoCapOffset
[Link](0.25)
[Link] = [Link] + autoCapOffset
[Link](0.25)
[Link] = [Link] + autoCapOffset
[Link](0.25)
[Link] = [Link] + autoCapOffset
[Link](0.25)
[Link] = [Link] + autoCapOffset
end
end)
end

game:GetService("Players").[Link]:Connect(function(child)

local hum = charrrr:FindFirstChild("Humanoid")


if [Link] == "KickerGui" and charrrr and hum and kickOn then
local cursor = child:FindFirstChild("Cursor", true)
local firstdone = false
local seconddone = false
VIM:SendMouseButtonEvent(0, 0, 0, true, nil, 0)
repeat
[Link]()
until [Link] <= 0.03
VIM:SendMouseButtonEvent(0, 0, 0, true, nil, 0)
firstdone = true
if firstdone then
repeat
[Link]()
until [Link] >= 0.89
end
VIM:SendMouseButtonEvent(0, 0, 0, true, nil, 0)
seconddone = true
if seconddone and firstdone then
VIM:SendMouseButtonEvent(0, 0, 0, true, nil, 0)
hum:MoveTo([Link]["KickerBall"].Position)
end
end
end)
t7:Toggle("Perfect Kicker Aimbot", {
Default = false,
Callback = function(v)
kickOn = v
end,
})

getgenv().antiBlockOn = false

local PLR = game:GetService("Players").LocalPlayer


local charppp = [Link]
[Link]:Connect(function(gg)
charppp = gg
end)
local isAMatch = [Link]
[Link]:Connect(function(child)
if isAMatch([Link], "FFmover") and antiBlockOn then
print("Removed.")
child:Destroy()
end
end)

local VIM = game:GetService("VirtualInputManager")


local PLR = game:GetService("Players").LocalPlayer
local charp = [Link]
local autoCatchOn = false
[Link]:Connect(function(gg)
charp = gg
end)

_G.dist = 17

local function Autocatch()


VIM:SendMouseButtonEvent(0, 0, 0, true, nil, 0)
VIM:SendMouseButtonEvent(0, 0, 0, false, nil, 0)
end

game:GetService("RunService").RenderStepped:Connect(function()
for index, ball in pairs(workspace:GetChildren()) do
if [Link] == "Football" and ball:IsA("BasePart") then
if charp:FindFirstChild("HumanoidRootPart") and
(charp:FindFirstChild("HumanoidRootPart").Position - [Link]).Magnitude <=
_G.dist and autoCatchOn then
Autocatch()
end
end
end
end)
getgenv().VIM = game:GetService("VirtualInputManager")
getgenv().PLR = game:GetService("Players").LocalPlayer
getgenv().charr = [Link]
getgenv().autoJumpOn = false
[Link]:Connect(function(gg)
charr = gg
end)

getgenv().disttt = 17

function AutoJump()
VIM:SendKeyEvent(true, [Link], false, game)
wait(0.1)
VIM:SendKeyEvent(false, [Link], false, game)
end

game:GetService("RunService").RenderStepped:Connect(function()
for index, ball in pairs(workspace:GetChildren()) do
if [Link] == "Football" and ball:IsA("BasePart") then
if charr:FindFirstChild("HumanoidRootPart") and
(charr:FindFirstChild("HumanoidRootPart").Position - [Link]).Magnitude <=
disttt and autoJumpOn then
AutoJump()
end
end
end
end)
getgenv().VIM = game:GetService("VirtualInputManager")
getgenv().PLR = game:GetService("Players").LocalPlayer
getgenv().charrr = [Link]
getgenv().autoSwatOn = false
[Link]:Connect(function(gg)
charrr = gg
end)

getgenv().distttt = 17

function AutoSwat()
VIM:SendKeyEvent(true, [Link].R, false, game)
wait(0.1)
VIM:SendKeyEvent(false, [Link].R, false, game)
end

game:GetService("RunService").RenderStepped:Connect(function()
for index, ball in pairs(workspace:GetChildren()) do
if [Link] == "Football" and ball:IsA("BasePart") then
if charrr:FindFirstChild("HumanoidRootPart") and
(charrr:FindFirstChild("HumanoidRootPart").Position - [Link]).Magnitude <=
distttt and autoSwatOn then
AutoSwat()
end
end
end
end)

t5:Toggle("Auto Catch", {
Default = false,
Callback = function(v)
autoCatchOn = v
end,
})
t5:Slider("Auto Catch Distance", {
Default = 10,
Min = 10,
Max = 20,
Callback = function(v)
_G.dist = v
end,
})
t5:Toggle("Auto Jump", {
Default = false,
Callback = function(v)
autoJumpOn = v
end,
})
t5:Slider("Auto Jump Distance", {
Default = 10,
Min = 10,
Max = 20,
Callback = function(v)
disttt = v
end,
})
t5:Toggle("Auto Swat", {
Default = false,
Callback = function(v)
autoSwatOn = v
end,
})
t5:Slider("Auto Swat Distance", {
Default = 10,
Min = 10,
Max = 20,
Callback = function(v)
distttt = v
end,
})
t5:Toggle("Auto Rush", {
Default = false,
Callback = function(v)
aRushOn = v
end,
})
t5:Slider("Auto Rush Distance", {
Default = 20,
Min = 0,
Max = 30,
Callback = function(v)
agDist = v
end,
})
t5:Toggle("Auto Captain", {
Default = false,
Callback = function(v)
autoCapOn = v
end,
})
local jps = 50
local jumpPowerEnabled = false
local connection
local lp = [Link]
local char = [Link]
[Link]:Connect(function(character)
char = character
end)
local function onToggle(Value)
jumpPowerEnabled = Value
if jumpPowerEnabled then
connection =
game:GetService("RunService").RenderStepped:Connect(function()
local upWard = [Link](0, 10, 0)
local lp = [Link]
local hrp = char and char:FindFirstChild("HumanoidRootPart")
local hum = char and char:FindFirstChild("Humanoid")
local newJPS = (jps / 10)
if hrp and hum and [Link] == [Link] and
[Link] then
[Link] = upWard * newJPS
end
end)
else
if connection then
connection:Disconnect()
connection = nil
end
end
end

getgenv().LookVectorSpeed = false
getgenv().UIS = game:GetService("UserInputService")
getgenv().playAH = game:GetService("Players").LocalPlayer
getgenv().ggchara = [Link] or [Link]:Wait()
getgenv().hrpp = nil
getgenv().Speedboostnum = 3
[Link]:Connect(function(gg)
ggchara = gg
end)
[Link](function()
while wait() do
hrpp = ggchara:FindFirstChild("HumanoidRootPart")
end
end)

function VectorSpeed()
hrpp = ggchara:FindFirstChild("HumanoidRootPart")

if LookVectorSpeed then
[Link] = [Link] + [Link] * Speedboostnum
end
end
[Link]:Connect(function(input)
if [Link] == [Link].F then
VectorSpeed()
end
end)

t2:Toggle("Jump Power", {
Default = false,
Callback = function(v)
local jpOnDude = v
onToggle(jpOnDude)
end,
})
t2:Slider("Jump Power Strength", {
Default = 50,
Min = 50,
Max = 70,
Callback = function(v)
jps = v
end,
})

t2:Toggle("Angle Enhancer (Dont Use with JP)", {


Default = false,
Callback = function(v)
local jpOnDudee = v
onToggle2(jpOnDudee)
end,
})
t2:Toggle("Anti Jam", {
Default = false,
Callback = function(v)
antiJamOn = v
end,
})
t2:Toggle("Anti Block", {
Default = false,
Callback = function(v)
antiBlockOn = v
end,
})
t2:Toggle("Speed Boost | F", {
Default = false,
Callback = function(v)
LookVectorSpeed = v
end,
})
t2:Slider("Speed Boost Strength", {
Default = 3,
Min = 0,
Max = 5,
Callback = function(v)
Speedboostnum = v
end,
})
t3:Toggle("QB Aimbot", {
Default = false,
Callback = function(v)
state = v
end,
})
t3:Toggle("Auto Angle", {
Default = false,
Callback = function(v)
AutoAngie = v
end,
})
t4:Toggle("Full Beam Length", {
Default = false,
Callback = function(v)
customBeam = v
end,
})
t4:Toggle("Remove Beam End Part", {
Default = false,
Callback = function(v)
endPartOfBeam = v
end,
})
t4:Toggle("Custom Lead", {
Default = false,
Callback = function(v)
customLeads = v
end,
})
t4:Slider("Lead Distance", {
Default = 18.9,
Min = 15,
Max = 20,
Callback = function(v)
customLead = v
end,
})
t3:Toggle("Auto Power", {
Default = false,
Callback = function(v)
AutoPowa = v
end,
})
t3:Toggle("High Power Mode", {
Default = false,
Callback = function(v)
Highestpwrmode = v
end,
})
t3:Toggle("Auto Mode Selection", {
Default = false,
Callback = function(v)
autopmode = v
end,
})
t3:Toggle("Auto Select WR", {
Default = false,
Callback = function(v)
autoswr = v
end,
})
t3:Toggle("R and F to change angle manually", {
Default = false,
Callback = function(v)
print("ok")
end,
})
t3:Toggle("Z and X to change power manually", {
Default = false,
Callback = function(v)
print("ok")
end,
})
t3:Toggle("C to change modes", {
Default = false,
Callback = function(v)
print("ok")
end,
})
t6:Toggle("Magnet Hitbox Visualizer", {
Default = false,
Callback = function(v)
on3 = v
end,
})
t6:Toggle("Ball Trajectory Beam", {
Default = false,
Callback = function(v)
BeOn = v
end,
})
t3:Toggle("Q to lock on", {
Default = false,
Callback = function(v)
print("ok")
end,
})

You might also like