Advertisement
Guest User

Untitled

a guest
May 26th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.14 KB | None | 0 0
  1.  
  2. local DESTROYING = false
  3. local MB = game.Players.LocalPlayer:GetMouse()
  4. local SELECTBOX = Instance.new("SelectionBox", game.StarterGui)
  5.  
  6. local SURFFKR = Instance.new("ScreenGui")
  7. local TAB = Instance.new("Frame")
  8. local FRAME = Instance.new("Frame")
  9. local CLOSE = Instance.new("TextButton")
  10. local TITLE = Instance.new("TextLabel")
  11. local OPTIONS = Instance.new("ScrollingFrame")
  12. local DSTRY = Instance.new("TextButton")
  13. local ASTRAFE = Instance.new("TextButton")
  14. local HINT = Instance.new("TextLabel")
  15. local VALUE = Instance.new("TextBox")
  16. local OPT1 = Instance.new("TextButton")
  17. local OPT2 = Instance.new("TextButton")
  18. local OPT3 = Instance.new("TextButton")
  19. local OPT4 = Instance.new("TextButton")
  20. local OPT5 = Instance.new("TextButton")
  21. local OPT6 = Instance.new("TextButton")
  22. local OPT7 = Instance.new("TextButton")
  23. local OPT8 = Instance.new("TextButton")
  24. local OPT9 = Instance.new("TextButton")
  25. local OPT10 = Instance.new("TextButton")
  26. local OPT11 = Instance.new("TextButton")
  27. local GUICLR = Instance.new("TextBox")
  28. local CGUCLR = Instance.new("TextButton")
  29. local DSTRYCHECK = Instance.new("BoolValue")
  30. local VAL = Instance.new("NumberValue")
  31. local CLR = Instance.new("NumberValue")
  32. local OPEN = Instance.new("TextButton")
  33.  
  34. -- properties
  35.  
  36. SURFFKR.Parent = game.CoreGui
  37. SURFFKR.Name = "surfFKR core"
  38.  
  39. SELECTBOX.Adornee = nil
  40. SELECTBOX.Color3 = Color3.fromRGB(255, 0, 0)
  41. SELECTBOX.SurfaceColor3 = Color3.fromRGB(255, 0, 0)
  42. SELECTBOX.LineThickness = 0.1
  43.  
  44. TAB.Name = "TAB"
  45. TAB.Parent = SURFFKR
  46. TAB.BackgroundColor3 = Color3.fromRGB(0, 170, 127)
  47. TAB.BorderSizePixel = 0
  48. TAB.LayoutOrder = 4
  49. TAB.Position = UDim2.new(0.089, 0, 0.153, 0)
  50. TAB.Size = UDim2.new(0, 381, 0, 20)
  51. TAB.Draggable = true
  52. TAB.Selectable = true
  53. TAB.Active = true
  54.  
  55. FRAME.Name = "FRAME"
  56. FRAME.Parent = TAB
  57. FRAME.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  58. FRAME.BorderSizePixel = 0
  59. FRAME.LayoutOrder = 3
  60. FRAME.Position = UDim2.new(0, 0, 0.987, 0)
  61. FRAME.Size = UDim2.new(0, 381,0, 276)
  62.  
  63. CLOSE.Name = "CLOSE"
  64. CLOSE.Parent = TAB
  65. CLOSE.BackgroundTransparency = 1
  66. CLOSE.BorderSizePixel = 0
  67. CLOSE.Position = UDim2.new(0.948, 0, 0, 0)
  68. CLOSE.Size = UDim2.new(0, 20,0, 20)
  69. CLOSE.Font = Enum.Font.GothamBold
  70. CLOSE.Text = "X"
  71. CLOSE.TextColor3 = Color3.fromRGB(30, 30, 30)
  72. CLOSE.TextStrokeTransparency = 1
  73. CLOSE.TextSize = 14
  74.  
  75. TITLE.Name = "TITLE"
  76. TITLE.Parent = TAB
  77. TITLE.BackgroundTransparency = 1
  78. TITLE.BorderSizePixel = 1
  79. TITLE.Position = UDim2.new(0, 0, 0, 0)
  80. TITLE.Size = UDim2.new(0,118,0,20)
  81. TITLE.Font = Enum.Font.GothamBold
  82. TITLE.Text = "doge gang bang"
  83. TITLE.TextColor3 = Color3.fromRGB(30,30,30)
  84. TITLE.TextStrokeTransparency = 1
  85. TITLE.TextSize = 14
  86.  
  87. OPTIONS.Name = "OPTIONS"
  88. OPTIONS.Parent = FRAME
  89. OPTIONS.BackgroundColor3 = Color3.fromRGB(30,30,30)
  90. OPTIONS.BackgroundTransparency = 0
  91. OPTIONS.BorderColor3 = Color3.fromRGB(0,170,127)
  92. OPTIONS.BorderSizePixel = 2
  93. OPTIONS.Position = UDim2.new(0.034, 0, 0.236, 0)
  94. OPTIONS.Size = UDim2.new(0,146, 0, 164)
  95.  
  96. DSTRY.Name = "DSTRY"
  97. DSTRY.Parent = FRAME
  98. DSTRY.BackgroundColor3 = Color3.fromRGB(0,170,127)
  99. DSTRY.BackgroundTransparency = 0
  100. DSTRY.BorderSizePixel = 0
  101. DSTRY.Position = UDim2.new(0.029, 0, 0.043, 0)
  102. DSTRY.Size = UDim2.new(0,151,0,43)
  103. DSTRY.Font = Enum.Font.GothamBold
  104. DSTRY.Text = "destroy mode: off"
  105. DSTRY.TextColor3 = Color3.fromRGB(0,0,0)
  106. DSTRY.TextSize = 16
  107. DSTRYCHECK.Name = "DSTRYCHECK"
  108. DSTRYCHECK.Value = false
  109. DSTRYCHECK.Parent = DSTRY
  110.  
  111. ASTRAFE.Name = "ASTRAFE"
  112. ASTRAFE.Parent = FRAME
  113. ASTRAFE.BackgroundColor3 = Color3.fromRGB(0,170,127)
  114. ASTRAFE.BorderSizePixel = 0
  115. ASTRAFE.Position = UDim2.new(0.577, 0, 0.043, 0)
  116. ASTRAFE.Size = UDim2.new(0,149, 0, 43)
  117. ASTRAFE.Font = Enum.Font.GothamBold
  118. ASTRAFE.Text = "autostrafe: off"
  119. ASTRAFE.TextSize = 16
  120. ASTRAFE.TextColor3 = Color3.fromRGB(0,0,0)
  121.  
  122. HINT.Name = "HINT"
  123. HINT.Parent = ASTRAFE
  124. HINT.BackgroundTransparency = 1
  125. HINT.BorderSizePixel = 0
  126. HINT.Position = UDim2.new(0,0,1.093,0)
  127. HINT.Size = UDim2.new(0,149,0,14)
  128. HINT.Font = Enum.Font.GothamBold
  129. HINT.Text = "hint: hold shift and move ur mouse"
  130. HINT.TextColor3 = Color3.fromRGB(0,170,127)
  131. HINT.TextSize = 9
  132. HINT.TextStrokeTransparency = 0
  133.  
  134. VALUE.Name = "VALUE"
  135. VALUE.Parent = FRAME
  136. VALUE.BackgroundColor3 = Color3.fromRGB(30,30,30)
  137. VALUE.BorderColor3 = Color3.fromRGB(0,170,127)
  138. VALUE.BorderSizePixel = 2
  139. VALUE.ClearTextOnFocus = true
  140. VALUE.Position = UDim2.new(0.034, 0, 0.873, 0)
  141. VALUE.Size = UDim2.new(0,146,0,22)
  142. VALUE.Font = Enum.Font.GothamBold
  143. VALUE.Text = "value..."
  144. VALUE.TextColor3 = Color3.fromRGB(0,170,127)
  145. VALUE.TextSize = 14
  146.  
  147. GUICLR.Name = "GUICLR"
  148. GUICLR.Parent = FRAME
  149. GUICLR.BackgroundColor3 = Color3.fromRGB(30,30,30)
  150. GUICLR.BorderColor3 = Color3.fromRGB(0,170,127)
  151. GUICLR.BorderSizePixel = 2
  152. GUICLR.ClearTextOnFocus = true
  153. GUICLR.Position = UDim2.new(0.514, 0, 0.315, 0)
  154. GUICLR.Size = UDim2.new(0,146,0,22)
  155. GUICLR.Font = Enum.Font.GothamBold
  156. GUICLR.Text = "e.g 255,255,255"
  157. GUICLR.TextColor3 = Color3.fromRGB(0,170,127)
  158. GUICLR.TextSize = 14
  159.  
  160. CGUCLR.Name = "CGUCLR"
  161. CGUCLR.Parent = FRAME
  162. CGUCLR.BackgroundColor3 = Color3.fromRGB(0,170,127)
  163. CGUCLR.BackgroundTransparency = 0
  164. CGUCLR.BorderSizePixel = 0
  165. CGUCLR.Position = UDim2.new(0.449, 0, 0.435, 0)
  166. CGUCLR.Size = UDim2.new(0,195,0,35)
  167. CGUCLR.Font = Enum.Font.GothamBold
  168. CGUCLR.Text = "set gui colour"
  169. CGUCLR.TextColor3 = Color3.fromRGB(0,0,0)
  170. CGUCLR.TextSize = 16
  171.  
  172. OPEN.Name = "OPEN"
  173. OPEN.Parent = SURFFKR
  174. OPEN.BackgroundColor3 = Color3.fromRGB(30,30,30)
  175. OPEN.BackgroundTransparency = 0
  176. OPEN.BorderColor3 = Color3.fromRGB(0,170,127)
  177. OPEN.BorderSizePixel = 2
  178. OPEN.Position = UDim2.new(0.902, 0, 0.933, 0)
  179. OPEN.Size = UDim2.new(0,140,0,35)
  180. OPEN.Font = Enum.Font.GothamBold
  181. OPEN.Text = "open surf fkr"
  182. OPEN.TextColor3 = Color3.fromRGB(0,170,127)
  183. OPEN.TextSize = 16
  184. OPEN.TextStrokeTransparency = 0
  185. OPEN.Draggable = true
  186. OPEN.Selectable = true
  187. OPEN.Visible = false
  188.  
  189. CLR.Parent = FRAME
  190. CLR.Value = 255,255,255
  191.  
  192. -- all option properties, boring
  193.  
  194. OPT1.Parent = OPTIONS
  195. OPT1.BackgroundColor3 = Color3.fromRGB(0,170,127)
  196. OPT1.BorderSizePixel = 0
  197. OPT1.Position = UDim2.new(0,0,0,0)
  198. OPT1.Size = UDim2.new(0,132,0,16)
  199. OPT1.Font = Enum.Font.GothamBold
  200. OPT1.Text = "setspeed()"
  201. OPT1.TextColor3 = Color3.fromRGB(30,30,30)
  202. OPT1.TextSize = 14
  203. OPT1.TextStrokeTransparency = 1
  204.  
  205. OPT2.Parent = OPTIONS
  206. OPT2.BackgroundColor3 = Color3.fromRGB(0,170,127)
  207. OPT2.BorderSizePixel = 0
  208. OPT2.Position = UDim2.new(0,0,0.04,0)
  209. OPT2.Size = UDim2.new(0,132,0,16)
  210. OPT2.Font = Enum.Font.GothamBold
  211. OPT2.Text = "setjump()"
  212. OPT2.TextColor3 = Color3.fromRGB(30,30,30)
  213. OPT2.TextSize = 14
  214. OPT2.TextStrokeTransparency = 1
  215.  
  216. OPT3.Parent = OPTIONS
  217. OPT3.BackgroundColor3 = Color3.fromRGB(0,170,127)
  218. OPT3.BorderSizePixel = 0
  219. OPT3.Position = UDim2.new(0,0,0.08,0)
  220. OPT3.Size = UDim2.new(0,132,0,16)
  221. OPT3.Font = Enum.Font.GothamBold
  222. OPT3.Text = "setgravity()"
  223. OPT3.TextColor3 = Color3.fromRGB(30,30,30)
  224. OPT3.TextSize = 14
  225. OPT3.TextStrokeTransparency = 1
  226.  
  227. OPT4.Parent = OPTIONS
  228. OPT4.BackgroundColor3 = Color3.fromRGB(0,170,127)
  229. OPT4.BorderSizePixel = 0
  230. OPT4.Position = UDim2.new(0,0,0.12,0)
  231. OPT4.Size = UDim2.new(0,132,0,16)
  232. OPT4.Font = Enum.Font.GothamBold
  233. OPT4.Text = "resetspeed()"
  234. OPT4.TextColor3 = Color3.fromRGB(30,30,30)
  235. OPT4.TextSize = 14
  236. OPT4.TextStrokeTransparency = 1
  237.  
  238. OPT5.Parent = OPTIONS
  239. OPT5.BackgroundColor3 = Color3.fromRGB(0,170,127)
  240. OPT5.BorderSizePixel = 0
  241. OPT5.Position = UDim2.new(0,0,0.16,0)
  242. OPT5.Size = UDim2.new(0,132,0,16)
  243. OPT5.Font = Enum.Font.GothamBold
  244. OPT5.Text = "resetgravity()"
  245. OPT5.TextColor3 = Color3.fromRGB(30,30,30)
  246. OPT5.TextSize = 14
  247. OPT5.TextStrokeTransparency = 1
  248.  
  249. OPT6.Parent = OPTIONS
  250. OPT6.BackgroundColor3 = Color3.fromRGB(0,170,127)
  251. OPT6.BorderSizePixel = 0
  252. OPT6.Position = UDim2.new(0,0,0.2,0)
  253. OPT6.Size = UDim2.new(0,132,0,16)
  254. OPT6.Font = Enum.Font.GothamBold
  255. OPT6.Text = "setval()"
  256. OPT6.TextColor3 = Color3.fromRGB(30,30,30)
  257. OPT6.TextSize = 14
  258. OPT6.TextStrokeTransparency = 1
  259.  
  260. OPT7.Parent = OPTIONS
  261. OPT7.BackgroundColor3 = Color3.fromRGB(0,170,127)
  262. OPT7.BorderSizePixel = 0
  263. OPT7.Position = UDim2.new(0,0,0.24,0)
  264. OPT7.Size = UDim2.new(0,132,0,16)
  265. OPT7.Font = Enum.Font.GothamBold
  266. OPT7.Text = "setwalk()"
  267. OPT7.TextColor3 = Color3.fromRGB(30,30,30)
  268. OPT7.TextSize = 14
  269. OPT7.TextStrokeTransparency = 1
  270.  
  271. OPT8.Parent = OPTIONS
  272. OPT8.BackgroundColor3 = Color3.fromRGB(0,170,127)
  273. OPT8.BorderSizePixel = 0
  274. OPT8.Position = UDim2.new(0,0,0.28,0)
  275. OPT8.Size = UDim2.new(0,132,0,16)
  276. OPT8.Font = Enum.Font.GothamBold
  277. OPT8.Text = "resetwalk()"
  278. OPT8.TextColor3 = Color3.fromRGB(30,30,30)
  279. OPT8.TextSize = 14
  280. OPT8.TextStrokeTransparency = 1
  281.  
  282. OPT9.Parent = OPTIONS
  283. OPT9.BackgroundColor3 = Color3.fromRGB(0,170,127)
  284. OPT9.BorderSizePixel = 0
  285. OPT9.Position = UDim2.new(0,0,0.32,0)
  286. OPT9.Size = UDim2.new(0,132,0,16)
  287. OPT9.Font = Enum.Font.GothamBold
  288. OPT9.Text = "setfriction()"
  289. OPT9.TextColor3 = Color3.fromRGB(30,30,30)
  290. OPT9.TextSize = 14
  291. OPT9.TextStrokeTransparency = 1
  292.  
  293. OPT10.Parent = OPTIONS
  294. OPT10.BackgroundColor3 = Color3.fromRGB(0,170,127)
  295. OPT10.BorderSizePixel = 0
  296. OPT10.Position = UDim2.new(0,0,0.36,0)
  297. OPT10.Size = UDim2.new(0,132,0,16)
  298. OPT10.Font = Enum.Font.GothamBold
  299. OPT10.Text = "resetfriction()"
  300. OPT10.TextColor3 = Color3.fromRGB(30,30,30)
  301. OPT10.TextSize = 14
  302. OPT10.TextStrokeTransparency = 1
  303.  
  304. OPT11.Parent = OPTIONS
  305. OPT11.BackgroundColor3 = Color3.fromRGB(0,170,127)
  306. OPT11.BorderSizePixel = 0
  307. OPT11.Position = UDim2.new(0,0,0.4,0)
  308. OPT11.Size = UDim2.new(0,132,0,16)
  309. OPT11.Font = Enum.Font.GothamBold
  310. OPT11.Text = "settime()"
  311. OPT11.TextColor3 = Color3.fromRGB(30,30,30)
  312. OPT11.TextSize = 14
  313. OPT11.TextStrokeTransparency = 1
  314.  
  315. -- ok now all that boring stuff is done lets get in to the JUICE
  316.  
  317. OPEN.MouseButton1Down:Connect(function()
  318. TAB.Visible = true
  319. OPEN.Visible = false
  320. end)
  321.  
  322. CLOSE.MouseButton1Down:Connect(function()
  323. TAB.Visible = false
  324. OPEN.Visible = true
  325. end)
  326.  
  327. GUICLR.Changed:Connect(function()
  328. while GUICLR == true do
  329. CLR.Value = GUICLR.Text
  330. end
  331. end)
  332.  
  333. CGUCLR.MouseButton1Down:Connect(function()
  334. TAB.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  335. OPTIONS.BorderColor3 = Color3.fromRGB(CLR.Value)
  336. DSTRY.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  337. ASTRAFE.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  338. HINT.TextColor3 = Color3.fromRGB(CLR.Value)
  339. VALUE.BorderColor3 = Color3.fromRGB(CLR.Value)
  340. GUICLR.BorderColor3 = Color3.fromRGB(CLR.Value)
  341. GUICLR.TextColor3 = Color3.fromRGB(CLR.Value)
  342. CGUCLR.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  343. OPT1.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  344. OPT2.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  345. OPT3.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  346. OPT4.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  347. OPT5.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  348. OPT6.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  349. OPT7.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  350. OPT8.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  351. OPT9.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  352. OPT10.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  353. OPT11.BackgroundColor3 = Color3.fromRGB(CLR.Value)
  354. VALUE.TextColor3 = Color3.fromRGB(CLR.Value)
  355. end)
  356.  
  357. DSTRY.MouseButton1Down:Connect(function()
  358. if DSTRYCHECK.Value == false then
  359. DSTRYCHECK.Value = true
  360. DSTRY.Text = "destroy mode: on"
  361. DESTROYING = true
  362. SELECTBOX.Parent = game.Workspace
  363. while DESTROYING == true do
  364. wait(0.1)
  365. SELECTBOX.Adornee = MB.Target
  366. end
  367. else
  368. DSTRYCHECK.Value = false
  369. DSTRY.Text = "destroy mode: off"
  370. DESTROYING = false
  371. SELECTBOX.Adornee = nil
  372. SELECTBOX.Parent = game.StarterGui
  373. end
  374.  
  375. end)
  376.  
  377. MB.Button1Down:Connect(function()
  378. if DESTROYING == true then
  379. (MB.Target).Parent = game.CoreGui
  380. end
  381. end)
  382.  
  383. OPT1.MouseButton1Down:Connect(function()
  384. setspeed(tonumber(VALUE.Text))
  385. end)
  386.  
  387. OPT2.MouseButton1Down:Connect(function()
  388. setjump(tonumber(VALUE.Text))
  389. end)
  390.  
  391. OPT3.MouseButton1Down:Connect(function()
  392. setgravity(tonumber(VALUE.Text))
  393. end)
  394.  
  395. OPT4.MouseButton1Down:Connect(function()
  396. resetspeed()
  397. end)
  398.  
  399. OPT5.MouseButton1Down:Connect(function()
  400. resetgravity()
  401. end)
  402.  
  403. OPT6.MouseButton1Down:Connect(function()
  404. print("Not Implemented.")
  405. end)
  406.  
  407. OPT7.MouseButton1Down:Connect(function()
  408. setwalk(tonumber(VALUE.Text))
  409. end)
  410.  
  411. OPT8.MouseButton1Down:Connect(function()
  412. resetwalk()
  413. end)
  414.  
  415. OPT9.MouseButton1Down:Connect(function()
  416. setfriction(tonumber(VALUE.Text))
  417. end)
  418.  
  419. OPT10.MouseButton1Down:Connect(function()
  420. resetfriction()
  421. end)
  422.  
  423. OPT11.MouseButton1Down:Connect(function()
  424. settime(tonumber(VALUE.Text))
  425. end)
  426.  
  427. --autostrafe script
  428.  
  429. ASTRAFE.MouseButton1Down:Connect(function()
  430. if ASTRAFE.Text == "autostrafe: off" then
  431. ASTRAFE.Text = "autostrafe: on"
  432. else
  433. ASTRAFE.Text = "autostrafe: off"
  434. end
  435. local Players = game:GetService"Players"
  436. local LocalPlayer = Players.LocalPlayer
  437. local UIS = game:GetService"UserInputService"
  438. local Mouse = LocalPlayer:GetMouse()
  439. local Toggle = false
  440. local Keys = {}
  441. local Key = Enum.KeyCode.LeftShift
  442.  
  443. local function GetKeyState(key)
  444. if (Keys[key] == nil) then Keys[key] = false end
  445. return Keys[key]
  446. end
  447.  
  448. local function PressKey(key)
  449. if (not GetKeyState(key)) then
  450. keypress(key)
  451. Keys[key] = true
  452. end
  453. end
  454.  
  455. local function ReleaseKey(key)
  456. if (GetKeyState(key)) then
  457. keyrelease(key)
  458. Keys[key] = false
  459. end
  460. end
  461.  
  462. local function ReleaseKeys()
  463. for i, v in next, Keys do
  464. if (v == true) then
  465. keyrelease(i)
  466. Keys[i] = false
  467. end
  468. end
  469. end
  470.  
  471. local Move = UIS.InputChanged:connect(function(input)
  472. if (Toggle) then
  473. local delta = input.Delta
  474. if (deltaX == 0) then
  475. ReleaseKeys()
  476. elseif (delta.X < 0) then
  477. ReleaseKey(0x44) -- D
  478. PressKey(0x41) -- A
  479. elseif (delta.X > 0) then
  480. ReleaseKey(0x41) -- A
  481. PressKey(0x44) -- D
  482. end
  483. else
  484. ReleaseKeys()
  485. end
  486. end)
  487.  
  488. local KeyDown = UIS.InputBegan:connect(function(input)
  489. if (input.KeyCode == Key) then
  490. PressKey(0x20)
  491. print("[Strafehack] On")
  492. Toggle = true
  493. end
  494. end)
  495.  
  496. local KeyUp = UIS.InputEnded:connect(function(input)
  497. if (input.KeyCode == Key) then
  498. ReleaseKey(0x20)
  499. print("[Strafehack] Off")
  500. Toggle = false
  501. end
  502. end)
  503.  
  504. _G.AC_DC = function() KeyUp:disconnect() KeyDown:disconnect() Move:disconnect() end
  505.  
  506. print("[Strafehack] Initiated")
  507. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement