Advertisement
jjsnappy

Dunking Simulator

Feb 2nd, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Dunking Simulator")
  3. local b = w:CreateFolder("AutoFarm")
  4. local e = w:CreateFolder("Mix")
  5. local u = w:CreateFolder("Credits")
  6.  
  7. SelectedArea = "3 Point Line"
  8. Areas = {"3 Point Line","Half Court","Tp Full Court","Way To Far"}
  9. yes = false
  10. yes1 = false
  11.  
  12. b:Toggle("AutoShot",function(bool)
  13. shared.toggle = bool
  14. AutoShot = bool
  15. end)
  16.  
  17. b:Dropdown("Select Area",Areas,true,function(a)
  18. SelectedArea = a
  19. end)
  20.  
  21. e:Toggle("Delete Players",function(bool)
  22. shared.toggle = bool
  23. DeletePlayers = bool
  24. end)
  25.  
  26. e:Button("100% score",function()
  27. yes = true
  28. yes1 = true
  29. end)
  30.  
  31. e:Button("Tp 3 Point Line",function()
  32. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-168.133926, 19.7625332, 840.685913, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  33. end)
  34.  
  35. e:Button("Tp Half Court",function()
  36. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-206.139404, 19.7625332, 842.111145, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  37. end)
  38.  
  39. e:Button("Tp Full Court",function()
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-266.130798, 19.6107388, 842.830017, -0.00619360665, -7.15092909e-08, -0.999980807, -1.93559613e-09, 1, -7.14986754e-08, 0.999980807, 1.49272439e-09, -0.00619360665)
  41. end)
  42.  
  43. e:Button("Tp Way To Far",function()
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-306.741547, 19.8428078, 844.152893, -0.00238843169, -5.5634068e-08, -0.999997139, 3.07797734e-08, 1, -5.57077406e-08, 0.999997139, -3.09127373e-08, -0.00238843169)
  45. end)
  46.  
  47. --Credits
  48. u:Label("Youtube Subs: "..getgenv().Subscribers,{
  49. TextSize = 25;
  50. TextColor = Color3.fromRGB(255,255,255);
  51. BgColor = Color3.fromRGB(69,69,69)
  52. })
  53.  
  54. u:Label("Discord Members: "..getgenv().TotalMembers,{
  55. TextSize = 25;
  56. TextColor = Color3.fromRGB(255,255,255);
  57. BgColor = Color3.fromRGB(69,69,69)
  58. })
  59.  
  60. u:Label("Pastebin Views: "..getgenv().TotalPastebinViews,{
  61. TextSize = 25;
  62. TextColor = Color3.fromRGB(255,255,255);
  63. BgColor = Color3.fromRGB(69,69,69)
  64. })
  65.  
  66. u:Button("Discord Server",function()
  67. setclipboard(getgenv().Discord)
  68. end)
  69.  
  70. u:Button("Youtube Channel",function()
  71. setclipboard(getgenv().Youtube)
  72. end)
  73.  
  74. u:Button("Pastebin Page",function()
  75. setclipboard(getgenv().Pastebin)
  76. end)
  77.  
  78. u:Button(getgenv().Username,function()
  79. setclipboard(getgenv().Username)
  80. end)
  81.  
  82. spawn(function()
  83. while wait() do
  84. if DeletePlayers == true then
  85. for i,v in pairs(game.Players:GetChildren()) do
  86. if game.Workspace:FindFirstChild(v.Name) then
  87. if v.Name ~= game.Players.LocalPlayer.Name then
  88. game.Workspace[v.Name]:Destroy()
  89. end
  90. end
  91. end
  92. end
  93. end
  94. end)
  95.  
  96. spawn(function()
  97. while wait() do
  98. if yes == true then
  99. game:GetService("VirtualInputManager"):SendKeyEvent(true, "E", false, game)
  100. wait(.2)
  101. repeat
  102. wait()
  103. if game:GetService("Players").LocalPlayer.PlayerGui.Slider.Frame.Slider.AbsolutePosition.X >= 950 then
  104. if game:GetService("Players").LocalPlayer.PlayerGui.Slider.Frame.Slider.AbsolutePosition.X >= 955 then
  105. keyrelease(0x45)
  106. yes = false
  107. end
  108. end
  109. until yes == false
  110. end
  111. end
  112. end)
  113.  
  114. spawn(function()
  115. while wait() do
  116. if AutoShot == true then
  117. for i,v in pairs(game.Players:GetChildren()) do
  118. if game.Workspace:FindFirstChild(v.Name) then
  119. if v.Name ~= game.Players.LocalPlayer.Name then
  120. game.Workspace[v.Name]:Destroy()
  121. end
  122. end
  123. end
  124. yes = true
  125. game:GetService("VirtualInputManager"):SendKeyEvent(true, "E", false, game)
  126. wait(.2)
  127. repeat
  128. wait()
  129. if game:GetService("Players").LocalPlayer.PlayerGui.Slider.Frame.Slider.AbsolutePosition.X >= 950 then
  130. if game:GetService("Players").LocalPlayer.PlayerGui.Slider.Frame.Slider.AbsolutePosition.X >= 955 then
  131. keyrelease(0x45)
  132. yes = false
  133. end
  134. end
  135. until yes == false
  136. wait(5)
  137. if SelectedArea == "3 Point Line" then
  138. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-168.133926, 19.7625332, 840.685913, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  139. end
  140. if SelectedArea == "Half Court" then
  141. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-206.139404, 19.7625332, 842.111145, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  142. end
  143. if SelectedArea == "Tp Full Court" then
  144. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-266.130798, 19.6107388, 842.830017, -0.00619360665, -7.15092909e-08, -0.999980807, -1.93559613e-09, 1, -7.14986754e-08, 0.999980807, 1.49272439e-09, -0.00619360665)
  145. end
  146. if SelectedArea == "Way To Far" then
  147. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-306.741547, 19.8428078, 844.152893, -0.00238843169, -5.5634068e-08, -0.999997139, 3.07797734e-08, 1, -5.57077406e-08, 0.999997139, -3.09127373e-08, -0.00238843169)
  148. end
  149. end
  150. end
  151. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement