Advertisement
DanPanMan

Dick-Off GUI

Oct 19th, 2019
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.40 KB | None | 0 0
  1. --[[ DICK-OFF GUI MADE BY @DANPAN#7344
  2. Leave credit if reposting. If you post a video with no credit, don't be surprised if it will be taken down soon.
  3. ]]--
  4.  
  5. -- Instances:
  6.  
  7. local dickoff = Instance.new("ScreenGui")
  8. local main = Instance.new("Frame")
  9. local hax = Instance.new("Frame")
  10. local apply = Instance.new("TextButton")
  11. local name = Instance.new("TextBox")
  12. local speed = Instance.new("TextBox")
  13. local guide = Instance.new("TextLabel")
  14. local info = Instance.new("TextButton")
  15. local cspeed = Instance.new("TextLabel")
  16. local info_2 = Instance.new("ScrollingFrame")
  17. local howto = Instance.new("TextLabel")
  18. local errornote = Instance.new("TextLabel")
  19. local tut = Instance.new("TextLabel")
  20. local back = Instance.new("TextButton")
  21.  
  22. --Properties:
  23.  
  24. dickoff.Name = "dickoff"
  25. dickoff.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  26. dickoff.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28. main.Parent = dickoff
  29. main.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.458824)
  30. main.BorderColor3 = Color3.new(0, 0, 0)
  31. main.BorderSizePixel = 10
  32. main.Position = UDim2.new(0.422314048, 0, 0.280098289, 0)
  33. main.Size = UDim2.new(0, 188, 0, 358)
  34. main.Active = true
  35. main.Draggable = true
  36. local toggle = false
  37.  
  38. function onKeyPress(actionName, userInputState, inputObject)
  39.     if userInputState == Enum.UserInputState.Begin then
  40.         if toggle == false then
  41.              toggle = true
  42. main.Visible = true
  43.         else
  44.             toggle = false
  45. main.Visible = false
  46.  
  47.         end
  48.     end
  49. end
  50.  
  51. game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.Q)
  52.  
  53. hax.Name = "hax"
  54. hax.Parent = main
  55. hax.BackgroundColor3 = Color3.new(1, 1, 1)
  56. hax.BackgroundTransparency = 1
  57. hax.BorderSizePixel = 0
  58. hax.Size = UDim2.new(0, 100, 0, 100)
  59.  
  60. name.Name = "name"
  61. name.Parent = hax
  62. name.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  63. name.BorderSizePixel = 5
  64. name.Position = UDim2.new(0.107411638, 0, 0.0972874165, 0)
  65. name.Size = UDim2.new(0, 166, 0, 50)
  66. name.Font = Enum.Font.GothamSemibold
  67. name.PlaceholderText = "Username"
  68. name.Text = game.Players.LocalPlayer.Name
  69. name.TextColor3 = Color3.new(0, 0, 0)
  70. name.TextSize = 25
  71. name.TextWrapped = true
  72.  
  73. speed.Name = "speed"
  74. speed.Parent = hax
  75. speed.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  76. speed.BorderSizePixel = 5
  77. speed.Position = UDim2.new(0.107411638, 0, 1.02779019, 0)
  78. speed.Size = UDim2.new(0, 166, 0, 50)
  79. speed.Font = Enum.Font.GothamSemibold
  80. speed.PlaceholderText = "Speed"
  81. speed.Text = "Speed"
  82. speed.TextColor3 = Color3.new(0, 0, 0)
  83. speed.TextSize = 25
  84. speed.TextWrapped = true
  85.  
  86. guide.Name = "guide"
  87. guide.Parent = hax
  88. guide.BackgroundColor3 = Color3.new(1, 1, 1)
  89. guide.BackgroundTransparency = 1
  90. guide.BorderSizePixel = 0
  91. guide.Position = UDim2.new(0, 11, 0, 67)
  92. guide.Size = UDim2.new(0, 165, 0, 27)
  93. guide.Font = Enum.Font.GothamSemibold
  94. guide.Text = "Q to toggle GUI"
  95. guide.TextColor3 = Color3.new(1, 0, 0)
  96. guide.TextSize = 17
  97. guide.TextStrokeTransparency = 0
  98.  
  99. info.Name = "info"
  100. info.Parent = hax
  101. info.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  102. info.BorderSizePixel = 5
  103. info.Position = UDim2.new(0, 10, 0, 295)
  104. info.Size = UDim2.new(0, 165, 0, 50)
  105. info.Font = Enum.Font.GothamSemibold
  106. info.Text = "Info"
  107. info.TextColor3 = Color3.new(0, 0, 0)
  108. info.TextSize = 25
  109. info.MouseButton1Click:Connect(function()
  110.     if info_2.Visible == false then
  111.         hax.Visible = false
  112.         info_2.Visible = true else
  113.             hax.Visible = true
  114.          info_2.Visible = false
  115.     end
  116. end)
  117.  
  118. cspeed.Name = "cspeed"
  119. cspeed.Parent = hax
  120. cspeed.BackgroundColor3 = Color3.new(1, 1, 1)
  121. cspeed.BackgroundTransparency = 1
  122. cspeed.BorderSizePixel = 0
  123. cspeed.Position = UDim2.new(0.103191495, 0, 2.36921787, 0)
  124. cspeed.Size = UDim2.new(0, 166, 0, 50)
  125. cspeed.Font = Enum.Font.GothamSemibold
  126. cspeed.Text = "Current speed:"
  127. cspeed.TextColor3 = Color3.new(0, 0, 0)
  128. cspeed.TextSize = 16
  129. if game.PlaceId == 318978013 then
  130. cspeed.Text = 'Current speed: ' .. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
  131. else
  132. cspeed.Text = "Currently not in Kick Off."
  133. end
  134.  
  135. info_2.Name = "info_2"
  136. info_2.Parent = main
  137. info_2.BackgroundColor3 = Color3.new(1, 1, 1)
  138. info_2.BackgroundTransparency = 1
  139. info_2.Size = UDim2.new(0, 188, 0, 358)
  140. info_2.Visible = false
  141.  
  142.  
  143.  
  144.  
  145. howto.Name = "howto"
  146. howto.Parent = info_2
  147. howto.BackgroundColor3 = Color3.new(1, 1, 1)
  148. howto.BackgroundTransparency = 1
  149. howto.BorderSizePixel = 0
  150. howto.Position = UDim2.new(0, 0, 0.139664799, 0)
  151. howto.Size = UDim2.new(0, 171, 0, 50)
  152. howto.Font = Enum.Font.GothamSemibold
  153. howto.Text = "How to use GUI?"
  154. howto.TextColor3 = Color3.new(0, 0, 0)
  155. howto.TextSize = 25
  156. howto.TextWrapped = true
  157.  
  158. errornote.Name = "errornote"
  159. errornote.Parent = info_2
  160. errornote.BackgroundColor3 = Color3.new(1, 1, 1)
  161. errornote.BackgroundTransparency = 1
  162. errornote.BorderSizePixel = 0
  163. errornote.Position = UDim2.new(0, 0, 0.219273746, 0)
  164. errornote.Size = UDim2.new(0, 174, 0, 115)
  165. errornote.Font = Enum.Font.Gotham
  166. errornote.Text = "If you get an error, then you probably didn't put your EXACT USERNAME into the box. You need to capitalize all the specified letters in your username."
  167. errornote.TextColor3 = Color3.new(0, 0, 0)
  168. errornote.TextSize = 15
  169. errornote.TextWrapped = true
  170.  
  171. tut.Name = "tut"
  172. tut.Parent = info_2
  173. tut.BackgroundColor3 = Color3.new(1, 1, 1)
  174. tut.BackgroundTransparency = 1
  175. tut.BorderSizePixel = 0
  176. tut.Position = UDim2.new(0.0053191483, 0, 0.379888266, 0)
  177. tut.Size = UDim2.new(0, 168, 0, 115)
  178. tut.Font = Enum.Font.Gotham
  179. tut.Text = "After you make sure you typed in your username and speed value, click on the button that says \"Apply all\", and watch how all the magic happens."
  180. tut.TextColor3 = Color3.new(0, 0, 0)
  181. tut.TextSize = 15
  182. tut.TextWrapped = true
  183.  
  184. back.Name = "back"
  185. back.Parent = info_2
  186. back.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  187. back.BorderSizePixel = 5
  188. back.Position = UDim2.new(0, 12, 0, 396)
  189. back.Size = UDim2.new(0, 150, 0, 40)
  190. back.Font = Enum.Font.GothamSemibold
  191. back.Text = "Return"
  192. back.TextColor3 = Color3.new(0, 0, 0)
  193. back.TextSize = 25
  194. back.Visible = true
  195. back.MouseButton1Click:Connect(function()
  196.     if info_2.Visible == true then
  197.         info_2.Visible = false
  198.         hax.Visible = true
  199.     else
  200.         info_2.Visible = true
  201.         hax.Visible = false
  202.     end
  203. end)
  204.  
  205. print("GUI LOADED!")
  206. warn("Made by @DanPan#7344")
  207.  
  208. apply.Name = "apply"
  209. apply.Parent = hax
  210. apply.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  211. apply.BorderSizePixel = 5
  212. apply.Position = UDim2.new(0, 10, 0, 175)
  213. apply.Size = UDim2.new(0, 165, 0, 50)
  214. apply.Font = Enum.Font.GothamSemibold
  215. apply.Text = "Apply all"
  216. apply.TextColor3 = Color3.new(0, 0, 0)
  217. apply.TextSize = 25
  218. apply.MouseButton1Click:Connect(function()
  219. local userspeed = speed.Text
  220. local username = name.Text
  221.  
  222.     game.Workspace[username].AntiSpeedHack.Disabled = true
  223.  
  224. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = userspeed
  225.  
  226. cspeed.Text = 'Current speed: ' .. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
  227.  
  228. end)
  229.  
  230. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  231. counter = 0
  232. while wait(0.1)do
  233.  apply.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  234.  counter = counter + 0.01
  235. end
  236.  
  237. function onKeyPress(inputObject, gameProcessedEvent)
  238. if inputObject.KeyCode == Enum.KeyCode.Q then
  239. if main.Visible == true then
  240. main.Visible = false
  241. else
  242. main.Visible = true
  243. end
  244. end
  245. end
  246.  
  247.  
  248. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement