Advertisement
Shocker130000

Test

May 27th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.95 KB | None | 0 0
  1. -- By shocker
  2. -- for Hex Tabs
  3. -- Also by me
  4.  
  5. -- Objects
  6.  
  7. local HexTabsMusicPlayer = Instance.new("ScreenGui")
  8. local Framelol2 = Instance.new("Frame")
  9. local mselect = Instance.new("TextButton")
  10. local mbox = Instance.new("TextBox")
  11. local Volumes = Instance.new("TextBox")
  12. local Pitchs = Instance.new("TextBox")
  13. local Looping = Instance.new("TextBox")
  14. local Close = Instance.new("TextButton")
  15. local Songs = Instance.new("TextButton")
  16. local PlayerFrame = Instance.new("ScrollingFrame")
  17. local StressedOut = Instance.new("TextButton")
  18. local RobloxGodsplan = Instance.new("TextButton")
  19. local NoTearsLeftToCry = Instance.new("TextButton")
  20. local FeelingtheNight = Instance.new("TextButton")
  21. local RobotLove = Instance.new("TextButton")
  22. local MilaJ = Instance.new("TextButton")
  23. local DaRichKidzz = Instance.new("TextButton")
  24. local NerosDay = Instance.new("TextButton")
  25. local AestsFIGHT = Instance.new("TextButton")
  26. local MiGente = Instance.new("TextButton")
  27. local CloseFrame = Instance.new("TextButton")
  28. local Frame = Instance.new("Frame")
  29. local TextLabel = Instance.new("TextLabel")
  30. local TextLabel_2 = Instance.new("TextLabel")
  31. local TextLabel_3 = Instance.new("TextLabel")
  32. local TextLabel_4 = Instance.new("TextLabel")
  33. local StopM = Instance.new("TextButton")
  34. local s = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  35. local f = Instance.new("Frame", s)
  36. local mselect = Instance.new("TextButton", f)
  37. local mbox = Instance.new("TextBox", f)
  38. local toggle = false
  39. local Player = game.Players.LocalPlayer
  40. local Character = Player.Character
  41. -- Properties
  42.  
  43. HexTabsMusicPlayer.Name = "HexTabsMusicPlayer"
  44. HexTabsMusicPlayer.Parent = game.Players.LocalPlayer.PlayerGui
  45.  
  46. Framelol2.Name = "Framelol2"
  47. Framelol2.Parent = HexTabsMusicPlayer
  48. Framelol2.Active = true
  49. Framelol2.BackgroundColor3 = Color3.new(1, 0, 0)
  50. Framelol2.Position = UDim2.new(1, 20, 0.324999988, 0)
  51. Framelol2.Selectable = true
  52. Framelol2.Size = UDim2.new(0, 461, 0, 329)
  53. Framelol2.Visible = false
  54.  
  55. mselect.Name = "mselect"
  56. mselect.Parent = Framelol2
  57. mselect.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  58. mselect.Position = UDim2.new(0.310056865, 0, 0.866692424, 0)
  59. mselect.Size = UDim2.new(0, 184, 0, 34)
  60. mselect.Font = Enum.Font.Code
  61. mselect.Text = "Play"
  62. mselect.TextColor3 = Color3.new(1, 0.0745098, 0.0745098)
  63. mselect.TextSize = 20
  64.  
  65. mbox.Name = "mbox"
  66. mbox.Parent = Framelol2
  67. mbox.BackgroundColor3 = Color3.new(0, 0, 0)
  68. mbox.Position = UDim2.new(0.311141461, 0, 0.109151013, 0)
  69. mbox.Size = UDim2.new(0, 184, 0, 27)
  70. mbox.Font = Enum.Font.Code
  71. mbox.PlaceholderText = "Song ID"
  72. mbox.Text = "Song ID"
  73. mbox.TextColor3 = Color3.new(1, 0.0509804, 0.0196078)
  74. mbox.TextSize = 17
  75.  
  76. Volumes.Name = "Volumes"
  77. Volumes.Parent = Framelol2
  78. Volumes.BackgroundColor3 = Color3.new(0, 0, 0)
  79. Volumes.Position = UDim2.new(0, 0, 0.358662605, 0)
  80. Volumes.Size = UDim2.new(0, 143, 0, 27)
  81. Volumes.Font = Enum.Font.Code
  82. Volumes.PlaceholderText = "10"
  83. Volumes.Text = "10"
  84. Volumes.TextColor3 = Color3.new(1, 0.0509804, 0.0196078)
  85. Volumes.TextSize = 17
  86.  
  87. wait(0.5)
  88. Framelol2:TweenPosition(UDim2.new(0.435,0,0.293,0), 'Out', 'Quad', 3)
  89.  
  90. Pitchs.Name = "Pitchs"
  91. Pitchs.Parent = Framelol2
  92. Pitchs.BackgroundColor3 = Color3.new(0, 0, 0)
  93. Pitchs.Position = UDim2.new(0.715835154, 0, 0.358662605, 0)
  94. Pitchs.Size = UDim2.new(0, 131, 0, 27)
  95. Pitchs.Font = Enum.Font.Code
  96. Pitchs.PlaceholderText = "1"
  97. Pitchs.Text = "1"
  98. Pitchs.TextColor3 = Color3.new(1, 0.0509804, 0.0196078)
  99. Pitchs.TextSize = 17
  100.  
  101. Looping.Name = "Looping"
  102. Looping.Parent = Framelol2
  103. Looping.BackgroundColor3 = Color3.new(0, 0, 0)
  104. Looping.Position = UDim2.new(0.275488079, 0, 0.565349519, 0)
  105. Looping.Size = UDim2.new(0, 220, 0, 27)
  106. Looping.Font = Enum.Font.Code
  107. Looping.PlaceholderText = "true"
  108. Looping.Text = "true"
  109. Looping.TextColor3 = Color3.new(1, 0.0509804, 0.0196078)
  110. Looping.TextSize = 17
  111.  
  112. Close.Name = "Close"
  113. Close.Parent = Framelol2
  114. Close.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  115. Close.Position = UDim2.new(0.95227766, 0, 0, 0)
  116. Close.Size = UDim2.new(0, 22, 0, 16)
  117. Close.Font = Enum.Font.Code
  118. Close.Text = "X"
  119. Close.TextColor3 = Color3.new(1, 0.0745098, 0.0745098)
  120. Close.TextSize = 20
  121. StressedOut.MouseButton1Click:connect(function()
  122. Framelol2.Visible = true
  123. end)
  124. Songs.Name = "Songs"
  125. Songs.Parent = Framelol2
  126. Songs.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  127. Songs.Position = UDim2.new(0, 0, 0.729483306, 0)
  128. Songs.Size = UDim2.new(0, 461, 0, 27)
  129. Songs.Font = Enum.Font.Code
  130. Songs.Text = "Song List"
  131. Songs.TextColor3 = Color3.new(1, 0.0745098, 0.0745098)
  132. Songs.TextSize = 20
  133.  
  134. PlayerFrame.Name = "PlayerFrame"
  135. PlayerFrame.Parent = Framelol2
  136. PlayerFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  137. PlayerFrame.Position = UDim2.new(0.989153981, 0, 0, 0)
  138. PlayerFrame.Size = UDim2.new(0, 138, 0, 329)
  139. PlayerFrame.Visible = false
  140.  
  141. StressedOut.Name = "StressedOut"
  142. StressedOut.Parent = PlayerFrame
  143. StressedOut.BackgroundColor3 = Color3.new(1, 1, 1)
  144. StressedOut.Position = UDim2.new(0, 0, 0.166530237, 0)
  145. StressedOut.Size = UDim2.new(0, 124, 0, 26)
  146. StressedOut.Font = Enum.Font.SourceSans
  147. StressedOut.Text = "Stressed Out"
  148. StressedOut.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  149. StressedOut.TextSize = 14
  150. StressedOut.MouseButton1Click:connect(function()
  151. mbox.Text = "437141803"
  152. end)
  153. RobloxGodsplan.Name = "RobloxGodsplan"
  154. RobloxGodsplan.Parent = PlayerFrame
  155. RobloxGodsplan.BackgroundColor3 = Color3.new(1, 1, 1)
  156. RobloxGodsplan.Position = UDim2.new(0, 0, 0.227263063, 0)
  157. RobloxGodsplan.Size = UDim2.new(0, 124, 0, 26)
  158. RobloxGodsplan.Font = Enum.Font.SourceSans
  159. RobloxGodsplan.Text = "Drake - God's Plan"
  160. RobloxGodsplan.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  161. RobloxGodsplan.TextSize = 14
  162. RobloxGodsplan.MouseButton1Click:connect(function()
  163. mbox.Text = "1479998427"
  164. end)
  165. NoTearsLeftToCry.Name = "NoTearsLeftToCry"
  166. NoTearsLeftToCry.Parent = PlayerFrame
  167. NoTearsLeftToCry.BackgroundColor3 = Color3.new(1, 1, 1)
  168. NoTearsLeftToCry.Position = UDim2.new(0, 0, 0.287546724, 0)
  169. NoTearsLeftToCry.Size = UDim2.new(0, 124, 0, 26)
  170. NoTearsLeftToCry.Font = Enum.Font.SourceSans
  171. NoTearsLeftToCry.Text = "No Tears Left To Cry"
  172. NoTearsLeftToCry.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  173. NoTearsLeftToCry.TextSize = 14
  174. NoTearsLeftToCry.MouseButton1Click:connect(function()
  175. mbox.Text = "1644305993"
  176. end)
  177. FeelingtheNight.Name = "FeelingtheNight"
  178. FeelingtheNight.Parent = PlayerFrame
  179. FeelingtheNight.BackgroundColor3 = Color3.new(1, 1, 1)
  180. FeelingtheNight.Position = UDim2.new(0, 0, 0.354922593, 0)
  181. FeelingtheNight.Size = UDim2.new(0, 124, 0, 26)
  182. FeelingtheNight.Font = Enum.Font.SourceSans
  183. FeelingtheNight.Text = "Feeling the Night"
  184. FeelingtheNight.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  185. FeelingtheNight.TextSize = 14
  186. FeelingtheNight.MouseButton1Click:connect(function()
  187. mbox.Text = "176406437"
  188. end)
  189. RobotLove.Name = "RobotLove"
  190. RobotLove.Parent = PlayerFrame
  191. RobotLove.BackgroundColor3 = Color3.new(1, 1, 1)
  192. RobotLove.Position = UDim2.new(0, 0, 0.422298491, 0)
  193. RobotLove.Size = UDim2.new(0, 124, 0, 26)
  194. RobotLove.Font = Enum.Font.SourceSans
  195. RobotLove.Text = "Klaypex - Robot Love"
  196. RobotLove.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  197. RobotLove.TextSize = 14
  198. RobotLove.MouseButton1Click:connect(function()
  199. mbox.Text = "294544972"
  200. end)
  201. MilaJ.Name = "MilaJ"
  202. MilaJ.Parent = PlayerFrame
  203. MilaJ.BackgroundColor3 = Color3.new(1, 1, 1)
  204. MilaJ.Position = UDim2.new(0, 0, 0.493220508, 0)
  205. MilaJ.Size = UDim2.new(0, 124, 0, 26)
  206. MilaJ.Font = Enum.Font.SourceSans
  207. MilaJ.Text = "Mila J - Kickin Back"
  208. MilaJ.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  209. MilaJ.TextSize = 14
  210. MilaJ.MouseButton1Click:connect(function()
  211. mbox.Text = "617032224"
  212. end)
  213. DaRichKidzz.Name = "DaRichKidzz"
  214. DaRichKidzz.Parent = PlayerFrame
  215. DaRichKidzz.BackgroundColor3 = Color3.new(1, 1, 1)
  216. DaRichKidzz.Position = UDim2.new(0, 0, 0.567688584, 0)
  217. DaRichKidzz.Size = UDim2.new(0, 124, 0, 26)
  218. DaRichKidzz.Font = Enum.Font.SourceSans
  219. DaRichKidzz.Text = "Da Rich Kidzz"
  220. DaRichKidzz.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  221. DaRichKidzz.TextSize = 14
  222. DaRichKidzz.MouseButton1Click:connect(function()
  223. mbox.Text = "326797013"
  224. end)
  225. NerosDay.Name = "NerosDay"
  226. NerosDay.Parent = PlayerFrame
  227. NerosDay.BackgroundColor3 = Color3.new(1, 1, 1)
  228. NerosDay.Position = UDim2.new(0, 0, 0.635221064, 0)
  229. NerosDay.Size = UDim2.new(0, 124, 0, 26)
  230. NerosDay.Font = Enum.Font.SourceSans
  231. NerosDay.Text = "Nero's DayAtDisneyland"
  232. NerosDay.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  233. NerosDay.TextSize = 14
  234. NerosDay.MouseButton1Click:connect(function()
  235. mbox.Text = "885996042"
  236. end)
  237.  
  238. AestsFIGHT.Name = "AestsFIGHT!"
  239. AestsFIGHT.Parent = PlayerFrame
  240. AestsFIGHT.BackgroundColor3 = Color3.new(1, 1, 1)
  241. AestsFIGHT.Position = UDim2.new(0, 0, 0.702753544, 0)
  242. AestsFIGHT.Size = UDim2.new(0, 124, 0, 26)
  243. AestsFIGHT.Font = Enum.Font.SourceSans
  244. AestsFIGHT.Text = "Aests - FIGHT!"
  245. AestsFIGHT.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  246. AestsFIGHT.TextSize = 14
  247. AestsFIGHT.MouseButton1Click:connect(function()
  248. mbox.Text = "493647101"
  249. end)
  250. MiGente.Name = "MiGente"
  251. MiGente.Parent = PlayerFrame
  252. MiGente.BackgroundColor3 = Color3.new(1, 1, 1)
  253. MiGente.Position = UDim2.new(0, 0, 0.766533673, 0)
  254. MiGente.Size = UDim2.new(0, 124, 0, 26)
  255. MiGente.Font = Enum.Font.SourceSans
  256. MiGente.Text = "Mi Gente"
  257. MiGente.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  258. MiGente.TextSize = 14
  259. MiGente.MouseButton1Click:connect(function()
  260. mbox.Text = "1074851592"
  261. end)
  262. CloseFrame.Name = "CloseFrame"
  263. CloseFrame.Parent = PlayerFrame
  264. CloseFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  265. CloseFrame.Position = UDim2.new(0, 0, 0.0020397827, 0)
  266. CloseFrame.Size = UDim2.new(0, 124, 0, 26)
  267. CloseFrame.Font = Enum.Font.SourceSans
  268. CloseFrame.Text = "CloseFrame"
  269. CloseFrame.TextColor3 = Color3.new(1, 0.27451, 0.054902)
  270. CloseFrame.TextSize = 14
  271. CloseFrame.MouseButton1Click:connect(function()
  272. PlayerFrame.Visible = false
  273. end)
  274. Frame.Parent = Framelol2
  275. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  276. Frame.Size = UDim2.new(0, 439, 0, 16)
  277.  
  278. TextLabel.Parent = Frame
  279. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  280. TextLabel.BackgroundTransparency = 1
  281. TextLabel.Size = UDim2.new(0, 431, 0, 16)
  282. TextLabel.Font = Enum.Font.SourceSans
  283. TextLabel.Text = "Welcome To Hex Tabs Music player"
  284. TextLabel.TextColor3 = Color3.new(0.690196, 0.14902, 0.0156863)
  285. TextLabel.TextSize = 20
  286.  
  287. TextLabel_2.Parent = Framelol2
  288. TextLabel_2.BackgroundColor3 = Color3.new(1, 0, 0)
  289. TextLabel_2.BorderSizePixel = 0
  290. TextLabel_2.Position = UDim2.new(0.0238611717, 0, 0.270516723, 0)
  291. TextLabel_2.Size = UDim2.new(0, 121, 0, 23)
  292. TextLabel_2.Font = Enum.Font.SourceSans
  293. TextLabel_2.Text = "Volume"
  294. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  295. TextLabel_2.TextSize = 20
  296.  
  297. TextLabel_3.Parent = Framelol2
  298. TextLabel_3.BackgroundColor3 = Color3.new(1, 0, 0)
  299. TextLabel_3.BorderSizePixel = 0
  300. TextLabel_3.Position = UDim2.new(0.726681113, 0, 0.270516723, 0)
  301. TextLabel_3.Size = UDim2.new(0, 121, 0, 23)
  302. TextLabel_3.Font = Enum.Font.SourceSans
  303. TextLabel_3.Text = "Pitch"
  304. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  305. TextLabel_3.TextSize = 20
  306.  
  307. TextLabel_4.Parent = Framelol2
  308. TextLabel_4.BackgroundColor3 = Color3.new(1, 0, 0)
  309. TextLabel_4.BorderSizePixel = 0
  310. TextLabel_4.Position = UDim2.new(0.382863313, 0, 0.465045601, 0)
  311. TextLabel_4.Size = UDim2.new(0, 121, 0, 23)
  312. TextLabel_4.Font = Enum.Font.SourceSans
  313. TextLabel_4.Text = "Looping?"
  314. TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
  315. TextLabel_4.TextSize = 20
  316.  
  317. StopM.Name = "StopM"
  318. StopM.Parent = Framelol2
  319. StopM.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  320. StopM.Position = UDim2.new(0.535653412, 0, 0.866692424, 0)
  321. StopM.Size = UDim2.new(0, 184, 0, 34)
  322. StopM.Font = Enum.Font.Code
  323. StopM.Text = "Stop"
  324. StopM.TextColor3 = Color3.new(1, 0.0745098, 0.0745098)
  325. StopM.TextSize = 20
  326.  
  327. -- Scripts
  328. ----------Title
  329. Player=game:GetService("Players").LocalPlayer
  330. -----------------------------------------------------------------
  331. local p = game.Players.LocalPlayer
  332. local char = p.Character
  333. local head = char.Head
  334. local torso = char.Torso
  335. local txt = Instance.new("BillboardGui", char)
  336. txt.Adornee = char.Head
  337. txt.Name = "Name"
  338. txt.Size = UDim2.new(2, 0, 1.2, 0)
  339. txt.StudsOffset = Vector3.new(-9, 8, 0)
  340. local text = Instance.new("TextLabel", txt)
  341. text.Size = UDim2.new(10, 0, 7, 0)
  342. text.FontSize = "Size24"
  343. text.TextScaled = true
  344. text.TextTransparency = 0
  345. text.BackgroundTransparency = 1
  346. text.TextTransparency = 0
  347. text.TextStrokeTransparency = 0
  348. text.Font = "Arcade"
  349. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  350. text.Text = "Hex Tabs Music Player"
  351.  
  352.  
  353.  
  354.  
  355.  
  356. ---------------------------------------------------------------
  357. CloseFrame.MouseButton1Click:connect(function()
  358. PlayerFrame.Visible = false
  359. end)
  360.  
  361. Songs.MouseButton1Click:connect(function()
  362. PlayerFrame.Visible = true
  363. end)
  364. --------------------------------------------------------------
  365.  
  366. mselect.MouseButton1Click:connect(function()
  367. currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(mbox.Text)).Name
  368. text.Text = "Hex Tabs Now Playing: "..currentsong
  369. wait(4)
  370. text.Text = "Hex Tabs Music Player"
  371. end)
  372.  
  373. mselect.MouseButton1Click:connect(function()
  374. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge -- this is god
  375. if toggle == false then
  376. loadPart()
  377. toggle = true
  378. elseif toggle == true then
  379. loadPart()
  380. toggle = false
  381. end
  382. end)
  383.  
  384. function loadPart()
  385. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  386. if v.Name == "MusicItem" and v.ClassName == "Part" then
  387. v:Remove()
  388. end
  389. end
  390. local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
  391. Part.CanCollide = false
  392. Part.Shape = "Block"
  393. Part.Anchored = false
  394. Part.Locked = true
  395. Part.Name = "MusicItem"
  396. Part.Transparency = 0
  397. Part.Material = "Neon"
  398. local CylinderMesh = Instance.new("CylinderMesh", Part)
  399.  
  400. Player=game:GetService("Players").LocalPlayer
  401. -----------------------------------------------------------------
  402. local p = game.Players.LocalPlayer
  403. local char = p.Character
  404. local torso = char.Torso
  405.  
  406. local Sound = Instance.new("Sound", Character)
  407. Sound.SoundId = "https://www.roblox.com/asset/?id="..mbox.Text
  408. Sound.EmitterSize = math.huge
  409. Sound.MaxDistance = math.huge
  410. Sound.Looped = Looping.Text
  411. Sound.Pitch = Pitchs.Text
  412. Sound.Name = "Sound"
  413. Sound.Volume = Volumes.Text
  414. Sound:Play()
  415.  
  416. StopM.MouseButton1Click:connect(function()
  417. Sound:Stop()
  418. end)
  419.  
  420. Part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position) * CFrame.new(0,-2.9,0)
  421. local bp = Instance.new("BodyPosition", Part)
  422. bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, -2.9, 0).p
  423. bp.MaxForce = Vector3.new(10000,10000,10000)
  424. bp.P = 100000
  425.  
  426. while true do
  427. bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, -2.9, 0).p
  428. local alg = math.floor(Sound.PlaybackLoudness)/40
  429. CylinderMesh.Scale = Vector3.new(.6+alg,.2,.6+alg)
  430. Part.BrickColor = BrickColor.Random()
  431. wait()
  432. text.TextColor3 = Color3.new(math.random(), math.random(), math.random())
  433.  
  434. end
  435. end
  436.  
  437. Framelol2.Visible = true
  438. Framelol2.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement