Advertisement
Guest User

YEEYEEOSU

a guest
Dec 8th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.16 KB | None | 0 0
  1. --]]
  2. plr = game:GetService('Players').LocalPlayer
  3. Root = plr.Character.HumanoidRootPart
  4. --[[
  5.  
  6. --~ Copy Vector3 (setclipboard function) ~--
  7.  
  8.  
  9. plr = game:GetService('Players').LocalPlayer
  10. Root = plr.Character.HumanoidRootPart
  11. function loc(A)
  12. location = string.find(A, ".",0,true)
  13. return string.sub(A, 0,location - 1)
  14. end
  15. function copy()
  16. setclipboard(loc(x) .. ", " .. loc(y) .. ", " .. loc(z))
  17. end
  18.  
  19. x = Root.CFrame.x
  20. y = Root.CFrame.y
  21. z = Root.CFrame.z
  22. print('-----------------')
  23. print('Your x value is '.. loc(x))
  24. print('Your y value is '.. loc(y))
  25. print('Your z value is '.. loc(z))
  26. pcall(copy)
  27.  
  28.  
  29.  
  30.  
  31. --~ Baseplate Teleport ~--
  32.  
  33.  
  34. Height = 5000 --this is how high up the plate will be
  35. SizeX = 60 --this is how big the X axis will be for the part
  36. SizeY = 60 --this is how big the Y axis will be for the part
  37. --Execute once to make the baseplate, execute again to delete and teleport back
  38.  
  39. plr = game:GetService('Players').LocalPlayer
  40. Root = plr.Character.HumanoidRootPart
  41. local check = game.Workspace:FindFirstChild("BRIAN'S PLATFORM")
  42. if check then
  43. Root.CFrame = _G.StartingPosition
  44. check:Destroy()
  45. else
  46. _G.StartingPosition = Root.CFrame
  47. local P = Instance.new("Part", workspace)
  48. P.Anchored = true
  49. P.CFrame = Root.CFrame * CFrame.new(0, Height, 0)
  50. P.Name = "BRIAN'S PLATFORM"
  51. P.Size = Vector3.new(SizeX, 1, SizeY)
  52. Root.CFrame = P.CFrame * CFrame.new(0,5,0)
  53. end
  54.  
  55.  
  56. --]]
  57.  
  58.  
  59. print('Loading')
  60. UIS = game:GetService("UserInputService")
  61. mouse = plr:GetMouse()
  62. local ScreenGui = Instance.new("ScreenGui")
  63. local Frame = Instance.new("Frame")
  64. local Game = Instance.new("TextLabel")
  65. local Minimize = Instance.new("TextButton")
  66. local Close = Instance.new("TextButton")
  67. local Credit = Instance.new("TextLabel")
  68. local B1 = Instance.new("TextButton")
  69. local L1 = Instance.new("TextLabel")
  70. local B2 = Instance.new("TextButton")
  71. local L2 = Instance.new("TextLabel")
  72. local B3 = Instance.new("TextButton")
  73. local L3 = Instance.new("TextLabel")
  74. local B4 = Instance.new("TextButton")
  75. local L4 = Instance.new("TextLabel")
  76. local B5 = Instance.new("TextButton")
  77. local L5 = Instance.new("TextLabel")
  78. local B6 = Instance.new("TextButton")
  79. local L6 = Instance.new("TextLabel")
  80. local B7 = Instance.new("TextButton")
  81. local L7 = Instance.new("TextLabel")
  82. local B8 = Instance.new("TextButton")
  83. local L8 = Instance.new("TextLabel")
  84. function VarOff()
  85. _G.on1 = 0
  86. _G.on2 = 0
  87. _G.on3 = 0
  88. _G.on4 = 0
  89. _G.on5 = 0
  90. _G.on6 = 0
  91. _G.on7 = 0
  92. _G.on8 = 0
  93. end
  94. VarOff()
  95. ScreenGui.Parent = game.CoreGui
  96. Frame.Parent = ScreenGui
  97. Frame.BackgroundColor3 = Color3.new(0.219608, 0.572549, 1)
  98. Frame.BackgroundTransparency = 0.69999998807907
  99. Frame.BorderColor3 = Color3.new(1, 1, 1)
  100. Frame.Position = UDim2.new(0, 191, 0, 102)
  101. Frame.Size = UDim2.new(0, 295, 0, 270)
  102. Frame.Active = true
  103. Frame.Selectable = true
  104. Frame.Draggable = true
  105. Game.Name = "Game"
  106. Game.Parent = Frame
  107. Game.BackgroundColor3 = Color3.new(1, 1, 1)
  108. Game.BackgroundTransparency = 0.69999998807907
  109. Game.BorderColor3 = Color3.new(1, 1, 1)
  110. Game.BorderSizePixel = 0
  111. Game.Size = UDim2.new(0, 245, 0, 25)
  112. Game.Font = Enum.Font.SourceSans
  113. Game.Text = ""
  114. Game.TextColor3 = Color3.new(0, 0, 0)
  115. Game.TextSize = 14
  116. Minimize.Name = "Minimize"
  117. Minimize.Parent = Frame
  118. Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
  119. Minimize.BackgroundTransparency = 0.69999998807907
  120. Minimize.BorderColor3 = Color3.new(1, 1, 1)
  121. Minimize.BorderSizePixel = 0
  122. Minimize.Position = UDim2.new(0, 245, 0, 0)
  123. Minimize.Size = UDim2.new(0, 25, 0, 25)
  124. Minimize.Font = Enum.Font.SourceSans
  125. Minimize.Text = "-"
  126. Minimize.TextColor3 = Color3.new(0, 0, 0)
  127. Minimize.TextSize = 14
  128. Close.Name = "Close"
  129. Close.Parent = Frame
  130. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  131. Close.BackgroundTransparency = 0.69999998807907
  132. Close.BorderColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  133. Close.BorderSizePixel = 0
  134. Close.Position = UDim2.new(0, 270, 0, 0)
  135. Close.Size = UDim2.new(0, 25, 0, 25)
  136. Close.Font = Enum.Font.SourceSans
  137. Close.Text = "x"
  138. Close.TextColor3 = Color3.new(0, 0, 0)
  139. Close.TextSize = 14
  140. Credit.Name = "Credit"
  141. Credit.Parent = Frame
  142. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  143. Credit.BackgroundTransparency = 0.80000001192093
  144. Credit.BorderColor3 = Color3.new(1, 1, 1)
  145. Credit.Position = UDim2.new(0, 0, 0, 245)
  146. Credit.Size = UDim2.new(0, 295, 0, 25)
  147. Credit.Font = Enum.Font.SourceSans
  148. Credit.Text = "GUI ~ brianops1 | Scipter(s) ~ "
  149. Credit.TextColor3 = Color3.new(0, 0, 0)
  150. Credit.TextSize = 14
  151. B1.Name = "B1"
  152. B1.Parent = Frame
  153. B1.BackgroundColor3 = Color3.new(1, 1, 1)
  154. B1.BackgroundTransparency = 0.5
  155. B1.BorderColor3 = Color3.new(1, 1, 1)
  156. B1.Position = UDim2.new(0.0240000002, 0, 0.123000003, 0)
  157. B1.Size = UDim2.new(0, 135, 0, 45)
  158. B1.Font = Enum.Font.SourceSans
  159. B1.Text = ""
  160. B1.TextColor3 = Color3.new(0, 0, 0)
  161. B1.TextSize = 14
  162. L1.Name = "L1"
  163. L1.Parent = B1
  164. L1.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  165. L1.BackgroundTransparency = 0.30000001192093
  166. L1.BorderSizePixel = 0
  167. L1.Size = UDim2.new(0, 10, 0, 10)
  168. L1.Font = Enum.Font.SourceSans
  169. L1.Text = ""
  170. L1.TextColor3 = Color3.new(0, 0, 0)
  171. L1.TextSize = 14
  172. B2.Name = "B2"
  173. B2.Parent = Frame
  174. B2.BackgroundColor3 = Color3.new(1, 1, 1)
  175. B2.BackgroundTransparency = 0.5
  176. B2.BorderColor3 = Color3.new(1, 1, 1)
  177. B2.Position = UDim2.new(0.518999994, 0, 0.123000003, 0)
  178. B2.Size = UDim2.new(0, 135, 0, 45)
  179. B2.Font = Enum.Font.SourceSans
  180. B2.Text = ""
  181. B2.TextColor3 = Color3.new(0, 0, 0)
  182. B2.TextSize = 14
  183. L2.Name = "L2"
  184. L2.Parent = B2
  185. L2.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  186. L2.BackgroundTransparency = 0.30000001192093
  187. L2.BorderSizePixel = 0
  188. L2.Size = UDim2.new(0, 10, 0, 10)
  189. L2.Font = Enum.Font.SourceSans
  190. L2.Text = ""
  191. L2.TextColor3 = Color3.new(0, 0, 0)
  192. L2.TextSize = 14
  193. B3.Name = "B3"
  194. B3.Parent = Frame
  195. B3.BackgroundColor3 = Color3.new(1, 1, 1)
  196. B3.BackgroundTransparency = 0.5
  197. B3.BorderColor3 = Color3.new(1, 1, 1)
  198. B3.Position = UDim2.new(0.0240000002, 0, 0.317999989, 0)
  199. B3.Size = UDim2.new(0, 135, 0, 45)
  200. B3.Font = Enum.Font.SourceSans
  201. B3.Text = ""
  202. B3.TextColor3 = Color3.new(0, 0, 0)
  203. B3.TextSize = 14
  204. L3.Name = "L3"
  205. L3.Parent = B3
  206. L3.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  207. L3.BackgroundTransparency = 0.30000001192093
  208. L3.BorderSizePixel = 0
  209. L3.Size = UDim2.new(0, 10, 0, 10)
  210. L3.Font = Enum.Font.SourceSans
  211. L3.Text = ""
  212. L3.TextColor3 = Color3.new(0, 0, 0)
  213. L3.TextSize = 14
  214. B4.Name = "B4"
  215. B4.Parent = Frame
  216. B4.BackgroundColor3 = Color3.new(1, 1, 1)
  217. B4.BackgroundTransparency = 0.5
  218. B4.BorderColor3 = Color3.new(1, 1, 1)
  219. B4.Position = UDim2.new(0.518999994, 0, 0.317999989, 0)
  220. B4.Size = UDim2.new(0, 135, 0, 45)
  221. B4.Font = Enum.Font.SourceSans
  222. B4.Text = ""
  223. B4.TextColor3 = Color3.new(0, 0, 0)
  224. B4.TextSize = 14
  225. L4.Name = "L4"
  226. L4.Parent = B4
  227. L4.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  228. L4.BackgroundTransparency = 0.30000001192093
  229. L4.BorderSizePixel = 0
  230. L4.Size = UDim2.new(0, 10, 0, 10)
  231. L4.Font = Enum.Font.SourceSans
  232. L4.Text = ""
  233. L4.TextColor3 = Color3.new(0, 0, 0)
  234. L4.TextSize = 14
  235. B5.Name = "B5"
  236. B5.Parent = Frame
  237. B5.BackgroundColor3 = Color3.new(1, 1, 1)
  238. B5.BackgroundTransparency = 0.5
  239. B5.BorderColor3 = Color3.new(1, 1, 1)
  240. B5.Position = UDim2.new(0.0240000002, 0, 0.514999986, 0)
  241. B5.Size = UDim2.new(0, 135, 0, 45)
  242. B5.Font = Enum.Font.SourceSans
  243. B5.Text = ""
  244. B5.TextColor3 = Color3.new(0, 0, 0)
  245. B5.TextSize = 14
  246. L5.Name = "L5"
  247. L5.Parent = B5
  248. L5.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  249. L5.BackgroundTransparency = 0.30000001192093
  250. L5.BorderSizePixel = 0
  251. L5.Size = UDim2.new(0, 10, 0, 10)
  252. L5.Font = Enum.Font.SourceSans
  253. L5.Text = ""
  254. L5.TextColor3 = Color3.new(0, 0, 0)
  255. L5.TextSize = 14
  256. B6.Name = "B6"
  257. B6.Parent = Frame
  258. B6.BackgroundColor3 = Color3.new(1, 1, 1)
  259. B6.BackgroundTransparency = 0.5
  260. B6.BorderColor3 = Color3.new(1, 1, 1)
  261. B6.Position = UDim2.new(0.518999994, 0, 0.514999986, 0)
  262. B6.Size = UDim2.new(0, 135, 0, 45)
  263. B6.Font = Enum.Font.SourceSans
  264. B6.Text = ""
  265. B6.TextColor3 = Color3.new(0, 0, 0)
  266. B6.TextSize = 14
  267. L6.Name = "L6"
  268. L6.Parent = B6
  269. L6.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  270. L6.BackgroundTransparency = 0.30000001192093
  271. L6.BorderSizePixel = 0
  272. L6.Size = UDim2.new(0, 10, 0, 10)
  273. L6.Font = Enum.Font.SourceSans
  274. L6.Text = ""
  275. L6.TextColor3 = Color3.new(0, 0, 0)
  276. L6.TextSize = 14
  277. B7.Name = "B7"
  278. B7.Parent = Frame
  279. B7.BackgroundColor3 = Color3.new(1, 1, 1)
  280. B7.BackgroundTransparency = 0.5
  281. B7.BorderColor3 = Color3.new(1, 1, 1)
  282. B7.Position = UDim2.new(0, 7, 0, 192)
  283. B7.Size = UDim2.new(0, 135, 0, 45)
  284. B7.Font = Enum.Font.SourceSans
  285. B7.Text = ""
  286. B7.TextColor3 = Color3.new(0, 0, 0)
  287. B7.TextSize = 14
  288. L7.Name = "L7"
  289. L7.Parent = B7
  290. L7.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  291. L7.BackgroundTransparency = 0.30000001192093
  292. L7.BorderSizePixel = 0
  293. L7.Size = UDim2.new(0, 10, 0, 10)
  294. L7.Font = Enum.Font.SourceSans
  295. L7.Text = ""
  296. L7.TextColor3 = Color3.new(0, 0, 0)
  297. L7.TextSize = 14
  298. B8.Name = "B8"
  299. B8.Parent = Frame
  300. B8.BackgroundColor3 = Color3.new(1, 1, 1)
  301. B8.BackgroundTransparency = 0.5
  302. B8.BorderColor3 = Color3.new(1, 1, 1)
  303. B8.Position = UDim2.new(0, 153, 0, 192)
  304. B8.Size = UDim2.new(0, 135, 0, 45)
  305. B8.Font = Enum.Font.SourceSans
  306. B8.Text = ""
  307. B8.TextColor3 = Color3.new(0, 0, 0)
  308. B8.TextSize = 14
  309. L8.Name = "L8"
  310. L8.Parent = B8
  311. L8.BackgroundColor3 = Color3.new(0.0509804, 0.137255, 0.254902)
  312. L8.BackgroundTransparency = 0.30000001192093
  313. L8.BorderSizePixel = 0
  314. L8.Size = UDim2.new(0, 10, 0, 10)
  315. L8.Font = Enum.Font.SourceSans
  316. L8.Text = ""
  317. L8.TextColor3 = Color3.new(0, 0, 0)
  318. L8.TextSize = 14
  319. B1.TextWrapped = true
  320. B2.TextWrapped = true
  321. B3.TextWrapped = true
  322. B4.TextWrapped = true
  323. B5.TextWrapped = true
  324. B6.TextWrapped = true
  325. B7.TextWrapped = true
  326. B8.TextWrapped = true
  327. ---------------------------------Functions---------------------------------
  328. m = 0
  329. Minimize.MouseButton1Click:connect(function()
  330. if m == 0 then
  331. m = 1
  332. B1.Visible = false
  333. B2.Visible = false
  334. B3.Visible = false
  335. B4.Visible = false
  336. B5.Visible = false
  337. B6.Visible = false
  338. B7.Visible = false
  339. B8.Visible = false
  340. Credit.Visible = false
  341. Frame.Size = UDim2.new(0, 295, 0, 25)
  342. else
  343. m = 0
  344. B1.Visible = true
  345. B2.Visible = true
  346. B3.Visible = true
  347. B4.Visible = true
  348. B5.Visible = true
  349. B6.Visible = true
  350. B7.Visible = true
  351. B8.Visible = true
  352. Credit.Visible = true
  353. Frame.Size = UDim2.new(0, 295, 0, 270)
  354. end
  355. end)
  356. Close.MouseButton1Click:connect(function()
  357. VarOff()
  358. ScreenGui:Destroy()
  359. end)
  360. function on(light)
  361. light.BackgroundColor3 = Color3.fromRGB(51, 139, 255)
  362. end
  363. function off(light)
  364. light.BackgroundColor3 = Color3.fromRGB(13, 35, 65)
  365. end
  366. local keys
  367. if not pcall(function()
  368. keypress(38)
  369. end) then
  370. keys = {}
  371. keys["0"] = 0x30;keys["1"] = 0x31;keys["2"] = 0x32;keys["3"] = 0x33;keys["4"] = 0x34;keys["5"] = 0x35;keys["6"] = 0x36;keys["7"] = 0x37;keys["8"] = 0x38;keys["9"] = 0x39;keys.A = 0x41;keys.B = 0x42;keys.C = 0x43;keys.D = 0x44;keys.E = 0x45;keys.F = 0x46;keys.G = 0x47;keys.H = 0x48;keys.I = 0x49;keys.J = 0x4A;keys.K = 0x4B;keys.L = 0x4C;keys.M = 0x4D;keys.N = 0x4E;keys.O = 0x4F;keys.P = 0x50;keys.Q = 0x51;keys.R = 0x52;keys.S = 0x53;keys.T = 0x54;keys.U = 0x55;keys.V = 0x56;keys.W = 0x57;keys.X = 0x58;keys.Y = 0x59;keys.Z = 0x5A;keys[";"] = 0xBA;
  372. function Hit(key,hold,release)
  373. if not hold and not release then
  374. for i,v in pairs(keys) do
  375. if i == string.upper(key) then
  376. Input.KeyPress(v)
  377. break
  378. end
  379. end
  380. elseif hold then
  381. for i,v in pairs(keys) do
  382. if i == string.upper(key) then
  383. Input.KeyDown(v)
  384. break
  385. end
  386. end
  387. elseif release then
  388. for i,v in pairs(keys) do
  389. if i == string.upper(key) then
  390. Input.KeyUp(v)
  391. break
  392. end
  393. end
  394. end
  395. return
  396. end
  397. else
  398. keys = {}
  399. keys["0"] = 48;keys["1"] = 49;keys["2"] = 50;keys["3"] = 51;keys["4"] = 52;keys["5"] = 53;keys["6"] = 54;keys["7"] = 55;keys["8"] = 56;keys["9"] = 57;keys.A = 65;keys.B = 66;keys.C = 67;keys.D = 68;keys.E = 69;keys.F = 70;keys.G = 71;keys.H = 72;keys.I = 73;keys.J = 74;keys.K = 75;keys.L = 76;keys.M = 77;keys.N = 78;keys.O = 79;keys.P = 80;keys.Q = 81;keys.R = 82;keys.S = 83;keys.T = 84;keys.U = 85;keys.V = 86;keys.W = 87;keys.X = 88;keys.Y = 89;keys.Z = 90;keys[";"] = 186;
  400. function Hit(key,hold,release)
  401. if not hold and not release then
  402. for i,v in pairs(keys) do
  403. if i == string.upper(key) then
  404. keypress(v)
  405. keyrelease(v)
  406. break
  407. end
  408. end
  409. elseif hold then
  410. for i,v in pairs(keys) do
  411. if i == string.upper(key) then
  412. keypress(v)
  413. break
  414. end
  415. end
  416. elseif release then
  417. for i,v in pairs(keys) do
  418. if i == string.upper(key) then
  419. keyrelease(v)
  420. break
  421. end
  422. end
  423. end
  424. return
  425. end
  426. end
  427. if not _G.connections then
  428. _G.connections = {}
  429. end
  430. for i,v in pairs(_G.connections) do
  431. v:Disconnect()
  432. end
  433. _G.connections = {}
  434. ---------------------------------MainCode---------------------------------
  435.  
  436. Credit.Text = Credit.Text .. "brianops1" --Scripter Credit Here
  437.  
  438. Game.Text = "rosu!mania" --Game name here
  439.  
  440. B1.Text = "Auto - Perfect" --Name of the buttons (scripts)
  441. B2.Text = "Auto - Great"
  442. B3.Text = ""
  443. B4.Text = ""
  444. B5.Text = ""
  445. B6.Text = ""
  446. B7.Text = ""
  447. B8.Text = ""
  448.  
  449.  
  450. B1.MouseButton1Click:connect(function()
  451. if _G.on1 == 1 then
  452. _G.on1 = 0
  453. off(L1)
  454. for i,v in pairs(_G.connections) do
  455. v:Disconnect()
  456. end
  457. _G.connections = {}
  458. else
  459. _G.on1 = 1
  460. on(L1)
  461. for a,b in pairs(plr.PlayerGui.GameUI.GameplayFrame.Tracks:GetChildren()) do
  462. if b and b:IsA("Frame") then
  463. local key
  464. if b.Name == "Track1" then
  465. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track1"].Text
  466. elseif b.Name == "Track2" then
  467. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track2"].Text
  468. elseif b.Name == "Track3" then
  469. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track3"].Text
  470. elseif b.Name == "Track4" then
  471. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track4"].Text
  472. end
  473. local con = b.ChildAdded:Connect(function(child)
  474. if _G.on1 == 1 then
  475. if child:IsA("Frame") then
  476. local hit = false
  477. while _G.on1 == 1 and child and not hit do
  478. game:GetService('RunService').Stepped:wait()
  479. if child.Position.Y.Scale >= .98 then
  480. hit = true
  481. Hit(key,false,false)
  482. end
  483. if not child then
  484. hit = true
  485. end
  486. end
  487. elseif child:IsA("Folder") then
  488. local hit = false
  489. while _G.on1 == 1 and child and not hit do
  490. game:GetService('RunService').Stepped:wait()
  491. if child.Head.Position.Y.Scale >= .98 then
  492. Hit(key,true,false)
  493. end
  494. if child.Tail.Position.Y.Scale >= .98 then
  495. Hit(key,false,true)
  496. hit = true
  497. end
  498. if not child then
  499. hit = true
  500. end
  501. end
  502. end
  503. end
  504. end)
  505. table.insert(_G.connections,con)
  506. end
  507. end
  508. game:GetService('RunService').Stepped:wait()
  509. end
  510. end)
  511.  
  512.  
  513. B2.MouseButton1Click:connect(function()
  514. if _G.on2 == 1 then
  515. _G.on2 = 0
  516. off(L2)
  517. for i,v in pairs(_G.connections) do
  518. v:Disconnect()
  519. end
  520. _G.connections = {}
  521. else
  522. _G.on2 = 1
  523. on(L2)
  524. for a,b in pairs(plr.PlayerGui.GameUI.GameplayFrame.Tracks:GetChildren()) do
  525. if b and b:IsA("Frame") then
  526. local key
  527. if b.Name == "Track1" then
  528. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track1"].Text
  529. elseif b.Name == "Track2" then
  530. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track2"].Text
  531. elseif b.Name == "Track3" then
  532. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track3"].Text
  533. elseif b.Name == "Track4" then
  534. key = plr["PlayerGui"]["GameUI"]["MENUS"]["OptionsFrame"]["Keybinds"]["Track4"].Text
  535. end
  536. local con = b.ChildAdded:Connect(function(child)
  537. if _G.on2 == 1 then
  538. if child:IsA("Frame") then
  539. local hit = false
  540. while _G.on2 == 1 and child and not hit do
  541. game:GetService('RunService').Stepped:wait()
  542. if child.Position.Y.Scale >= .94 then
  543. hit = true
  544. Hit(key,false,false)
  545. end
  546. if not child then
  547. hit = true
  548. end
  549. end
  550. elseif child:IsA("Folder") then
  551. local hit = false
  552. while _G.on2 == 1 and child and not hit do
  553. game:GetService('RunService').Stepped:wait()
  554. if child.Head.Position.Y.Scale >= .94 then
  555. Hit(key,true,false)
  556. end
  557. if child.Tail.Position.Y.Scale >= .94 then
  558. Hit(key,false,true)
  559. hit = true
  560. end
  561. if not child then
  562. hit = true
  563. end
  564. end
  565. end
  566. end
  567. end)
  568. table.insert(_G.connections,con)
  569. end
  570. end
  571. game:GetService('RunService').Stepped:wait()
  572. end
  573. end)
  574.  
  575.  
  576. B3.MouseButton1Click:connect(function()
  577. if _G.on3 == 1 then
  578. _G.on3 = 0
  579. off(L3)
  580. else
  581. _G.on3 = 1
  582. on(L3)
  583. --code
  584. game:GetService('RunService').Stepped:wait()
  585. end
  586. end)
  587.  
  588.  
  589. B4.MouseButton1Click:connect(function()
  590. if _G.on4 == 1 then
  591. _G.on4 = 0
  592. off(L4)
  593. else
  594. _G.on4 = 1
  595. on(L4)
  596. game:GetService('RunService').Stepped:wait()
  597. --code
  598. end
  599. end)
  600.  
  601.  
  602. B5.MouseButton1Click:connect(function()
  603. if _G.on5 == 1 then
  604. _G.on5 = 0
  605. off(L5)
  606. else
  607. _G.on5 = 1
  608. on(L5)
  609. game:GetService('RunService').Stepped:wait()
  610. --code
  611. end
  612. end)
  613.  
  614.  
  615. B6.MouseButton1Click:connect(function()
  616. if _G.on6 == 1 then
  617. _G.on6 = 0
  618. off(L6)
  619. else
  620. _G.on6 = 1
  621. on(L6)
  622. game:GetService('RunService').Stepped:wait()
  623. --code
  624. end
  625. end)
  626.  
  627.  
  628. B7.MouseButton1Click:connect(function()
  629. if _G.on7 == 1 then
  630. _G.on7 = 0
  631. off(L7)
  632. else
  633. _G.on7 = 1
  634. on(L7)
  635. game:GetService('RunService').Stepped:wait()
  636. --code
  637. end
  638. end)
  639.  
  640.  
  641. B8.MouseButton1Click:connect(function()
  642. if _G.on8 == 1 then
  643. _G.on8 = 0
  644. off(L8)
  645. else
  646. _G.on8 = 1
  647. on(L8)
  648. game:GetService('RunService').Stepped:wait()
  649. --code
  650. end
  651. end)
  652. print('Loaded')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement