Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local colors = {
- SchemeColor = Color3.fromRGB(0,255,255),
- Background = Color3.fromRGB(45, 3, 2),
- Header = Color3.fromRGB(56, 3, 4),
- TextColor = Color3.fromRGB(255,255,255),
- ElementColor = Color3.fromRGB(20, 20, 20)
- }
- if game.PlaceId == 2772836071 then
- print'Drop Offs'
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
- local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
- NotifyLib.prompt('Moon Gui - V To Open - Revamped by Meer , Vaultzx', 'Loading..', 5)
- NotifyLib.prompt('Moon Gui - Revamped by Meer , Vaultzx', 'Best Gui Ong - Meer', 5)
- NotifyLib.prompt('Moon Gui - Revamped by BabyChief , Vaultz', 'BabyChief#7690 , switchy#9302', 5)
- NotifyLib.prompt('Game Detected: Drop Offs', 'BabyChief#7690 , switchy#9302', 5)
- end
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("BabyChief Drop Offs Hub V3", "Ocean")
- -- Main
- local Main = Window:NewTab("Updates")
- local MainSection = Main:NewSection("Made on 8/11/2022")
- local MainSection = Main:NewSection("More Updates Coming Soon!")
- local MainSection = Main:NewSection("Any Problems Dm BabyChief#7690 or switchy#9302")
- local Main = Window:NewTab("Main")
- local MainSection = Main:NewSection("Main")
- MainSection:NewButton("Aimbot Double Space / Auto Guard Tap R ", "Double Space to use ", function()
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local AttachButton = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local LockButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- --Properties:
- ScreenGui.Parent = game:GetService("RunService"):IsStudio() and game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui") or game:GetService("CoreGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Name = "FollowGui"
- UICorner.CornerRadius = UDim.new(0.125, 0)
- UICorner.Parent = Frame
- --AttachButton.Name = "AttachButton"
- --AttachButton.Parent = Frame
- --AttachButton.AnchorPoint = Vector2.new(1, 0.5)
- --AttachButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
- --AttachButton.BorderColor3 = Color3.fromRGB(191, 0, 0)
- --AttachButton.BorderSizePixel = 0
- --AttachButton.Position = UDim2.new(0.5, -10, 0.5, 0)
- --AttachButton.Size = UDim2.new(0, 128, 0, 32)
- --AttachButton.ZIndex = 2
- --AttachButton.Font = Enum.Font.SourceSansSemibold
- --AttachButton.Text = "ATTACH"
- --AttachButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- --AttachButton.TextSize = 26.000
- --UICorner_2.CornerRadius = UDim.new(0.125, 0)
- --UICorner_2.Parent = AttachButton
- LockButton.Name = "LockButton"
- LockButton.Parent = Frame
- LockButton.AnchorPoint = Vector2.new(0, 0.5)
- LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
- LockButton.BorderColor3 = Color3.fromRGB(191, 0, 0)
- LockButton.BorderSizePixel = 0
- LockButton.Position = UDim2.new(0, 10, 0.5, 0)
- LockButton.Size = UDim2.new(0, 128, 0, 32)
- LockButton.ZIndex = 2
- LockButton.Font = Enum.Font.SourceSansSemibold
- LockButton.Text = "LOCK ON [R]"
- LockButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- LockButton.TextSize = 26.000
- UICorner_3.CornerRadius = UDim.new(0.125, 0)
- UICorner_3.Parent = LockButton
- -- Personal Code --
- local players = game:GetService("Players")
- local p = players.LocalPlayer
- local runService = game:GetService("RunService")
- local uis = game:GetService("UserInputService")
- local pdata = p:WaitForChild("PlayerData", 5)
- local gdata = pdata:WaitForChild("GameData", 5)
- local HerePart = nil
- local ShootPart = nil
- local Opponents = {}
- local Teammates = {}
- local Locked = false
- function Flatten (v3)
- return Vector3.new(v3.X, 0, v3.Z)
- end
- function Lerp (n1, n2, a)
- return (n2-n1)*a + n1
- end
- function GetHerePart (court)
- if court:FindFirstChild("here") then
- return court["DunkHit"], court["DunkHit"]
- else
- local char = p.Character
- if not char then
- return nil
- end
- local head = p.Character:FindFirstChild("Head")
- if not head then
- return nil
- end
- local dunkHits = {}
- local allObjects = court:GetChildren ()
- for _, object in pairs (allObjects) do
- if object.Name == "DunkHit" then
- table.insert (dunkHits, object)
- end
- end
- local d1 = (Flatten(dunkHits[1].CFrame.p) - Flatten(head.CFrame.p)).Magnitude
- local d2 = (Flatten(dunkHits[2].CFrame.p) - Flatten(head.CFrame.p)).Magnitude
- if (d1 > d2) then
- return dunkHits[2], dunkHits[1]
- else
- return dunkHits[1], dunkHits[2]
- end
- end
- end
- local attachReady = true
- function Attach ()
- if not attachReady then
- return false
- end
- attachReady = false
- if not gdata["Playing"].Value or not gdata["Court"].Value or gdata["Team"].Value == "" then
- -- Cannnot attach
- warn ("DE follow - attach failed")
- warn (debug.traceback())
- attachReady = true
- --AttachButton.BackgroundColor3 = Color3.fromRGB(243, 32, 32)
- --AttachButton.Text = "ERROR"
- --wait (1)
- --AttachButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
- --AttachButton.Text = "ATTACH"
- --attachReady = true
- else
- -- Can attach
- local court = workspace:FindFirstChild(gdata["Court"].Value)
- HerePart, ShootPart = GetHerePart(court)
- for _, player in pairs (players:GetPlayers()) do
- local pd = player:FindFirstChild("PlayerData")
- -- print("P: FOR PLAYER " .. player.Name)
- if pd then
- -- print("P: player data found")
- local gd = pd:FindFirstChild("GameData")
- if gd then
- -- print("P: game data found")
- if gd["Playing"].Value then
- --print("P: is playing")
- if gd["Court"].Value == gdata["Court"].Value then
- --print("P: FOR PLAYER " .. player.Name)
- --print("P: same court")
- if gd["Team"].Value ~= gdata["Team"].Value then
- --print("P: opposite teams")
- table.insert (Opponents, player)
- elseif gd["Team"].Value == gdata["Team"].Value then
- table.insert (Teammates, player)
- end
- end
- end
- end
- end
- end
- if #Opponents <= 0 then
- warn ("NASTY ERROR - SEARCH CODE 102")
- warn (debug.traceback())
- end
- repeat
- gdata["Playing"].Changed:Wait()
- until not gdata["Playing"].Value
- HerePart = nil
- ShootPart = nil
- Opponents = {}
- Teammates = {}
- attachReady = true
- LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
- LockButton.Text = "LOCK ON [R]"
- Locked = false
- end
- end
- local lockReady = true
- function LockOn ()
- if not lockReady then
- return nil
- end
- lockReady = false
- if not HerePart then
- LockButton.BackgroundColor3 = Color3.fromRGB(243, 32, 32)
- LockButton.Text = "NOT IN GAME"
- wait (1)
- LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
- LockButton.Text = "LOCK ON [R]"
- lockReady = true
- else
- if not Locked then
- LockButton.BackgroundColor3 = Color3.fromRGB(32, 243, 48)
- LockButton.Text = "LOCKED"
- Locked = true
- lockReady = true
- else
- LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
- LockButton.Text = "LOCK ON [R]"
- Locked = false
- lockReady = true
- end
- end
- end
- LockButton.MouseButton1Click:Connect(LockOn)
- uis.InputBegan:Connect(function(input, processed)
- if processed then
- return nil
- end
- if (input.KeyCode == Enum.KeyCode.R) then
- LockOn()
- end
- if (input.KeyCode == Enum.KeyCode.Space) then
- local char = p.Character
- if char then
- local h = char:FindFirstChild("Humanoid")
- if h then
- if h:GetState() == Enum.HumanoidStateType.Freefall then
- print("shoot fired")
- Shoot (char)
- end
- end
- end
- end
- end)
- local DATASET = {
- {60.61, 0.964},
- {66.83, 0.856},
- {50.36, 1.099},
- {33.88, 1.288},
- {26.92, 1.346},
- {57.56, 1.019},
- {67.5, 0.846},
- {63.54, 0.917},
- {61.23, 0.95},
- {53.82, 1.082},
- {6.87, 1.505},
- {47.12, 1.13},
- {44.57, 1.181},
- {64.46, 0.904},
- {73.44, 0.625},
- {71.5, 0.634},
- {69.5, 0.774},
- {68.5, 0.829},
- {66.93, 0.885},
- }
- table.sort(DATASET,function (a, b)
- return a[1] < b[1]
- end)
- for index, value in pairs (DATASET) do
- print (value[1], " : ", value[2])
- end
- function GetShotAngle (x)
- if x < DATASET[1][1] then
- return DATASET[1][2]
- elseif x > DATASET[#DATASET][1] then
- return DATASET[#DATASET][2]
- else
- for key, value in pairs (DATASET) do
- if value[1] > x then
- local last = DATASET[key - 1]
- local alpha = (x - last[1]) / (value[1] - last[1])
- return Lerp (last[2], value[2], alpha)
- end
- end
- end
- end
- function Shoot (char)
- if not ShootPart then
- print("no shootpart FAIL")
- return nil
- end
- local ball = char:FindFirstChild("Ball")
- if not ball then
- print("no ball FAIL")
- return nil
- end
- local head = char:FindFirstChild("Head")
- if not head then
- return nil
- end
- local player = players:GetPlayerFromCharacter(char)
- if (player ~= p) then
- print("wrong player FAIL")
- return nil
- end
- local gui = p["PlayerGui"]["PowerGuiPC"]["Frame"]["Power"]
- local thePower = gui.Text
- thePower = tonumber(thePower)
- local headPos = head.CFrame.p
- local shootVector = SafeUnit( Flatten (ShootPart.CFrame.p - headPos) )
- local randomY = 1 + math.random() * 0.02
- if thePower > 84 then
- local flatDistance = Flatten (ShootPart.CFrame.p - headPos).Magnitude
- local shotAngle = GetShotAngle (flatDistance)
- shootVector = Vector3.new(shootVector.X, math.tan(shotAngle), shootVector.Z)
- else
- shootVector = Vector3.new(shootVector.X, 0.668 + 0.002 * math.random(), shootVector.Z)
- end
- shootVector = SafeUnit (shootVector)
- shootVector = shootVector * (9987 + math.random()*4)
- local shootEvent = ball["Events"]["Shoot"]
- shootEvent:FireServer(shootVector + headPos, headPos, thePower)
- end
- function OnCharacterAdded (c)
- print("locking")
- local humanoid = c:WaitForChild("Humanoid", 5)
- humanoid:GetPropertyChangedSignal ("WalkSpeed"):Connect(function ()
- if humanoid.WalkSpeed > 8 then
- Attach ()
- end
- end)
- end
- p.CharacterAdded:Connect(OnCharacterAdded)
- if p.Character then
- OnCharacterAdded (p.Character)
- end
- function GetIdealMovementVector (netPos, targetPos, selfPos)
- netPos = Flatten(netPos)
- targetPos = Flatten(targetPos)
- selfPos = Flatten(selfPos)
- if (targetPos - netPos).Magnitude <= 1 then
- return Vector3.new() -- Be safe in underneath-net condition
- end
- local lineDir = (targetPos - netPos)
- --targetPos = targetPos - SafeUnit(lineDir)/2
- --lineDir = (targetPos - netPos)
- local lineLength = lineDir.Magnitude
- local function GetTargetDistance (alpha)
- if alpha > 1 then
- alpha = 1
- elseif alpha < 0 then
- alpha = 0
- end
- local realDistance = (lineLength * (1 - alpha))
- return realDistance + 4
- --local posAlongLine = netPos + lineDir * alpha
- --return (targetPos - posAlongLine).Magnitude + 4, posAlongLine
- end
- local function GetSelfDistance (alpha)
- if alpha > 1 then
- alpha = 1
- elseif alpha < 0 then
- alpha = 0
- end
- local posAlongLine = netPos + lineDir * alpha
- return (selfPos - posAlongLine).Magnitude, posAlongLine
- end
- local function GetIdealPointAlongLine ()
- if GetTargetDistance (0) < GetSelfDistance (0) then
- -- print("instant return 1")
- return netPos -- Save computation time by returning immediately
- elseif GetTargetDistance (1) > GetSelfDistance (1) then
- -- print ("instant return 2")
- local x, result = GetSelfDistance (1) -- Same as above
- return result
- end
- for i = 10, 0, -1 do -- 10 iterations max
- local d1 = GetTargetDistance (i / 10)
- local d2, pos = GetSelfDistance (i / 10)
- if (d2 < d1) then
- -- We know our solution is in between i and i + 0.1
- for j = 10, 0, -1 do
- d1 = GetTargetDistance (i / 10 + (j / 100))
- d2, pos = GetSelfDistance (i / 10 + (j / 100))
- if (d2 < d1) then
- for k = 10, 0, -1 do
- d1 = GetTargetDistance (i / 10 + (j / 100) + (k / 1000))
- d2, pos = GetSelfDistance (i / 10 + (j / 100) + (k / 1000))
- if (d2 < d1) then
- return pos
- end
- end
- break
- end
- end
- break
- end
- end
- warn("Bad return")
- warn(debug.traceback())
- return netPos -- Redundant return (but we will leave it for safety)
- end
- local bestPosition = GetIdealPointAlongLine ()
- local movementVector = bestPosition - selfPos
- if (movementVector).Magnitude < (1/8) then
- return Vector3.new()
- end
- return movementVector
- end
- --function CalculateNearestAngle (s, e, third)
- -- local dir = (e - s)
- -- if (dir.Magnitude < 1/1028) then
- -- error ("'s' and 'e' cannot be identical")
- -- end
- -- dir = Flatten (dir)
- -- s = Flatten (s)
- -- e = Flatten (e)
- -- third = Flatten (third)
- -- local t = (third - s):Dot(dir) / dir:Dot(dir)
- -- if t <= 0 then
- -- return -(third - s)
- -- elseif t >= 1 then
- -- return -(third - e)
- -- else
- -- return -(third - (s + t * dir))
- -- end
- --end
- --function CalculateBestAngle (netPos, targetPos, selfPos)
- -- -- Get the vector direction from third to nearest point
- -- netPos = Flatten (netPos)
- -- targetPos = Flatten (targetPos)
- -- selfPos = Flatten (selfPos)
- -- local shortestVector = CalculateNearestAngle (netPos, targetPos, selfPos)
- -- local lineDir = (targetPos - netPos)
- -- local m = shortestVector.Magnitude
- -- local goalPosition = selfPos +
- -- netPos = Flatten ()s = Flatten (s)
- -- e = Flatten (e)
- -- third = Flatten (third)
- -- local dir = (e - s)
- -- dir = Flatten (dir)
- -- local m = nearest.Magnitude
- -- if distance > m then
- -- local addDistance = math.sqrt(distance^2 - m^2)
- -- local r = nearest + addDistance * dir.Unit
- -- if ((r + third) - s).Magnitude > dir.Magnitude then
- -- print("CLOSE CONDITION")
- -- return (e - third)
- -- end
- -- return r
- -- else
- -- return nearest
- -- end
- --end
- function SafeUnit (v)
- if (v.Magnitude > 1/64) then
- return v.Unit
- else
- return Vector3.new()
- end
- end
- local target = {nil, 0}
- local liveTarget = false
- runService:BindToRenderStep("move",
- -- run after the character
- Enum.RenderPriority.Character.Value + 2,
- function()
- if not Locked then
- -- print("Not locked")
- target = {nil, 0}
- return nil
- else
- -- print("Locked")
- end
- for _, player in pairs (Opponents) do
- local char = player.Character
- if char then
- local ball = char:FindFirstChild("Ball")
- if ball then
- target = {char, -1}
- end
- end
- end
- target[2] = target[2] + 1 --> So, a new target will have target[2] = 0. Else, target[2] > 0
- -- print("Opponents:", unpack(Opponents))
- --if not target then
- -- -- print("No target")
- -- return nil
- --else
- -- -- print("Target")
- --end
- if p.Character and p.Character:FindFirstChild("Humanoid") then
- local humanoid = p.Character["Humanoid"]
- -- Now we can start looking for a target
- if target[1] ~= nil and target[2] <= 0 then
- -- Assume normal on ball defense
- local head = target[1]["Head"]
- local bestAngle = GetIdealMovementVector(
- HerePart.CFrame.p,
- head.CFrame.p + SafeUnit(head.Velocity) * 4 + head.CFrame.lookVector * 2,
- p.Character["Head"].CFrame.p
- )
- humanoid:Move(SafeUnit(bestAngle), false)
- elseif target[1] ~= nil and target[2] < 60 then
- local teamHasBall = false
- for _, mate in pairs (Teammates) do
- if mate.Character and mate.Character:FindFirstChild("Ball") then
- teamHasBall = true
- end
- end
- if teamHasBall then
- --print("team on ball!")
- return nil
- end
- -- print("toss up defense!")
- -- Assume toss-up on ball defense
- local head = target[1]["Head"]
- local bestAngle = GetIdealMovementVector(
- HerePart.CFrame.p,
- head.CFrame.p - SafeUnit(head.CFrame.p - HerePart.CFrame.p) * 2,
- p.Character["Head"].CFrame.p
- )
- humanoid:Move(SafeUnit(bestAngle), false)
- end
- end
- --local lineDir = (targetPos - netPos)
- --targetPos = targetPos - SafeUnit(lineDir)/2
- --if p.Character then
- -- local humanoid = p.Character:FindFirstChild("Humanoid")
- -- if humanoid then
- -- local head = target["Head"]
- -- local bestAngle = GetIdealMovementVector(
- -- HerePart.CFrame.p,
- -- head.CFrame.p + SafeUnit(head.Velocity) * 2 + head.CFrame.lookVector * 2,
- -- p.Character["Head"].CFrame.p
- -- )
- -- humanoid:Move(SafeUnit(bestAngle), false)
- -- end
- --end
- end
- )
- end)
- MainSection:NewButton("No Steal Tap Y", "Ball is All Yours", function()
- local plr = game.Players.LocalPlayer
- game:GetService("UserInputService").InputBegan:Connect(function(key, gpe)
- if not gpe and key.KeyCode == Enum.KeyCode.Y then
- for i,v in pairs(plr.Character.Ball:GetChildren()) do
- local new = Instance.new("Folder")
- new.Parent = plr.Character.Ball
- new.Name = "TouchInterest"
- plr.Character.Ball:FindFirstChildOfClass("TouchTransmitter"):Destroy()
- end
- end
- end)
- end)
- MainSection:NewButton("Slient walkspeed", "Click z to enable and disable", function()
- local SPEED = 21
- local p = game:GetService("Players").LocalPlayer
- local uis = game:GetService("UserInputService")
- local runService = game:GetService("RunService")
- local speedy = false
- uis.InputBegan:Connect(function(input, processed)
- if processed then
- return nil
- end
- if (input.KeyCode == Enum.KeyCode.Z) then
- local char = p.Character
- if not char then
- print("expected character, got nil")
- return nil
- end
- local humanoid = char:FindFirstChild("Humanoid")
- if not humanoid then
- print("expected Humanoid, got nil")
- return nil
- end
- local rp = char:FindFirstChild("HumanoidRootPart")
- if not rp then
- print("expected RootPart, got nil")
- return nil
- end
- if not speedy then
- runService:BindToRenderStep ("SpeedyVick", 295, function (deltaTime)
- local state = humanoid:GetState()
- if (state == Enum.HumanoidStateType.Running) or (state == Enum.HumanoidStateType.RunningNoPhysics) or (state == Enum.HumanoidStateType.Freefall) then
- local dir = humanoid.MoveDirection
- rp.CFrame = rp.CFrame + dir * (SPEED-20) * deltaTime
- end
- end)
- print("speed on")
- speedy = true
- else
- runService:UnbindFromRenderStep("SpeedyVick")
- print("speed off")
- speedy = false
- end
- end
- end)
- print("speedyvick")
- end)
- MainSection:NewButton("Fly", "Fly Around", function()
- loadstring(game:HttpGet("https://pastebin.com/raw/UXmbai5q", true))()
- end)
- local MainSection = Main:NewSection("Gui's")
- MainSection:NewButton("inf yield", "goated", function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
- end)
- MainSection:NewButton("Rooftop gui", "roofed", function()
- loadstring(game:HttpGet(('https://pastebin.com/raw/JxsE00B2'),true))()
- end)
- -- Credits
- local Credits = Window:NewTab("Credits")
- local CreditsSection = Credits:NewSection("Version 3 Drop Off Gui")
- local CreditsSection = Credits:NewSection("Made By BabyChief")
- local CreditsSection = Credits:NewSection("More Fun Scripts Will Be Added Soon")
- local CreditsSection = Credits:NewSection("No Steal Made By - BabyChief#7690")
- --HotKey
- local HotKey = Window:NewTab("HotKey")
- local HotKeySection = HotKey:NewSection("HotKey")
- HotKeySection:NewKeybind("Press Any Key To Open Or Close", "Press Any key", Enum.KeyCode.V, function()
- Library:ToggleUI()
- end)
Advertisement
Add Comment
Please, Sign In to add comment