Advertisement
Guest User

Roblox Music GUI (fixed)

a guest
Feb 11th, 2018
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.86 KB | None | 0 0
  1. -- Objects
  2.  
  3. local MusicGUI = Instance.new("ScreenGui")
  4. local Hoster = Instance.new("Frame")
  5. local Credit = Instance.new("TextLabel")
  6. local MusicDisplay = Instance.new("TextLabel")
  7. local Flute = Instance.new("TextButton")
  8. local Credit2 = Instance.new("TextLabel")
  9. local Close = Instance.new("TextButton")
  10. local Screaming = Instance.new("TextButton")
  11. local Mario = Instance.new("TextButton")
  12. local Goof = Instance.new("TextButton")
  13. local Super_Sayin = Instance.new("TextButton")
  14. local Pokemon = Instance.new("TextButton")
  15. local Siren = Instance.new("TextButton")
  16. local Thanks = Instance.new("TextLabel")
  17. local OpenHost = Instance.new("Frame")
  18. local Open = Instance.new("TextButton")
  19.  
  20. -- Properties
  21.  
  22. MusicGUI.Name = "MusicGUI"
  23. MusicGUI.Parent = game.CoreGui
  24.  
  25. Hoster.Name = "Hoster"
  26. Hoster.Parent = MusicGUI
  27. Hoster.Active = true
  28. Hoster.BackgroundColor3 = Color3.new(0.278431, 0.596078, 0.141176)
  29. Hoster.Position = UDim2.new(-1, 0, 0, 0)
  30. Hoster.Size = UDim2.new(0, 268, 0, 432)
  31.  
  32. Credit.Name = "Credit"
  33. Credit.Parent = Hoster
  34. Credit.BackgroundColor3 = Color3.new(0.745098, 0.831373, 0.839216)
  35. Credit.Position = UDim2.new(-0.0354477614, 0, -0.0740740746, 0)
  36. Credit.Size = UDim2.new(0, 287, 0, 26)
  37. Credit.Font = Enum.Font.Highway
  38. Credit.Text = "Designed and scripted by Velixian#4721"
  39. Credit.TextColor3 = Color3.new(0.529412, 0.235294, 0.027451)
  40. Credit.TextScaled = true
  41. Credit.TextSize = 14
  42. Credit.TextWrapped = true
  43.  
  44. MusicDisplay.Name = "MusicDisplay"
  45. MusicDisplay.Parent = Hoster
  46. MusicDisplay.BackgroundColor3 = Color3.new(0.298039, 1, 0.321569)
  47. MusicDisplay.Position = UDim2.new(0.0261194035, 0, 0.013888889, 0)
  48. MusicDisplay.Size = UDim2.new(0, 255, 0, 20)
  49. MusicDisplay.Font = Enum.Font.Fantasy
  50. MusicDisplay.Text = "Music"
  51. MusicDisplay.TextScaled = true
  52. MusicDisplay.TextSize = 14
  53. MusicDisplay.TextWrapped = true
  54.  
  55. Flute.Name = "Flute"
  56. Flute.Parent = Hoster
  57. Flute.BackgroundColor3 = Color3.new(0.27451, 0.345098, 1)
  58. Flute.Position = UDim2.new(0.055970151, 0, 0.0856481493, 0)
  59. Flute.Size = UDim2.new(0, 239, 0, 36)
  60. Flute.Font = Enum.Font.Arial
  61. Flute.Text = "Loud flute"
  62. Flute.TextScaled = true
  63. Flute.TextSize = 14
  64. Flute.TextWrapped = true
  65.  
  66. Credit2.Name = "Credit2"
  67. Credit2.Parent = Hoster
  68. Credit2.BackgroundColor3 = Color3.new(1, 1, 1)
  69. Credit2.BackgroundTransparency = 1
  70. Credit2.Position = UDim2.new(0, 0, 1.02083337, 0)
  71. Credit2.Size = UDim2.new(0, 268, 0, 22)
  72. Credit2.Font = Enum.Font.Cartoon
  73. Credit2.Text = "Credits to all the songs and their respective owners"
  74. Credit2.TextColor3 = Color3.new(0.192157, 0.101961, 0.701961)
  75. Credit2.TextScaled = true
  76. Credit2.TextSize = 14
  77. Credit2.TextWrapped = true
  78.  
  79. Close.Name = "Close"
  80. Close.Parent = Hoster
  81. Close.BackgroundColor3 = Color3.new(1, 0, 0)
  82. Close.Position = UDim2.new(1, 0, 0, 0)
  83. Close.Size = UDim2.new(0, 23, 0, 26)
  84. Close.Font = Enum.Font.SourceSans
  85. Close.Text = "X"
  86. Close.TextColor3 = Color3.new(0, 0, 0)
  87. Close.TextScaled = true
  88. Close.TextSize = 14
  89. Close.TextWrapped = true
  90.  
  91. Screaming.Name = "Screaming"
  92. Screaming.Parent = Hoster
  93. Screaming.BackgroundColor3 = Color3.new(0.313726, 1, 0.427451)
  94. Screaming.Position = UDim2.new(0.0541044809, 0, 0.185185194, 0)
  95. Screaming.Size = UDim2.new(0, 239, 0, 37)
  96. Screaming.Font = Enum.Font.Arial
  97. Screaming.Text = "Kid raging"
  98. Screaming.TextScaled = true
  99. Screaming.TextSize = 14
  100. Screaming.TextWrapped = true
  101.  
  102. Mario.Name = "Mario"
  103. Mario.Parent = Hoster
  104. Mario.BackgroundColor3 = Color3.new(0.32549, 0.584314, 0.407843)
  105. Mario.Position = UDim2.new(0.0578358248, 0, 0.289351881, 0)
  106. Mario.Size = UDim2.new(0, 239, 0, 37)
  107. Mario.Font = Enum.Font.Arial
  108. Mario.Text = "Loud Mario"
  109. Mario.TextScaled = true
  110. Mario.TextSize = 14
  111. Mario.TextWrapped = true
  112.  
  113. Goof.Name = "Goof"
  114. Goof.Parent = Hoster
  115. Goof.BackgroundColor3 = Color3.new(0.333333, 0.560784, 0.14902)
  116. Goof.Position = UDim2.new(0.0578358211, 0, 0.398148149, 0)
  117. Goof.Size = UDim2.new(0, 239, 0, 39)
  118. Goof.Font = Enum.Font.Arial
  119. Goof.Text = "Goofy goober"
  120. Goof.TextScaled = true
  121. Goof.TextSize = 14
  122. Goof.TextWrapped = true
  123.  
  124. Super_Sayin.Name = "Super_Sayin"
  125. Super_Sayin.Parent = Hoster
  126. Super_Sayin.BackgroundColor3 = Color3.new(0.0627451, 0.4, 0.219608)
  127. Super_Sayin.Position = UDim2.new(0.0541044809, 0, 0.51157403, 0)
  128. Super_Sayin.Size = UDim2.new(0, 239, 0, 40)
  129. Super_Sayin.Font = Enum.Font.Arial
  130. Super_Sayin.Text = "Super sayin"
  131. Super_Sayin.TextScaled = true
  132. Super_Sayin.TextSize = 14
  133. Super_Sayin.TextWrapped = true
  134.  
  135. Pokemon.Name = "Pokemon"
  136. Pokemon.Parent = Hoster
  137. Pokemon.BackgroundColor3 = Color3.new(0.658824, 0.635294, 1)
  138. Pokemon.Position = UDim2.new(0.0541044772, 0, 0.634259284, 0)
  139. Pokemon.Size = UDim2.new(0, 239, 0, 41)
  140. Pokemon.Font = Enum.Font.Arial
  141. Pokemon.Text = "Pokemon Go loud"
  142. Pokemon.TextScaled = true
  143. Pokemon.TextSize = 14
  144. Pokemon.TextWrapped = true
  145.  
  146. Siren.Name = "Siren"
  147. Siren.Parent = Hoster
  148. Siren.BackgroundColor3 = Color3.new(0, 0, 0)
  149. Siren.Position = UDim2.new(0.0597014911, 0, 0.756944418, 0)
  150. Siren.Size = UDim2.new(0, 239, 0, 42)
  151. Siren.Font = Enum.Font.Arial
  152. Siren.Text = "Loud siren"
  153. Siren.TextScaled = true
  154. Siren.TextSize = 14
  155. Siren.TextWrapped = true
  156.  
  157. Thanks.Name = "Thanks"
  158. Thanks.Parent = Hoster
  159. Thanks.BackgroundColor3 = Color3.new(1, 1, 1)
  160. Thanks.BackgroundTransparency = 1
  161. Thanks.Position = UDim2.new(0.0597014874, 0, 0.94907403, 0)
  162. Thanks.Size = UDim2.new(0, 200, 0, 17)
  163. Thanks.Font = Enum.Font.Code
  164. Thanks.Text = "Thanks for using!"
  165. Thanks.TextColor3 = Color3.new(0.0392157, 0.207843, 0.0509804)
  166. Thanks.TextSize = 14
  167.  
  168. OpenHost.Name = "OpenHost"
  169. OpenHost.Parent = MusicGUI
  170. OpenHost.BackgroundColor3 = Color3.new(0, 0, 0)
  171. OpenHost.BackgroundTransparency = 0.69999998807907
  172. OpenHost.Position = UDim2.new(0, 0, 0.485893428, 0)
  173. OpenHost.Size = UDim2.new(0, 122, 0, 31)
  174.  
  175. Open.Name = "Open"
  176. Open.Parent = OpenHost
  177. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  178. Open.BackgroundTransparency = 1
  179. Open.Position = UDim2.new(0.0573770478, 0, 0.112903222, 0)
  180. Open.Size = UDim2.new(0, 108, 0, 24)
  181. Open.Font = Enum.Font.SourceSans
  182. Open.Text = "Open"
  183. Open.TextColor3 = Color3.new(1, 1, 1)
  184. Open.TextScaled = true
  185. Open.TextSize = 14
  186. Open.TextWrapped = true
  187.  
  188. game.CoreGui.MusicGUI.OpenHost.Open.MouseButton1Click:connect(function()
  189. local yut = game.CoreGui.MusicGUI.OpenHost
  190. yut:TweenPosition(UDim2.new(-1,0,0,0), "In", "Quart")
  191. local try = game.CoreGui.MusicGUI.Hoster
  192. try:TweenPosition(UDim2.new(0.687, 0 ,0.101, 0), "In", "Quart")
  193. end)
  194.  
  195. game.CoreGui.MusicGUI.Hoster.Flute.MouseButton1Click:connect(function()
  196. local sound = Instance.new('Sound')
  197. sound.Parent = game.Workspace
  198. sound.SoundId = "http://www.roblox.com/asset/?id=432739893"
  199. sound.Name = "Vel"
  200. sound.PlaybackSpeed = 1
  201. sound.Looped = false
  202. sound.Playing = true
  203. sound:Play()
  204. end)
  205.  
  206. game.CoreGui.MusicGUI.Hoster.Close.MouseButton1Click:connect(function()
  207. local hep = game.CoreGui.MusicGUI.Hoster
  208. hep:TweenPosition(UDim2.new(-1,0,0,0), "In", "Quart")
  209. local yui = game.CoreGui.MusicGUI.OpenHost
  210. yui:TweenPosition(UDim2.new(0, 0, 0.486, 0), "In", "Quart")
  211. end)
  212.  
  213. game.CoreGui.MusicGUI.Hoster.Screaming.MouseButton1Click:connect(function()
  214. local sound2 = Instance.new('Sound')
  215. sound2.Parent = game.Workspace
  216. sound2.SoundId = "http://www.roblox.com/asset/?id=316891313"
  217. sound2.Name = "Vel"
  218. sound2.PlaybackSpeed = 1
  219. sound2.Looped = false
  220. sound2.Playing = true
  221. sound2:Play()
  222. end)
  223.  
  224. game.CoreGui.MusicGUI.Hoster.Mario.MouseButton1Click:connect(function()
  225. local sound3 = Instance.new('Sound')
  226. sound3.Parent = game.Workspace
  227. sound3.SoundId = "http://www.roblox.com/asset/?id=442897621"
  228. sound3.Name = "Vel"
  229. sound3.PlaybackSpeed = 1
  230. sound3.Looped = false
  231. sound3.Playing = true
  232. sound3:Play()
  233. end)
  234.  
  235. game.CoreGui.MusicGUI.Hoster.Goof.MouseButton1Click:connect(function()
  236. local sound4 = Instance.new('Sound')
  237. sound4.Parent = game.Workspace
  238. sound4.SoundId = "http://www.roblox.com/asset/?id=427802096"
  239. sound4.Name = "Vel"
  240. sound4.PlaybackSpeed = 1
  241. sound4.Looped = false
  242. sound4.Playing = true
  243. sound4:Play()
  244. end)
  245.  
  246. game.CoreGui.MusicGUI.Hoster.Super_Sayin.MouseButton1Click:connect(function()
  247. local sound5 = Instance.new('Sound')
  248. sound5.Parent = game.Workspace
  249. sound5.SoundId = "http://www.roblox.com/asset/?id=299036312"
  250. sound5.Name = "Vel"
  251. sound5.PlaybackSpeed = 1
  252. sound5.Looped = false
  253. sound5.Playing = true
  254. sound5:Play()
  255. end)
  256.  
  257. game.CoreGui.MusicGUI.Hoster.Pokemon.MouseButton1Click:connect(function()
  258. local sound6 = Instance.new('Sound')
  259. sound6.Parent = game.Workspace
  260. sound6.SoundId = "http://www.roblox.com/asset/?id=487669235"
  261. sound6.Name = "Vel"
  262. sound6.PlaybackSpeed = 1
  263. sound6.Looped = false
  264. sound6.Playing = true
  265. sound6:Play()
  266. end)
  267.  
  268. game.CoreGui.MusicGUI.Hoster.Siren.MouseButton1Click:connect(function()
  269. local sound7 = Instance.new('Sound')
  270. sound7.Parent = game.Workspace
  271. sound7.SoundId = "http://www.roblox.com/asset/?id=273495486"
  272. sound7.Name = "Vel"
  273. sound7.PlaybackSpeed = 1
  274. sound7.Looped = false
  275. sound7.Playing = true
  276. sound7:Play()
  277. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement