Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.92 KB | None | 0 0
  1. local BhopGui = Instance.new("ScreenGui")
  2. local BhopOpenBackFrame = Instance.new("Frame")
  3. local BhopOpenFrame = Instance.new("Frame")
  4. local BLabel = Instance.new("TextLabel")
  5. local HLabel = Instance.new("TextLabel")
  6. local OLabel = Instance.new("TextLabel")
  7. local PLabel = Instance.new("TextLabel")
  8. local OpenButton = Instance.new("TextButton")
  9. local CloseButton = Instance.new("TextButton")
  10. local BhopFrame = Instance.new("Frame")
  11. local BhopMainFrame = Instance.new("Frame")
  12. local BhopTitle = Instance.new("TextLabel")
  13. local AutoStafeButton = Instance.new("TextButton")
  14. local TPToEndButton = Instance.new("TextButton")
  15. local NegTimeButton = Instance.new("TextButton")
  16. local BhopCredits = Instance.new("Frame")
  17. local CreditsFrame = Instance.new("Frame")
  18. local CreditTitle = Instance.new("TextLabel")
  19. local NoobPieplup = Instance.new("TextLabel")
  20. local lolyiskyle1 = Instance.new("TextLabel")
  21. local Sh1fty = Instance.new("TextLabel")
  22. --Properties:
  23. BhopGui.Name = "BhopGui"
  24. BhopGui.Parent = game.CoreGui
  25.  
  26. BhopOpenBackFrame.Name = "BhopOpenBackFrame"
  27. BhopOpenBackFrame.Parent = BhopGui
  28. BhopOpenBackFrame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  29. BhopOpenBackFrame.BorderSizePixel = 0
  30. BhopOpenBackFrame.Position = UDim2.new(0, 0, 0.377701968, 0)
  31. BhopOpenBackFrame.Size = UDim2.new(0, 44, 0, 279)
  32.  
  33. BhopOpenFrame.Name = "BhopOpenFrame"
  34. BhopOpenFrame.Parent = BhopOpenBackFrame
  35. BhopOpenFrame.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  36. BhopOpenFrame.BorderSizePixel = 0
  37. BhopOpenFrame.Position = UDim2.new(0.116240531, 0, 0.0189365149, 0)
  38. BhopOpenFrame.Size = UDim2.new(0, 33, 0, 268)
  39.  
  40. BLabel.Name = "BLabel"
  41. BLabel.Parent = BhopOpenFrame
  42. BLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  43. BLabel.BackgroundTransparency = 1
  44. BLabel.Position = UDim2.new(0.0339488648, 0, 0.0409258902, 0)
  45. BLabel.Size = UDim2.new(0, 30, 0, 36)
  46. BLabel.Font = Enum.Font.Gotham
  47. BLabel.Text = "B"
  48. BLabel.TextColor3 = Color3.new(1, 1, 1)
  49. BLabel.TextSize = 30
  50.  
  51. HLabel.Name = "HLabel"
  52. HLabel.Parent = BhopOpenFrame
  53. HLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  54. HLabel.BackgroundTransparency = 1
  55. HLabel.Position = UDim2.new(0.0339488648, 0, 0.212567702, 0)
  56. HLabel.Size = UDim2.new(0, 30, 0, 36)
  57. HLabel.Font = Enum.Font.Gotham
  58. HLabel.Text = "H"
  59. HLabel.TextColor3 = Color3.new(1, 1, 1)
  60. HLabel.TextSize = 30
  61.  
  62. OLabel.Name = "OLabel"
  63. OLabel.Parent = BhopOpenFrame
  64. OLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  65. OLabel.BackgroundTransparency = 1
  66. OLabel.Position = UDim2.new(0.0339488648, 0, 0.376746804, 0)
  67. OLabel.Size = UDim2.new(0, 30, 0, 36)
  68. OLabel.Font = Enum.Font.Gotham
  69. OLabel.Text = "O"
  70. OLabel.TextColor3 = Color3.new(1, 1, 1)
  71. OLabel.TextSize = 30
  72.  
  73. PLabel.Name = "PLabel"
  74. PLabel.Parent = BhopOpenFrame
  75. PLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  76. PLabel.BackgroundTransparency = 1
  77. PLabel.Position = UDim2.new(0.0339488648, 0, 0.53346324, 0)
  78. PLabel.Size = UDim2.new(0, 30, 0, 36)
  79. PLabel.Font = Enum.Font.Gotham
  80. PLabel.Text = "P"
  81. PLabel.TextColor3 = Color3.new(1, 1, 1)
  82. PLabel.TextSize = 30
  83.  
  84. OpenButton.Name = "OpenButton"
  85. OpenButton.Parent = BhopOpenFrame
  86. OpenButton.BackgroundColor3 = Color3.new(1, 1, 1)
  87. OpenButton.BackgroundTransparency = 1
  88. OpenButton.Position = UDim2.new(0.033428032, 0, 0.722679257, 0)
  89. OpenButton.Size = UDim2.new(0, 30, 0, 29)
  90. OpenButton.Font = Enum.Font.Gotham
  91. OpenButton.Text = ">"
  92. OpenButton.TextColor3 = Color3.new(1, 1, 1)
  93. OpenButton.TextSize = 35
  94. OpenButton.MouseButton1Down:connect(function()
  95. BhopFrame:TweenPosition(UDim2.new(0.028, 0, 0.377, 0), "In", "Sine", 0.7)
  96. CloseButton.Visible = true
  97. OpenButton.Visible = false
  98. end)
  99.  
  100. CloseButton.Name = "CloseButton"
  101. CloseButton.Parent = BhopOpenFrame
  102. CloseButton.BackgroundColor3 = Color3.new(1, 1, 1)
  103. CloseButton.BackgroundTransparency = 1
  104. CloseButton.Position = UDim2.new(0.033428032, 0, 0.722679257, 0)
  105. CloseButton.Size = UDim2.new(0, 30, 0, 29)
  106. CloseButton.Visible = false
  107. CloseButton.Font = Enum.Font.Gotham
  108. CloseButton.Text = "<"
  109. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  110. CloseButton.TextSize = 35
  111. CloseButton.MouseButton1Down:connect(function()
  112. BhopFrame:TweenPosition(UDim2.new(-0.22, 0, 0.377, 0), "In", "Sine", 0.7)
  113. CloseButton.Visible = false
  114. OpenButton.Visible = true
  115. end)
  116.  
  117. BhopFrame.Name = "BhopFrame"
  118. BhopFrame.Parent = BhopGui
  119. BhopFrame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  120. BhopFrame.BorderSizePixel = 0
  121. BhopFrame.Position = UDim2.new(-0.219999999, 0, 0.377000004, 0)
  122. BhopFrame.Size = UDim2.new(0, 204, 0, 279)
  123.  
  124. BhopMainFrame.Name = "BhopMainFrame"
  125. BhopMainFrame.Parent = BhopFrame
  126. BhopMainFrame.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  127. BhopMainFrame.BorderSizePixel = 0
  128. BhopMainFrame.Position = UDim2.new(0.0328125283, 0, 0.0380315743, 0)
  129. BhopMainFrame.Size = UDim2.new(0, 191, 0, 256)
  130.  
  131. BhopTitle.Name = "BhopTitle"
  132. BhopTitle.Parent = BhopMainFrame
  133. BhopTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  134. BhopTitle.BackgroundTransparency = 1
  135. BhopTitle.Position = UDim2.new(0.0336791985, 0, 0.0374670029, 0)
  136. BhopTitle.Size = UDim2.new(0, 177, 0, 26)
  137. BhopTitle.Font = Enum.Font.Gotham
  138. BhopTitle.Text = "Bhop Gui"
  139. BhopTitle.TextColor3 = Color3.new(1, 1, 1)
  140. BhopTitle.TextSize = 25
  141.  
  142. AutoStafeButton.Name = "AutoStafeButton"
  143. AutoStafeButton.Parent = BhopMainFrame
  144. AutoStafeButton.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  145. AutoStafeButton.BorderSizePixel = 0
  146. AutoStafeButton.Position = UDim2.new(0.119999997, 0, 0.230531245, 0)
  147. AutoStafeButton.Size = UDim2.new(0, 146, 0, 36)
  148. AutoStafeButton.Font = Enum.Font.Gotham
  149. AutoStafeButton.Text = "Autostrafe"
  150. AutoStafeButton.TextColor3 = Color3.new(1, 1, 1)
  151. AutoStafeButton.TextSize = 20
  152. AutoStafeButton.MouseButton1Down:connect(function()
  153.  
  154. end)
  155.  
  156. TPToEndButton.Name = "TPToEndButton"
  157. TPToEndButton.Parent = BhopMainFrame
  158. TPToEndButton.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  159. TPToEndButton.BorderSizePixel = 0
  160. TPToEndButton.Position = UDim2.new(0.119999997, 0, 0.49609375, 0)
  161. TPToEndButton.Size = UDim2.new(0, 146, 0, 36)
  162. TPToEndButton.Font = Enum.Font.Gotham
  163. TPToEndButton.Text = "TP To End"
  164. TPToEndButton.TextColor3 = Color3.new(1, 1, 1)
  165. TPToEndButton.TextSize = 20
  166.  
  167. NegTimeButton.Name = "NegTimeButton"
  168. NegTimeButton.Parent = BhopMainFrame
  169. NegTimeButton.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  170. NegTimeButton.BorderSizePixel = 0
  171. NegTimeButton.Position = UDim2.new(0.119999997, 0, 0.746218741, 0)
  172. NegTimeButton.Size = UDim2.new(0, 146, 0, 36)
  173. NegTimeButton.Font = Enum.Font.Gotham
  174. NegTimeButton.Text = "Negative Time"
  175. NegTimeButton.TextColor3 = Color3.new(1, 1, 1)
  176. NegTimeButton.TextSize = 20
  177.  
  178. BhopCredits.Name = "BhopCredits"
  179. BhopCredits.Parent = BhopFrame
  180. BhopCredits.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  181. BhopCredits.BorderSizePixel = 0
  182. BhopCredits.Position = UDim2.new(1.0438627, 0, -0.00192832947, 0)
  183. BhopCredits.Size = UDim2.new(0, 204, 0, 279)
  184.  
  185. CreditsFrame.Name = "CreditsFrame"
  186. CreditsFrame.Parent = BhopCredits
  187. CreditsFrame.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  188. CreditsFrame.BorderSizePixel = 0
  189. CreditsFrame.Position = UDim2.new(0.0328125283, 0, 0.0380315743, 0)
  190. CreditsFrame.Size = UDim2.new(0, 190, 0, 256)
  191.  
  192. CreditTitle.Name = "CreditTitle"
  193. CreditTitle.Parent = CreditsFrame
  194. CreditTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  195. CreditTitle.BackgroundTransparency = 1
  196. CreditTitle.Position = UDim2.new(0.0336791985, 0, 0.0374670029, 0)
  197. CreditTitle.Size = UDim2.new(0, 177, 0, 26)
  198. CreditTitle.Font = Enum.Font.Gotham
  199. CreditTitle.Text = "Credits"
  200. CreditTitle.TextColor3 = Color3.new(1, 1, 1)
  201. CreditTitle.TextSize = 25
  202.  
  203. NoobPieplup.Name = "NoobPieplup"
  204. NoobPieplup.Parent = CreditsFrame
  205. NoobPieplup.BackgroundColor3 = Color3.new(1, 1, 1)
  206. NoobPieplup.BackgroundTransparency = 1
  207. NoobPieplup.Position = UDim2.new(0.0336791985, 0, 0.185904503, 0)
  208. NoobPieplup.Size = UDim2.new(0, 177, 0, 54)
  209. NoobPieplup.Font = Enum.Font.Gotham
  210. NoobPieplup.Text = "Tp to End and Negative Time edited by Toton#1814 (fixed to new version)"
  211. NoobPieplup.TextColor3 = Color3.new(1, 1, 1)
  212. NoobPieplup.TextSize = 15
  213. NoobPieplup.TextWrapped = true
  214.  
  215. lolyiskyle1.Name = "lolyiskyle1"
  216. lolyiskyle1.Parent = CreditsFrame
  217. lolyiskyle1.BackgroundColor3 = Color3.new(1, 1, 1)
  218. lolyiskyle1.BackgroundTransparency = 1
  219. lolyiskyle1.Position = UDim2.new(0.0336791985, 0, 0.463248253, 0)
  220. lolyiskyle1.Size = UDim2.new(0, 177, 0, 54)
  221. lolyiskyle1.Font = Enum.Font.Gotham
  222. lolyiskyle1.Text = "Autostrafe script made by Toton#1814"
  223. lolyiskyle1.TextColor3 = Color3.new(1, 1, 1)
  224. lolyiskyle1.TextSize = 15
  225. lolyiskyle1.TextWrapped = true
  226.  
  227. Sh1fty.Name = "Sh1fty"
  228. Sh1fty.Parent = CreditsFrame
  229. Sh1fty.BackgroundColor3 = Color3.new(1, 1, 1)
  230. Sh1fty.BackgroundTransparency = 1
  231. Sh1fty.Position = UDim2.new(0.0336791985, 0, 0.713248253, 0)
  232. Sh1fty.Size = UDim2.new(0, 177, 0, 54)
  233. Sh1fty.Font = Enum.Font.Gotham
  234. Sh1fty.Text = "GUI made by Toton#1814"
  235. Sh1fty.TextColor3 = Color3.new(1, 1, 1)
  236. Sh1fty.TextSize = 15
  237. Sh1fty.TextWrapped = true
  238. -- Scripts:
  239.  
  240. NegTimeButton.MouseButton1Down:connect(function()
  241. local notification3 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  242. notification3.SoundId = "rbxassetid://336653405"
  243. notification3:Play()
  244. game.StarterGui:SetCore('SendNotification', {Title='Negative Time'; Text='Press E to use with keys, or click the button again.)', Duration=5;});
  245. wait(1)
  246. wait(1.5)
  247. notification3:Destroy()
  248. --Made by Noob_Pieplup on Roblox, press E to finish map!
  249.  
  250. local func
  251.  
  252. for _,a in pairs (debug.getregistry()) do
  253. if type(a)=='function' then
  254. if debug.getupvalues(a).RemoteCall and type(debug.getupvalues(a).RemoteCall)=='function' then
  255. func = debug.getupvalues(a).RemoteCall
  256. break
  257. end
  258. end
  259. end
  260.  
  261. game:GetService("UserInputService").InputBegan:connect(function(i,g)
  262. if i.KeyCode == Enum.KeyCode.E and not g then
  263. func("LeaveZone", workspace:FindFirstChild("MapFinish",true), tick())
  264. func("EnterZone", workspace:FindFirstChild("MapStart",true), tick())
  265. func("LeaveZone", workspace:FindFirstChild("MapStart",true), tick())
  266. func("EnterZone",workspace:FindFirstChild("MapFinish",true),tick()-2147483.647)
  267. end
  268. end)
  269. end)
  270.  
  271. TPToEndButton.MouseButton1Down:connect(function()
  272. local notification3 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  273. notification3.SoundId = "rbxassetid://336653405"
  274. notification3:Play()
  275. game.StarterGui:SetCore('SendNotification', {Title='Teleported to end'; Text='Press R to do it with your keys, or press the button again', Duration=5;});
  276. wait(1)
  277. wait(1.5)
  278. notification3:Destroy()
  279.  
  280. local positionfunc
  281. for _,a in pairs (getgc()) do
  282. if type(a)=='function' then
  283. if debug.getupvalues(a).Position then
  284. positionfunc = a
  285. break
  286. end
  287. end
  288. end
  289.  
  290. local function findfinish()
  291. for a,b in pairs(workspace.Model:FindFirstChildOfClass("Model"):GetDescendants()) do
  292. if b.Name == 'MapFinish' and b:IsA("Part") then
  293. return b
  294. end
  295. end
  296. end
  297.  
  298. game:GetService("UserInputService").InputBegan:connect(function(i,g)
  299. if i.KeyCode == Enum.KeyCode.R and not g then
  300. debug.setupvalue(positionfunc,"Position",findfinish().Position)
  301. end
  302. end)
  303. end)
  304.  
  305. AutoStafeButton.MouseButton1Down:connect(function()
  306. local notification3 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  307. notification3.SoundId = "rbxassetid://336653405"
  308. notification3:Play()
  309. game.StarterGui:SetCore('SendNotification', {Title='Autostrafe'; Text='Autostrafe has been turned on, hold down left shift!)', Duration=5;});
  310. wait(1)
  311. wait(1.5)
  312. notification3:Destroy()
  313.  
  314. local Players = game:GetService"Players"
  315. local LocalPlayer = Players.LocalPlayer
  316. local UIS = game:GetService"UserInputService"
  317. local Mouse = LocalPlayer:GetMouse()
  318. local Toggle = false
  319. local Keys = {}
  320. local Key = Enum.KeyCode.LeftShift
  321.  
  322. local function GetKeyState(key)
  323. if (Keys[key] == nil) then Keys[key] = false end
  324. return Keys[key]
  325. end
  326.  
  327. local function PressKey(key)
  328. if (not GetKeyState(key)) then
  329. keypress(key)
  330. Keys[key] = true
  331. end
  332. end
  333.  
  334. local function ReleaseKey(key)
  335. if (GetKeyState(key)) then
  336. keyrelease(key)
  337. Keys[key] = false
  338. end
  339. end
  340.  
  341. local function ReleaseKeys()
  342. for i, v in next, Keys do
  343. if (v == true) then
  344. keyrelease(i)
  345. Keys[i] = false
  346. end
  347. end
  348. end
  349.  
  350. local Move = UIS.InputChanged:connect(function(input)
  351. if (Toggle) then
  352. local delta = input.Delta
  353. if (deltaX == 0) then
  354. ReleaseKeys()
  355. elseif (delta.X < 0) then
  356. ReleaseKey(0x44) -- D
  357. PressKey(0x41) -- A
  358. elseif (delta.X > 0) then
  359. ReleaseKey(0x41) -- A
  360. PressKey(0x44) -- D
  361. end
  362. else
  363. ReleaseKeys()
  364. end
  365. end)
  366.  
  367. local KeyDown = UIS.InputBegan:connect(function(input)
  368. if (input.KeyCode == Key) then
  369. PressKey(0x20)
  370. print("[Strafehack] On")
  371. Toggle = true
  372. end
  373. end)
  374.  
  375. local KeyUp = UIS.InputEnded:connect(function(input)
  376. if (input.KeyCode == Key) then
  377. ReleaseKey(0x20)
  378. print("[Strafehack] Off")
  379. Toggle = false
  380. end
  381. end)
  382.  
  383. _G.AC_DC = function() KeyUp:disconnect() KeyDown:disconnect() Move:disconnect() end
  384.  
  385. print("[Strafehack] Initiated")
  386. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement