xBabyChief

BabyChiefs drop offs script (OP)

Mar 26th, 2023
1,509
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.67 KB | None | 1 0
  1. local colors = {
  2. SchemeColor = Color3.fromRGB(0,255,255),
  3. Background = Color3.fromRGB(45, 3, 2),
  4. Header = Color3.fromRGB(56, 3, 4),
  5. TextColor = Color3.fromRGB(255,255,255),
  6. ElementColor = Color3.fromRGB(20, 20, 20)
  7. }
  8. if game.PlaceId == 2772836071 then
  9. print'Drop Offs'
  10.  
  11. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
  12. local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
  13. NotifyLib.prompt('Moon Gui - V To Open - Revamped by Meer , Vaultzx', 'Loading..', 5)
  14. NotifyLib.prompt('Moon Gui - Revamped by Meer , Vaultzx', 'Best Gui Ong - Meer', 5)
  15. NotifyLib.prompt('Moon Gui - Revamped by BabyChief , Vaultz', 'BabyChief#7690 , switchy#9302', 5)
  16. NotifyLib.prompt('Game Detected: Drop Offs', 'BabyChief#7690 , switchy#9302', 5)
  17.  
  18. end
  19.  
  20.  
  21. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  22. local Window = Library.CreateLib("BabyChief Drop Offs Hub V3", "Ocean")
  23.  
  24. -- Main
  25. local Main = Window:NewTab("Updates")
  26. local MainSection = Main:NewSection("Made on 8/11/2022")
  27. local MainSection = Main:NewSection("More Updates Coming Soon!")
  28. local MainSection = Main:NewSection("Any Problems Dm BabyChief#7690 or switchy#9302")
  29.  
  30. local Main = Window:NewTab("Main")
  31. local MainSection = Main:NewSection("Main")
  32.  
  33.  
  34. MainSection:NewButton("Aimbot Double Space / Auto Guard Tap R ", "Double Space to use ", function()
  35. -- Gui to Lua
  36. -- Version: 3.2
  37.  
  38. -- Instances:
  39.  
  40. local ScreenGui = Instance.new("ScreenGui")
  41. local Frame = Instance.new("Frame")
  42. local UICorner = Instance.new("UICorner")
  43. local AttachButton = Instance.new("TextButton")
  44. local UICorner_2 = Instance.new("UICorner")
  45. local LockButton = Instance.new("TextButton")
  46. local UICorner_3 = Instance.new("UICorner")
  47.  
  48. --Properties:
  49.  
  50. ScreenGui.Parent = game:GetService("RunService"):IsStudio() and game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui") or game:GetService("CoreGui")
  51. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  52. ScreenGui.Name = "FollowGui"
  53.  
  54.  
  55.  
  56. UICorner.CornerRadius = UDim.new(0.125, 0)
  57. UICorner.Parent = Frame
  58.  
  59. --AttachButton.Name = "AttachButton"
  60. --AttachButton.Parent = Frame
  61. --AttachButton.AnchorPoint = Vector2.new(1, 0.5)
  62. --AttachButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
  63. --AttachButton.BorderColor3 = Color3.fromRGB(191, 0, 0)
  64. --AttachButton.BorderSizePixel = 0
  65. --AttachButton.Position = UDim2.new(0.5, -10, 0.5, 0)
  66. --AttachButton.Size = UDim2.new(0, 128, 0, 32)
  67. --AttachButton.ZIndex = 2
  68. --AttachButton.Font = Enum.Font.SourceSansSemibold
  69. --AttachButton.Text = "ATTACH"
  70. --AttachButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  71. --AttachButton.TextSize = 26.000
  72.  
  73. --UICorner_2.CornerRadius = UDim.new(0.125, 0)
  74. --UICorner_2.Parent = AttachButton
  75.  
  76. LockButton.Name = "LockButton"
  77. LockButton.Parent = Frame
  78. LockButton.AnchorPoint = Vector2.new(0, 0.5)
  79. LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
  80. LockButton.BorderColor3 = Color3.fromRGB(191, 0, 0)
  81. LockButton.BorderSizePixel = 0
  82. LockButton.Position = UDim2.new(0, 10, 0.5, 0)
  83. LockButton.Size = UDim2.new(0, 128, 0, 32)
  84. LockButton.ZIndex = 2
  85. LockButton.Font = Enum.Font.SourceSansSemibold
  86. LockButton.Text = "LOCK ON [R]"
  87. LockButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  88. LockButton.TextSize = 26.000
  89.  
  90. UICorner_3.CornerRadius = UDim.new(0.125, 0)
  91. UICorner_3.Parent = LockButton
  92.  
  93. -- Personal Code --
  94.  
  95. local players = game:GetService("Players")
  96. local p = players.LocalPlayer
  97.  
  98. local runService = game:GetService("RunService")
  99. local uis = game:GetService("UserInputService")
  100.  
  101. local pdata = p:WaitForChild("PlayerData", 5)
  102. local gdata = pdata:WaitForChild("GameData", 5)
  103.  
  104. local HerePart = nil
  105. local ShootPart = nil
  106. local Opponents = {}
  107. local Teammates = {}
  108. local Locked = false
  109.  
  110. function Flatten (v3)
  111. return Vector3.new(v3.X, 0, v3.Z)
  112. end
  113.  
  114. function Lerp (n1, n2, a)
  115. return (n2-n1)*a + n1
  116. end
  117.  
  118. function GetHerePart (court)
  119. if court:FindFirstChild("here") then
  120. return court["DunkHit"], court["DunkHit"]
  121. else
  122. local char = p.Character
  123. if not char then
  124. return nil
  125. end
  126. local head = p.Character:FindFirstChild("Head")
  127. if not head then
  128. return nil
  129. end
  130.  
  131. local dunkHits = {}
  132.  
  133. local allObjects = court:GetChildren ()
  134. for _, object in pairs (allObjects) do
  135. if object.Name == "DunkHit" then
  136. table.insert (dunkHits, object)
  137. end
  138. end
  139.  
  140. local d1 = (Flatten(dunkHits[1].CFrame.p) - Flatten(head.CFrame.p)).Magnitude
  141. local d2 = (Flatten(dunkHits[2].CFrame.p) - Flatten(head.CFrame.p)).Magnitude
  142.  
  143. if (d1 > d2) then
  144. return dunkHits[2], dunkHits[1]
  145. else
  146. return dunkHits[1], dunkHits[2]
  147. end
  148. end
  149. end
  150.  
  151. local attachReady = true
  152. function Attach ()
  153. if not attachReady then
  154. return false
  155. end
  156.  
  157. attachReady = false
  158.  
  159. if not gdata["Playing"].Value or not gdata["Court"].Value or gdata["Team"].Value == "" then
  160. -- Cannnot attach
  161. warn ("DE follow - attach failed")
  162. warn (debug.traceback())
  163. attachReady = true
  164.  
  165. --AttachButton.BackgroundColor3 = Color3.fromRGB(243, 32, 32)
  166. --AttachButton.Text = "ERROR"
  167.  
  168. --wait (1)
  169.  
  170. --AttachButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
  171. --AttachButton.Text = "ATTACH"
  172.  
  173. --attachReady = true
  174. else
  175. -- Can attach
  176. local court = workspace:FindFirstChild(gdata["Court"].Value)
  177. HerePart, ShootPart = GetHerePart(court)
  178.  
  179.  
  180. for _, player in pairs (players:GetPlayers()) do
  181. local pd = player:FindFirstChild("PlayerData")
  182. -- print("P: FOR PLAYER " .. player.Name)
  183. if pd then
  184. -- print("P: player data found")
  185. local gd = pd:FindFirstChild("GameData")
  186. if gd then
  187. -- print("P: game data found")
  188. if gd["Playing"].Value then
  189. --print("P: is playing")
  190. if gd["Court"].Value == gdata["Court"].Value then
  191. --print("P: FOR PLAYER " .. player.Name)
  192. --print("P: same court")
  193. if gd["Team"].Value ~= gdata["Team"].Value then
  194. --print("P: opposite teams")
  195. table.insert (Opponents, player)
  196. elseif gd["Team"].Value == gdata["Team"].Value then
  197. table.insert (Teammates, player)
  198. end
  199. end
  200. end
  201. end
  202. end
  203. end
  204.  
  205. if #Opponents <= 0 then
  206. warn ("NASTY ERROR - SEARCH CODE 102")
  207. warn (debug.traceback())
  208. end
  209.  
  210. repeat
  211. gdata["Playing"].Changed:Wait()
  212. until not gdata["Playing"].Value
  213.  
  214. HerePart = nil
  215. ShootPart = nil
  216. Opponents = {}
  217. Teammates = {}
  218.  
  219. attachReady = true
  220.  
  221. LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
  222. LockButton.Text = "LOCK ON [R]"
  223.  
  224. Locked = false
  225. end
  226. end
  227.  
  228. local lockReady = true
  229. function LockOn ()
  230. if not lockReady then
  231. return nil
  232. end
  233.  
  234. lockReady = false
  235.  
  236. if not HerePart then
  237. LockButton.BackgroundColor3 = Color3.fromRGB(243, 32, 32)
  238. LockButton.Text = "NOT IN GAME"
  239.  
  240. wait (1)
  241.  
  242. LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
  243. LockButton.Text = "LOCK ON [R]"
  244.  
  245. lockReady = true
  246. else
  247. if not Locked then
  248. LockButton.BackgroundColor3 = Color3.fromRGB(32, 243, 48)
  249. LockButton.Text = "LOCKED"
  250.  
  251. Locked = true
  252.  
  253. lockReady = true
  254. else
  255. LockButton.BackgroundColor3 = Color3.fromRGB(33, 150, 243)
  256. LockButton.Text = "LOCK ON [R]"
  257.  
  258. Locked = false
  259.  
  260. lockReady = true
  261. end
  262. end
  263. end
  264.  
  265. LockButton.MouseButton1Click:Connect(LockOn)
  266. uis.InputBegan:Connect(function(input, processed)
  267. if processed then
  268. return nil
  269. end
  270.  
  271. if (input.KeyCode == Enum.KeyCode.R) then
  272. LockOn()
  273. end
  274.  
  275. if (input.KeyCode == Enum.KeyCode.Space) then
  276. local char = p.Character
  277. if char then
  278. local h = char:FindFirstChild("Humanoid")
  279. if h then
  280. if h:GetState() == Enum.HumanoidStateType.Freefall then
  281. print("shoot fired")
  282. Shoot (char)
  283. end
  284. end
  285. end
  286. end
  287. end)
  288.  
  289. local DATASET = {
  290. {60.61, 0.964},
  291. {66.83, 0.856},
  292. {50.36, 1.099},
  293. {33.88, 1.288},
  294. {26.92, 1.346},
  295. {57.56, 1.019},
  296. {67.5, 0.846},
  297. {63.54, 0.917},
  298. {61.23, 0.95},
  299. {53.82, 1.082},
  300. {6.87, 1.505},
  301. {47.12, 1.13},
  302. {44.57, 1.181},
  303.  
  304. {64.46, 0.904},
  305. {73.44, 0.625},
  306. {71.5, 0.634},
  307. {69.5, 0.774},
  308. {68.5, 0.829},
  309. {66.93, 0.885},
  310. }
  311. table.sort(DATASET,function (a, b)
  312. return a[1] < b[1]
  313. end)
  314. for index, value in pairs (DATASET) do
  315. print (value[1], " : ", value[2])
  316. end
  317.  
  318. function GetShotAngle (x)
  319. if x < DATASET[1][1] then
  320. return DATASET[1][2]
  321. elseif x > DATASET[#DATASET][1] then
  322. return DATASET[#DATASET][2]
  323. else
  324. for key, value in pairs (DATASET) do
  325. if value[1] > x then
  326. local last = DATASET[key - 1]
  327. local alpha = (x - last[1]) / (value[1] - last[1])
  328.  
  329. return Lerp (last[2], value[2], alpha)
  330. end
  331. end
  332. end
  333. end
  334.  
  335. function Shoot (char)
  336. if not ShootPart then
  337. print("no shootpart FAIL")
  338. return nil
  339. end
  340.  
  341. local ball = char:FindFirstChild("Ball")
  342. if not ball then
  343. print("no ball FAIL")
  344. return nil
  345. end
  346.  
  347. local head = char:FindFirstChild("Head")
  348. if not head then
  349. return nil
  350. end
  351.  
  352. local player = players:GetPlayerFromCharacter(char)
  353. if (player ~= p) then
  354. print("wrong player FAIL")
  355. return nil
  356. end
  357.  
  358. local gui = p["PlayerGui"]["PowerGuiPC"]["Frame"]["Power"]
  359. local thePower = gui.Text
  360. thePower = tonumber(thePower)
  361.  
  362. local headPos = head.CFrame.p
  363. local shootVector = SafeUnit( Flatten (ShootPart.CFrame.p - headPos) )
  364. local randomY = 1 + math.random() * 0.02
  365.  
  366. if thePower > 84 then
  367. local flatDistance = Flatten (ShootPart.CFrame.p - headPos).Magnitude
  368. local shotAngle = GetShotAngle (flatDistance)
  369.  
  370. shootVector = Vector3.new(shootVector.X, math.tan(shotAngle), shootVector.Z)
  371. else
  372. shootVector = Vector3.new(shootVector.X, 0.668 + 0.002 * math.random(), shootVector.Z)
  373. end
  374. shootVector = SafeUnit (shootVector)
  375. shootVector = shootVector * (9987 + math.random()*4)
  376.  
  377. local shootEvent = ball["Events"]["Shoot"]
  378. shootEvent:FireServer(shootVector + headPos, headPos, thePower)
  379. end
  380.  
  381. function OnCharacterAdded (c)
  382. print("locking")
  383. local humanoid = c:WaitForChild("Humanoid", 5)
  384. humanoid:GetPropertyChangedSignal ("WalkSpeed"):Connect(function ()
  385. if humanoid.WalkSpeed > 8 then
  386. Attach ()
  387. end
  388. end)
  389. end
  390. p.CharacterAdded:Connect(OnCharacterAdded)
  391. if p.Character then
  392. OnCharacterAdded (p.Character)
  393. end
  394.  
  395. function GetIdealMovementVector (netPos, targetPos, selfPos)
  396. netPos = Flatten(netPos)
  397. targetPos = Flatten(targetPos)
  398. selfPos = Flatten(selfPos)
  399.  
  400. if (targetPos - netPos).Magnitude <= 1 then
  401. return Vector3.new() -- Be safe in underneath-net condition
  402. end
  403.  
  404. local lineDir = (targetPos - netPos)
  405. --targetPos = targetPos - SafeUnit(lineDir)/2
  406. --lineDir = (targetPos - netPos)
  407. local lineLength = lineDir.Magnitude
  408.  
  409. local function GetTargetDistance (alpha)
  410. if alpha > 1 then
  411. alpha = 1
  412. elseif alpha < 0 then
  413. alpha = 0
  414. end
  415.  
  416. local realDistance = (lineLength * (1 - alpha))
  417. return realDistance + 4
  418.  
  419. --local posAlongLine = netPos + lineDir * alpha
  420. --return (targetPos - posAlongLine).Magnitude + 4, posAlongLine
  421. end
  422.  
  423. local function GetSelfDistance (alpha)
  424. if alpha > 1 then
  425. alpha = 1
  426. elseif alpha < 0 then
  427. alpha = 0
  428. end
  429.  
  430. local posAlongLine = netPos + lineDir * alpha
  431. return (selfPos - posAlongLine).Magnitude, posAlongLine
  432. end
  433.  
  434. local function GetIdealPointAlongLine ()
  435. if GetTargetDistance (0) < GetSelfDistance (0) then
  436. -- print("instant return 1")
  437. return netPos -- Save computation time by returning immediately
  438. elseif GetTargetDistance (1) > GetSelfDistance (1) then
  439. -- print ("instant return 2")
  440. local x, result = GetSelfDistance (1) -- Same as above
  441. return result
  442. end
  443.  
  444. for i = 10, 0, -1 do -- 10 iterations max
  445. local d1 = GetTargetDistance (i / 10)
  446. local d2, pos = GetSelfDistance (i / 10)
  447.  
  448. if (d2 < d1) then
  449. -- We know our solution is in between i and i + 0.1
  450. for j = 10, 0, -1 do
  451. d1 = GetTargetDistance (i / 10 + (j / 100))
  452. d2, pos = GetSelfDistance (i / 10 + (j / 100))
  453.  
  454. if (d2 < d1) then
  455. for k = 10, 0, -1 do
  456. d1 = GetTargetDistance (i / 10 + (j / 100) + (k / 1000))
  457. d2, pos = GetSelfDistance (i / 10 + (j / 100) + (k / 1000))
  458.  
  459. if (d2 < d1) then
  460. return pos
  461. end
  462. end
  463.  
  464. break
  465. end
  466. end
  467.  
  468. break
  469. end
  470. end
  471.  
  472. warn("Bad return")
  473. warn(debug.traceback())
  474. return netPos -- Redundant return (but we will leave it for safety)
  475. end
  476.  
  477. local bestPosition = GetIdealPointAlongLine ()
  478. local movementVector = bestPosition - selfPos
  479.  
  480. if (movementVector).Magnitude < (1/8) then
  481. return Vector3.new()
  482. end
  483.  
  484. return movementVector
  485. end
  486.  
  487. --function CalculateNearestAngle (s, e, third)
  488. -- local dir = (e - s)
  489. -- if (dir.Magnitude < 1/1028) then
  490. -- error ("'s' and 'e' cannot be identical")
  491. -- end
  492. -- dir = Flatten (dir)
  493.  
  494. -- s = Flatten (s)
  495. -- e = Flatten (e)
  496. -- third = Flatten (third)
  497.  
  498. -- local t = (third - s):Dot(dir) / dir:Dot(dir)
  499.  
  500. -- if t <= 0 then
  501. -- return -(third - s)
  502. -- elseif t >= 1 then
  503. -- return -(third - e)
  504. -- else
  505. -- return -(third - (s + t * dir))
  506. -- end
  507. --end
  508.  
  509. --function CalculateBestAngle (netPos, targetPos, selfPos)
  510. -- -- Get the vector direction from third to nearest point
  511. -- netPos = Flatten (netPos)
  512. -- targetPos = Flatten (targetPos)
  513. -- selfPos = Flatten (selfPos)
  514.  
  515. -- local shortestVector = CalculateNearestAngle (netPos, targetPos, selfPos)
  516.  
  517. -- local lineDir = (targetPos - netPos)
  518. -- local m = shortestVector.Magnitude
  519.  
  520. -- local goalPosition = selfPos +
  521.  
  522.  
  523.  
  524.  
  525.  
  526. -- netPos = Flatten ()s = Flatten (s)
  527. -- e = Flatten (e)
  528. -- third = Flatten (third)
  529.  
  530. -- local dir = (e - s)
  531. -- dir = Flatten (dir)
  532.  
  533. -- local m = nearest.Magnitude
  534.  
  535. -- if distance > m then
  536. -- local addDistance = math.sqrt(distance^2 - m^2)
  537. -- local r = nearest + addDistance * dir.Unit
  538.  
  539. -- if ((r + third) - s).Magnitude > dir.Magnitude then
  540. -- print("CLOSE CONDITION")
  541. -- return (e - third)
  542. -- end
  543.  
  544. -- return r
  545. -- else
  546. -- return nearest
  547. -- end
  548. --end
  549.  
  550. function SafeUnit (v)
  551. if (v.Magnitude > 1/64) then
  552. return v.Unit
  553. else
  554. return Vector3.new()
  555. end
  556. end
  557.  
  558. local target = {nil, 0}
  559. local liveTarget = false
  560.  
  561. runService:BindToRenderStep("move",
  562. -- run after the character
  563. Enum.RenderPriority.Character.Value + 2,
  564.  
  565. function()
  566. if not Locked then
  567. -- print("Not locked")
  568. target = {nil, 0}
  569. return nil
  570. else
  571. -- print("Locked")
  572. end
  573.  
  574. for _, player in pairs (Opponents) do
  575. local char = player.Character
  576. if char then
  577. local ball = char:FindFirstChild("Ball")
  578. if ball then
  579. target = {char, -1}
  580. end
  581. end
  582. end
  583.  
  584. target[2] = target[2] + 1 --> So, a new target will have target[2] = 0. Else, target[2] > 0
  585.  
  586. -- print("Opponents:", unpack(Opponents))
  587.  
  588. --if not target then
  589. -- -- print("No target")
  590. -- return nil
  591. --else
  592. -- -- print("Target")
  593. --end
  594.  
  595. if p.Character and p.Character:FindFirstChild("Humanoid") then
  596. local humanoid = p.Character["Humanoid"]
  597. -- Now we can start looking for a target
  598. if target[1] ~= nil and target[2] <= 0 then
  599. -- Assume normal on ball defense
  600. local head = target[1]["Head"]
  601. local bestAngle = GetIdealMovementVector(
  602. HerePart.CFrame.p,
  603. head.CFrame.p + SafeUnit(head.Velocity) * 4 + head.CFrame.lookVector * 2,
  604. p.Character["Head"].CFrame.p
  605. )
  606. humanoid:Move(SafeUnit(bestAngle), false)
  607. elseif target[1] ~= nil and target[2] < 60 then
  608. local teamHasBall = false
  609. for _, mate in pairs (Teammates) do
  610. if mate.Character and mate.Character:FindFirstChild("Ball") then
  611. teamHasBall = true
  612. end
  613. end
  614.  
  615. if teamHasBall then
  616. --print("team on ball!")
  617. return nil
  618. end
  619.  
  620. -- print("toss up defense!")
  621.  
  622. -- Assume toss-up on ball defense
  623. local head = target[1]["Head"]
  624. local bestAngle = GetIdealMovementVector(
  625. HerePart.CFrame.p,
  626. head.CFrame.p - SafeUnit(head.CFrame.p - HerePart.CFrame.p) * 2,
  627. p.Character["Head"].CFrame.p
  628. )
  629. humanoid:Move(SafeUnit(bestAngle), false)
  630. end
  631. end
  632.  
  633. --local lineDir = (targetPos - netPos)
  634. --targetPos = targetPos - SafeUnit(lineDir)/2
  635.  
  636. --if p.Character then
  637. -- local humanoid = p.Character:FindFirstChild("Humanoid")
  638. -- if humanoid then
  639. -- local head = target["Head"]
  640. -- local bestAngle = GetIdealMovementVector(
  641. -- HerePart.CFrame.p,
  642. -- head.CFrame.p + SafeUnit(head.Velocity) * 2 + head.CFrame.lookVector * 2,
  643. -- p.Character["Head"].CFrame.p
  644. -- )
  645. -- humanoid:Move(SafeUnit(bestAngle), false)
  646. -- end
  647. --end
  648. end
  649. )
  650. end)
  651.  
  652. MainSection:NewButton("No Steal Tap Y", "Ball is All Yours", function()
  653. local plr = game.Players.LocalPlayer
  654.  
  655. game:GetService("UserInputService").InputBegan:Connect(function(key, gpe)
  656. if not gpe and key.KeyCode == Enum.KeyCode.Y then
  657. for i,v in pairs(plr.Character.Ball:GetChildren()) do
  658. local new = Instance.new("Folder")
  659. new.Parent = plr.Character.Ball
  660. new.Name = "TouchInterest"
  661.  
  662. plr.Character.Ball:FindFirstChildOfClass("TouchTransmitter"):Destroy()
  663. end
  664. end
  665. end)
  666.  
  667. end)
  668.  
  669. MainSection:NewButton("Slient walkspeed", "Click z to enable and disable", function()
  670. local SPEED = 21
  671.  
  672. local p = game:GetService("Players").LocalPlayer
  673. local uis = game:GetService("UserInputService")
  674. local runService = game:GetService("RunService")
  675.  
  676. local speedy = false
  677.  
  678. uis.InputBegan:Connect(function(input, processed)
  679. if processed then
  680. return nil
  681. end
  682.  
  683. if (input.KeyCode == Enum.KeyCode.Z) then
  684. local char = p.Character
  685. if not char then
  686. print("expected character, got nil")
  687. return nil
  688. end
  689.  
  690. local humanoid = char:FindFirstChild("Humanoid")
  691. if not humanoid then
  692. print("expected Humanoid, got nil")
  693. return nil
  694. end
  695.  
  696. local rp = char:FindFirstChild("HumanoidRootPart")
  697. if not rp then
  698. print("expected RootPart, got nil")
  699. return nil
  700. end
  701.  
  702. if not speedy then
  703. runService:BindToRenderStep ("SpeedyVick", 295, function (deltaTime)
  704. local state = humanoid:GetState()
  705.  
  706. if (state == Enum.HumanoidStateType.Running) or (state == Enum.HumanoidStateType.RunningNoPhysics) or (state == Enum.HumanoidStateType.Freefall) then
  707. local dir = humanoid.MoveDirection
  708. rp.CFrame = rp.CFrame + dir * (SPEED-20) * deltaTime
  709. end
  710. end)
  711.  
  712. print("speed on")
  713. speedy = true
  714. else
  715. runService:UnbindFromRenderStep("SpeedyVick")
  716.  
  717. print("speed off")
  718. speedy = false
  719. end
  720. end
  721. end)
  722.  
  723. print("speedyvick")
  724. end)
  725.  
  726. MainSection:NewButton("Fly", "Fly Around", function()
  727. loadstring(game:HttpGet("https://pastebin.com/raw/UXmbai5q", true))()
  728.  
  729. end)
  730.  
  731. local MainSection = Main:NewSection("Gui's")
  732.  
  733. MainSection:NewButton("inf yield", "goated", function()
  734. loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
  735. end)
  736.  
  737. MainSection:NewButton("Rooftop gui", "roofed", function()
  738. loadstring(game:HttpGet(('https://pastebin.com/raw/JxsE00B2'),true))()
  739. end)
  740.  
  741. -- Credits
  742. local Credits = Window:NewTab("Credits")
  743. local CreditsSection = Credits:NewSection("Version 3 Drop Off Gui")
  744. local CreditsSection = Credits:NewSection("Made By BabyChief")
  745. local CreditsSection = Credits:NewSection("More Fun Scripts Will Be Added Soon")
  746. local CreditsSection = Credits:NewSection("No Steal Made By - BabyChief#7690")
  747.  
  748. --HotKey
  749. local HotKey = Window:NewTab("HotKey")
  750. local HotKeySection = HotKey:NewSection("HotKey")
  751. HotKeySection:NewKeybind("Press Any Key To Open Or Close", "Press Any key", Enum.KeyCode.V, function()
  752. Library:ToggleUI()
  753. end)
Advertisement
Add Comment
Please, Sign In to add comment