Advertisement
Sarah67853

Music player thing

Mar 15th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait()
  2. Allowed=game.Players['Tomppa_Beats'] --Put your name here and run NOT LOCAL
  3. Tabs={}
  4. --
  5. SM=false
  6. SF=false
  7. SP=false
  8. SID="rbxassetid://405893930" --This asset wont play until you choose a new music
  9. --
  10. function Tablet(Txt)
  11. SM=false SF=false SP=false
  12. local Tab=Instance.new('Part',workspace)
  13. Tab.BrickColor=BrickColor.new('Really blue')
  14. Tab.Transparency=0.3
  15. Tab.Anchored=true
  16. Tab.CanCollide=true
  17. Tab.Locked=true
  18. Tab.FormFactor=('Custom')
  19. Tab.Size=Vector3.new(13.1, 8.32, 0.2)
  20. local SO=Instance.new('Sound',Tab)
  21. SO.Pitch=1
  22. SO.Volume=1
  23. SO.SoundId=('')
  24. local Gui=Instance.new('SurfaceGui',Tab)
  25. Gui.CanvasSize=Vector2.new(100,200)
  26. Gui.Face=('Front')
  27. Gui.Name=('ScreenGui')
  28. local MB=Instance.new('ImageButton',Gui)
  29. MB.BackgroundTransparency=1
  30. MB.Position=UDim2.new(0.4,0,0.1,0)
  31. MB.Size=UDim2.new(0.2,0,0.1,0)
  32. MB.Visible=true
  33. MB.Style=('RobloxButton')
  34. MB.ClipsDescendants=true
  35. MB.Name=('Icon')
  36. MB.Image=('rbxassetid://43457352')
  37. local DT=Instance.new('TextButton',Gui)
  38. DT.Size=UDim2.new(1,0,0.1,0)
  39. DT.Position=UDim2.new(0,0,0,0)
  40. DT.Font=('SourceSans')
  41. DT.FontSize=('Size14')
  42. DT.Name=('Dismiss')
  43. DT.Text=('Music Gui')
  44. DT.TextScaled=true
  45. DT.TextWrapped=true
  46. local Frame=Instance.new('ScrollingFrame',Gui)
  47. Frame.BackgroundTransparency=1
  48. Frame.Position=UDim2.new(-1,0,0.2,0)
  49. Frame.Size=UDim2.new(1,0,0.8,0)
  50. Frame.BottomImage=('rbxassetid://156476249')
  51. Frame.CanvasSize=UDim2.new(0,0,3,0)
  52. Frame.MidImage=('rbxassetid://156476256')
  53. Frame.Name=('MainFrame')
  54. Frame.ScrollingEnabled=true
  55. Frame.TopImage=('rbxassetid://156476261')
  56. local gp=Instance.new('TextLabel',Gui)
  57. gp.BackgroundTransparency=1
  58. gp.Position=UDim2.new(0.8,0,0.1,0)
  59. gp.Size=UDim2.new(0.1,0,0.1,0)
  60. gp.Font=('SourceSans')
  61. gp.FontSize=('Size14')
  62. gp.Name=('GetPlayersTextButton')
  63. gp.Text=('P:'..game.Players.NumPlayers)
  64. gp.TextColor3=Color3.new(85,255,0)
  65. gp.TextScaled=false
  66. gp.TextWrapped=false
  67. local Play=Instance.new('ImageButton',Gui)
  68. Play.BackgroundTransparency=1
  69. Play.Image=('rbxassetid://67950784')
  70. Play.Position=UDim2.new(0,0,0.1,0)
  71. Play.Size=UDim2.new(0.2,0,0.1,0)
  72. Play.Name=('PlayButton')
  73. Play.Style=('RobloxButton')
  74. local Mute=Instance.new('ImageButton',Gui)
  75. Mute.BackgroundTransparency=1
  76. Mute.Image=('rbxassetid://68605991')
  77. Mute.Position=UDim2.new(0.2,0,0.1,0)
  78. Mute.Size=UDim2.new(0.2,0,0.1,0)
  79. Mute.Name=('MuteButton')
  80. Mute.Style=('RobloxButton')
  81. -----[[Audio]]------
  82. local A=Instance.new('TextButton',Frame)
  83. A.BackgroundTransparency=1
  84. A.Position=UDim2.new(0,0,0,0)
  85. A.Size=UDim2.new(1,0,0.05,0)
  86. A.Style=('RobloxButton')
  87. A.Font=('SourceSans')
  88. A.FontSize=('Size14')
  89. A.TextColor3=Color3.new(255,0,0)
  90. A.TextScaled=true
  91. A.Text=('Loud jacob s.')
  92. local B=Instance.new('TextButton',Frame)
  93. B.BackgroundTransparency=1
  94. B.Position=UDim2.new(0,0,0.05,0)
  95. B.Size=UDim2.new(1,0,0.05,0)
  96. B.Style=('RobloxButton')
  97. B.Font=('SourceSans')
  98. B.FontSize=('Size14')
  99. B.TextColor3=Color3.new(255,0,0)
  100. B.TextScaled=true
  101. B.Text=('Pablo')
  102. local C=Instance.new('TextButton',Frame)
  103. C.BackgroundTransparency=1
  104. C.Position=UDim2.new(0,0,0.1,0)
  105. C.Size=UDim2.new(1,0,0.05,0)
  106. C.Style=('RobloxButton')
  107. C.Font=('SourceSans')
  108. C.FontSize=('Size14')
  109. C.TextColor3=Color3.new(255,0,0)
  110. C.TextScaled=true
  111. C.Text=('Cena')
  112. local D=Instance.new('TextButton',Frame)
  113. D.BackgroundTransparency=1
  114. D.Position=UDim2.new(0,0,0.15,0)
  115. D.Size=UDim2.new(1,0,0.05,0)
  116. D.Style=('RobloxButton')
  117. D.Font=('SourceSans')
  118. D.FontSize=('Size14')
  119. D.TextColor3=Color3.new(255,0,0)
  120. D.TextScaled=true
  121. D.Text=('kitty')
  122. local E=Instance.new('TextButton',Frame)
  123. E.BackgroundTransparency=1
  124. E.Position=UDim2.new(0,0,0.2,0)
  125. E.Size=UDim2.new(1,0,0.05,0)
  126. E.Style=('RobloxButton')
  127. E.Font=('SourceSans')
  128. E.FontSize=('Size14')
  129. E.TextColor3=Color3.new(255,0,0)
  130. E.TextScaled=true
  131. E.Text=('Jumpman')
  132. local F=Instance.new('TextButton',Frame)
  133. F.BackgroundTransparency=1
  134. F.Position=UDim2.new(0,0,0.25,0)
  135. F.Size=UDim2.new(1,0,0.05,0)
  136. F.Style=('RobloxButton')
  137. F.Font=('SourceSans')
  138. F.FontSize=('Size14')
  139. F.TextColor3=Color3.new(255,0,0)
  140. F.TextScaled=true
  141. F.Text=('Jumpman v2')
  142. local G=Instance.new('TextButton',Frame)
  143. G.BackgroundTransparency=1
  144. G.Position=UDim2.new(0,0,0.3,0)
  145. G.Size=UDim2.new(1,0,0.05,0)
  146. G.Style=('RobloxButton')
  147. G.Font=('SourceSans')
  148. G.FontSize=('Size14')
  149. G.TextColor3=Color3.new(255,0,0)
  150. G.TextScaled=true
  151. G.Text=('Tea')
  152. local H=Instance.new('TextButton',Frame)
  153. H.BackgroundTransparency=1
  154. H.Position=UDim2.new(0,0,0.35,0)
  155. H.Size=UDim2.new(1,0,0.05,0)
  156. H.Style=('RobloxButton')
  157. H.Font=('SourceSans')
  158. H.FontSize=('Size14')
  159. H.TextColor3=Color3.new(255,0,0)
  160. H.TextScaled=true
  161. H.Text=('dont know')
  162. local I=Instance.new('TextButton',Frame)
  163. I.BackgroundTransparency=1
  164. I.Position=UDim2.new(0,0,0.4,0)
  165. I.Size=UDim2.new(1,0,0.05,0)
  166. I.Style=('RobloxButton')
  167. I.Font=('SourceSans')
  168. I.FontSize=('Size14')
  169. I.TextColor3=Color3.new(255,0,0)
  170. I.TextScaled=true
  171. I.Text=('Flight')
  172. local J=Instance.new('TextButton',Frame)
  173. J.BackgroundTransparency=1
  174. J.Position=UDim2.new(0,0,0.45,0)
  175. J.Size=UDim2.new(1,0,0.05,0)
  176. J.Style=('RobloxButton')
  177. J.Font=('SourceSans')
  178. J.FontSize=('Size14')
  179. J.TextColor3=Color3.new(255,0,0)
  180. J.TextScaled=true
  181. J.Text=('Virtul Mashup')
  182. local K=Instance.new('TextButton',Frame)
  183. K.BackgroundTransparency=1
  184. K.Position=UDim2.new(0,0,0.5,0)
  185. K.Size=UDim2.new(1,0,0.05,0)
  186. K.Style=('RobloxButton')
  187. K.Font=('SourceSans')
  188. K.FontSize=('Size14')
  189. K.TextColor3=Color3.new(255,0,0)
  190. K.TextScaled=true
  191. K.Text=('Im A Gummy bear')
  192. local L=Instance.new('TextButton',Frame)
  193. L.BackgroundTransparency=1
  194. L.Position=UDim2.new(0,0,0.55,0)
  195. L.Size=UDim2.new(1,0,0.05,0)
  196. L.Style=('RobloxButton')
  197. L.Font=('SourceSans')
  198. L.FontSize=('Size14')
  199. L.TextColor3=Color3.new(255,0,0)
  200. L.TextScaled=true
  201. L.Text=('Android Dubstep')
  202. local M=Instance.new('TextButton',Frame)
  203. M.BackgroundTransparency=1
  204. M.Position=UDim2.new(0,0,0.6,0)
  205. M.Size=UDim2.new(1,0,0.05,0)
  206. M.Style=('RobloxButton')
  207. M.Font=('SourceSans')
  208. M.FontSize=('Size14')
  209. M.TextColor3=Color3.new(255,0,0)
  210. M.TextScaled=true
  211. M.Text=('Afro Circus')
  212. local N=Instance.new('TextButton',Frame)
  213. N.BackgroundTransparency=1
  214. N.Position=UDim2.new(0,0,0.65,0)
  215. N.Size=UDim2.new(1,0,0.05,0)
  216. N.Style=('RobloxButton')
  217. N.Font=('SourceSans')
  218. N.FontSize=('Size14')
  219. N.TextColor3=Color3.new(255,0,0)
  220. N.TextScaled=true
  221. N.Text=('Big Iron')
  222. local O=Instance.new('TextButton',Frame)
  223. O.BackgroundTransparency=1
  224. O.Position=UDim2.new(0,0,0.7,0)
  225. O.Size=UDim2.new(1,0,0.05,0)
  226. O.Style=('RobloxButton')
  227. O.Font=('SourceSans')
  228. O.FontSize=('Size14')
  229. O.TextColor3=Color3.new(255,0,0)
  230. O.TextScaled=true
  231. O.Text=('Electrode')
  232. local P=Instance.new('TextButton',Frame)
  233. P.BackgroundTransparency=1
  234. P.Position=UDim2.new(0,0,0.75,0)
  235. P.Size=UDim2.new(1,0,0.05,0)
  236. P.Style=('RobloxButton')
  237. P.Font=('SourceSans')
  238. P.FontSize=('Size14')
  239. P.TextColor3=Color3.new(255,0,0)
  240. P.TextScaled=true
  241. P.Text=('Lorde - Royals')
  242. local Q=Instance.new('TextButton',Frame)
  243. Q.BackgroundTransparency=1
  244. Q.Position=UDim2.new(0,0,0.8,0)
  245. Q.Size=UDim2.new(1,0,0.05,0)
  246. Q.Style=('RobloxButton')
  247. Q.Font=('SourceSans')
  248. Q.FontSize=('Size14')
  249. Q.TextColor3=Color3.new(255,0,0)
  250. Q.TextScaled=true
  251. Q.Text=('MAGIC! - Rude')
  252. local R=Instance.new('TextButton',Frame)
  253. R.BackgroundTransparency=1
  254. R.Position=UDim2.new(0,0,0.85,0)
  255. R.Size=UDim2.new(1,0,0.05,0)
  256. R.Style=('RobloxButton')
  257. R.Font=('SourceSans')
  258. R.FontSize=('Size14')
  259. R.TextColor3=Color3.new(255,0,0)
  260. R.TextScaled=true
  261. R.Text=('Im Blue')
  262. local S=Instance.new('TextButton',Frame)
  263. S.BackgroundTransparency=1
  264. S.Position=UDim2.new(0,0,0.9,0)
  265. S.Size=UDim2.new(1,0,0.05,0)
  266. S.Style=('RobloxButton')
  267. S.Font=('SourceSans')
  268. S.FontSize=('Size14')
  269. S.TextColor3=Color3.new(255,0,0)
  270. S.TextScaled=true
  271. S.Text=('IT\'S MY LIFE')
  272. --[[Audio Connections]]--
  273. A.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://442226945') end)
  274. B.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://341935664') end)
  275. C.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://348419669') end)
  276. D.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://348235601') end)
  277. E.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://313928807') end)
  278. F.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://332476168') end)
  279. G.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://378568249') end)
  280. H.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://415044380') end)
  281. I.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://142303063') end)
  282. J.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://145763936') end)
  283. K.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://142281425') end)
  284. L.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://146630034') end)
  285. M.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://163001944') end)
  286. N.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://169267910') end)
  287. O.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://159541485') end)
  288. P.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://144662895') end)
  289. Q.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://161534079') end)
  290. R.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://143502393') end)
  291. S.MouseButton1Click:connect(function() SF=false SID=('rbxassetid://180096824') end)
  292. --
  293. Mute.MouseButton1Click:connect(function() if SM==true then SM=false
  294. else if SM==false then SM=true
  295. end end end)
  296. Play.MouseButton1Click:connect(function() if SP==true then SP=false SC()
  297. else if SP==false then SP=true SC()
  298. end end end)
  299. MB.MouseButton1Click:connect(function() if SF==true then SF=false
  300. else if SF==false then SF=true
  301. end end end)
  302. --[[Settings]]--
  303. game:GetService("RunService").Heartbeat:connect(function()
  304. if SM==true then Mute.Style=('RobloxButtonDefault') SO.Volume=0
  305. else if SM==false then Mute.Style=('RobloxButton') SO.Volume=1
  306. end end end)
  307. function SC()
  308. if SP==true then Play.Style=('RobloxButtonDefault') SO.SoundId=(SID) wait() SO:Play()
  309. else if SP==false then Play.Style=('RobloxButton') SO:Pause()
  310. end end end
  311. game:GetService("RunService").Heartbeat:connect(function()
  312. if SF==true then MB.Style=('RobloxButtonDefault')
  313. Play:TweenPosition(UDim2.new(-1.4,0,0.1,0),'Out','Sine',3,true)
  314. Mute:TweenPosition(UDim2.new(-1.4,0,0.1,0),'Out','Sine',3,true)
  315. MB:TweenPosition(UDim2.new(-0.3,0,0.1,0),'Out','Sine',3,true)
  316. Frame:TweenPosition(UDim2.new(0,0,0.2,0),'Out','Sine',3,true)
  317. else if SF==false then MB.Style=('RobloxButton')
  318. Play:TweenPosition(UDim2.new(0,0,0.1,0),'Out','Sine',3,true)
  319. Mute:TweenPosition(UDim2.new(0.2,0,0.1,0),'Out','Sine',3,true)
  320. MB:TweenPosition(UDim2.new(0.4,0,0.1,0),'Out','Sine',3,true)
  321. Frame:TweenPosition(UDim2.new(-1.3,0,0.1,0),'Out','Sine',3,true)
  322. end end end)
  323. --
  324. table.insert(Tabs,{Tab=Tab})
  325. end
  326. --[[ScreenGui]]--
  327. local sc=Instance.new('ScreenGui')
  328. local TextButton=Instance.new('TextButton',sc)
  329. TextButton.Position=UDim2.new(0.9,0,0.7,0)
  330. TextButton.Size=UDim2.new(0.1,0,0.1,0)
  331. TextButton.Style=('RobloxButton')
  332. TextButton.Draggable=true
  333. TextButton.Font=('SourceSans')
  334. TextButton.FontSize=('Size14')
  335. TextButton.Text=('Open Cmds')
  336. TextButton.TextColor3=Color3.new(255,255,0)
  337. sc.Parent=(Allowed:FindFirstChild('PlayerGui'))
  338. sc:Clone().Parent=(game.StarterGui)
  339. TextButton.MouseButton1Click:connect(function(Pl) Tablet() end)
  340. --
  341. Rot=0
  342. game:GetService("RunService").Heartbeat:connect(function()
  343. Rot=Rot+0.0001
  344. pcall(function()
  345. for i = 1, #Tabs do
  346. pcall(function()
  347. position = Allowed.Character.Head.CFrame
  348. end)
  349. local radius = 7 + (#Tabs * 0.8)
  350. x = math.cos((i / #Tabs - (1.5 / #Tabs) + Rot * 2) * math.pi * 2) * radius
  351. y = 0
  352. z = math.sin((i / #Tabs - (1.5 / #Tabs) + Rot * 2) * math.pi * 2) * radius
  353. pcall(function()
  354. tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
  355. end)
  356. pcall(function()
  357. Tabs[i].Tab.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(5),0,0)
  358. end)
  359. end
  360. end)
  361. end)
  362.  
  363. Tablet()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement