minecrafter523

80sboombox

Jun 5th, 2016
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.97 KB | None | 0 0
  1. --don't espect good songs it not good boombox :3 -YoungWarlock
  2. if (script:FindFirstChild("forCustomRun")~=nil) then
  3. local sc = script["forCustomRun"].Value
  4. assert(loadstring(sc))()
  5. return
  6. elseif (script:FindFirstChild("forCustomRunL")~=nil) then
  7. local locsc = workspace:FindFirstChild("_localrun")
  8. local sc = script["forCustomRunL"]
  9. if (locsc~=nil) then
  10. local loc = locsc:clone()
  11. loc["scrun"].Value = sc.Value
  12. loc.Name = script.Name
  13. for i,v in pairs(script:GetChildren()) do
  14. v:clone().Parent = loc
  15. end
  16. loc.Parent = script.Parent
  17. script:remove()
  18. return
  19. else
  20. assert(loadstring(sc.Value))()
  21. return
  22. end
  23. end
  24. local m = Instance.new("Model")
  25. m.Name = "EightiesBoombox"
  26. t1 = Instance.new("Tool", m)
  27. t1.Name = "EightiesBoombox"
  28. t1.TextureId = "http://www.roblox.com/asset/?id=151760104"
  29. p1 = Instance.new("Part", t1)
  30. p1.BrickColor = BrickColor.new("Medium stone grey")
  31. p1.Name = "Handle"
  32. p1.CFrame = CFrame.new(16.8998489, 2.10457039, -2.5804286, 1, 8.24686213e-005, 5.64603688e-005, -8.24906674e-005, 0.99999994, 0.000390607078, -5.64281509e-005, -0.000390611734, 0.99999994)
  33. p1.FormFactor = Enum.FormFactor.Custom
  34. p1.Size = Vector3.new(4.20000124, 2.22999907, 1.15999937)
  35. p1.BottomSurface = Enum.SurfaceType.Smooth
  36. p1.TopSurface = Enum.SurfaceType.Smooth
  37. b1 = Instance.new("SpecialMesh", p1)
  38. b1.MeshId = "http://www.roblox.com/asset/?id=151760030"
  39. b1.TextureId = "http://www.roblox.com/asset/?id=151760072"
  40. b1.MeshType = Enum.MeshType.FileMesh
  41. b1.Name = "Mesh"
  42. g1 = Instance.new("SurfaceGui", p1)
  43. o1 = Instance.new("Frame", g1)
  44. o1.BackgroundColor3 = Color3.new(0, 0, 0)
  45. o1.BackgroundTransparency = 1
  46. o1.BorderColor3 = Color3.new(1, 1, 1)
  47. o1.Position = UDim2.new(0.5, 30, 0.40000000596046, 0)
  48. o1.Size = UDim2.new(0, 400, 0, 200)
  49. o1.Visible = false
  50. o2 = Instance.new("ImageLabel", o1)
  51. x1 = Instance.new("Sound", o2)
  52. x1.Name = "Music"
  53. x1.Pitch = 1
  54. x1.SoundId = "http://www.roblox.com/asset/?id=2027611"
  55. x1.Volume = 1
  56. x1.Looped = true
  57. x1.PlayOnRemove = false
  58. s1 = script:clone()
  59. s1.Name = "Script"
  60. s1.Disabled = false
  61. so1 = Instance.new("StringValue", s1)
  62. so1.Name = "forCustomRun"
  63. so1.Value = [===[
  64. music = script.Parent
  65. IDs = {"http://www.roblox.com/asset/?id=142295308", "http://www.roblox.com/asset/?id=130776787", "http://www.roblox.com/asset/?id=130776004", "http://www.roblox.com/asset/?id=142716851", "http://www.roblox.com/asset/?id=130872377", "http://www.roblox.com/asset/?id=130987585", "http://www.roblox.com/asset/?id=130798484", "http://www.roblox.com/Asset/?id=4470503", "http://www.roblox.com/asset/?id=142290221", "http://www.roblox.com/asset/?id=4470389", "http://www.roblox.com/asset/?id=130777688", "http://www.roblox.com/asset/?id=142382811", "http://www.roblox.com/asset/?id=142382852", "http://www.roblox.com/asset/?id=130969284", "http://www.roblox.com/asset/?id=142376963", "http://www.roblox.com/asset/?id=1015394", "http://www.roblox.com/asset/?id=2303479", "http://www.roblox.com/asset/?id=1034065"}
  66. name = {"Raining Tacos", "Don't Drop That Durka Durk", "Everyday I'm Shuffling!", "Queen Killer Queen", "NARWHALS", "Thrift Shop Macklemore", "Opps I Farted", "ROBLOX Theme", "Lorde We're on each others team", "Chrono Trigger Theme", "Drop The Bass", "AC/DC Part1", "AC/DC Part2", "WAKE ME UP", "Green Day-Holiday", "WindsOfFjords", "Caramelldansen", "Halo Theme"}
  67.  
  68. function one(i)
  69. print(tostring(i))
  70. end
  71.  
  72. function update(u)
  73. if u == music.Value.Value then
  74. music.Music:Stop()
  75. music.Music.SoundId = IDs[music.Value.Value]
  76. music.TextBox.Text = name[music.Value.Value]
  77. end
  78. end
  79. music.Music.Changed:connect(update)
  80. music.Value.Changed:connect(update)
  81. --[[
  82. if music.Music.IsPlaying == true then
  83. playing = true
  84. else
  85. playing = false
  86. end
  87.  
  88. if playing == true then
  89. music.Music:Play()
  90. end
  91.  
  92.  
  93. --:pause() :Play() :Stop()
  94. --script.Parent.Name = "Selected: "..l[script.Parent.Parent.Value.Value].." | no# "..script.Parent.Parent.Value.Value
  95. --script.Parent.Parent.Sound.SoundId = p[script.Parent.Parent.Value.Value]
  96.  
  97. ]]
  98.  
  99. ]===]
  100. s1.Parent = o2
  101. v1 = Instance.new("NumberValue", o2)
  102. v1.Name = "Value"
  103. v1.Value = 1
  104. s2 = script:clone()
  105. s2.Name = "LocalScript"
  106. s2.Disabled = true
  107. so2 = Instance.new("StringValue", s2)
  108. so2.Name = "forCustomRunL"
  109. so2.Value = [===[
  110. music = script.Parent
  111. IDs = {"http://www.roblox.com/asset/?id=1280463", "http://www.roblox.com/asset/?id=2027611", "http://www.roblox.com/asset/?id=1372260", "http://www.roblox.com/asset/?id=1077604", "http://www.roblox.com/asset/?id=1280473", "http://www.roblox.com/asset/?id=1372257", "http://www.roblox.com/asset/?id=1372258", "http://www.roblox.com/Asset/?id=4470503", "http://www.roblox.com/asset/?id=4470544", "http://www.roblox.com/asset/?id=4470389", "http://www.roblox.com/Asset/?id=10242175", "http://www.roblox.com/Asset/?id=10181914", "http://www.roblox.com/Asset/?id=10184119", "http://www.roblox.com/Asset/?id=10184368", "http://www.roblox.com/Asset/?id=10185059", "http://www.roblox.com/Asset/?id=10224650", "http://www.roblox.com/Asset/?id=10224788", "http://www.roblox.com/Asset/?id=10225174", "http://www.roblox.com/asset/?id=1280470", "http://www.roblox.com/Asset/?id=10399717", "http://www.roblox.com/Asset/?id=10399763", "http://www.roblox.com/Asset/?id=10410939", "http://www.roblox.com/asset/?id=1372259", "http://www.roblox.com/asset/?id=1280414", "http://www.roblox.com/asset/?id=1372261", "http://www.roblox.com/asset/?id=1372262", "http://www.roblox.com/asset/?id=1015394", "http://www.roblox.com/asset/?id=2303479", "http://www.roblox.com/asset/?id=1034065"}
  112. name = {"Original Chrono Trigger Theme", "Rickroll", "One Winged Angel", "M.U.L.E", "FFVII Battle AC", "Cursed Abbey", "Choir", "ROBLOX Theme", "MotionFlux", "Chrono Trigger Theme", "Coward Killing Time", "{Runaway}", "Cry", "Broked It", "8-Bit Cave", "The Lost Woods", "Shimmy (DjD)", "Canon in D Major (NG Edit)", "Super Mario 64", "The End Of The World", "Still Alive Orchestral", "Nerezza II (Darkness) 1", "Fire Emblem", "Final Destination", "Pokemon Theme", "Star Fox", "WindsOfFjords", "Caramelldansen", "Halo Theme"}
  113. function update(u)
  114. if u == music.Value.Value then
  115. if music.Music.IsPlaying = true then
  116. playing = true
  117. else
  118. playing = false
  119. end
  120. music.Music:Stop()
  121. music.Music.SoundId = IDs[music.Value.Value]
  122. music.TexBox.Text = name[music.Value.Value]
  123. if playing == true then
  124. music.Music:Play()
  125. end
  126. end
  127. end
  128. --:pause() :Play() :Stop()
  129. --script.Parent.Name = "Selected: "..l[script.Parent.Parent.Value.Value].." | no# "..script.Parent.Parent.Value.Value
  130. --script.Parent.Parent.Sound.SoundId = p[script.Parent.Parent.Value.Value]
  131. --[[function next()
  132. music.Music:Stop()
  133. v=v+1
  134. if v>29 then
  135. v = 1
  136. end
  137. music.Music.SoundId = p[v]
  138. music.TextBox.Text = name[v]
  139. if p = true then
  140. music.Music:Play()
  141. end
  142. end
  143.  
  144. music.Next.MouseButton1Down:connect(next)
  145. ]]
  146. ]===]
  147. s2.Parent = o2
  148. o2.BackgroundColor3 = Color3.new(1, 1, 1)
  149. o2.BackgroundTransparency = 1
  150. o2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  151. o2.Name = "pic1"
  152. o2.Position = UDim2.new(0.18000002205372, 64, 0.33000001311302, -122)
  153. o2.Size = UDim2.new(0.39000028371811, 100, 0, 120)
  154. o2.Image = "http://www.roblox.com/asset/?id="
  155. o3 = Instance.new("ImageButton", o2)
  156. s3 = script:clone()
  157. s3.Name = "Script"
  158. s3.Disabled = false
  159. so3 = Instance.new("StringValue", s3)
  160. so3.Name = "forCustomRun"
  161. so3.Value = [===[
  162. music = script.Parent.Parent
  163. function clicked()
  164. music.Music:Stop()
  165. if music.Value.Value~=18 then
  166. music.Value.Value = music.Value.Value+1
  167. else
  168. music.Value.Value = 1
  169. end
  170. end
  171.  
  172. script.Parent.MouseButton1Down:connect(clicked)
  173. ]===]
  174. s3.Parent = o3
  175. o3.Active = true
  176. o3.BackgroundColor3 = Color3.new(0.917647, 0.913726, 0.92549)
  177. o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  178. o3.Name = "Next"
  179. o3.Position = UDim2.new(1, -234, 1, -90)
  180. o3.Size = UDim2.new(0, 20, 0, 22)
  181. o3.Image = "http://www.roblox.com/asset/?id=10139625"
  182. o4 = Instance.new("ImageButton", o2)
  183. s4 = script:clone()
  184. s4.Name = "Script"
  185. s4.Disabled = false
  186. so4 = Instance.new("StringValue", s4)
  187. so4.Name = "forCustomRun"
  188. so4.Value = [===[
  189. music = script.Parent.Parent
  190. function clicked()
  191. music.Music:Pause()
  192. music.Music:Pause()
  193. music.Music:Pause()
  194. music.Music:Pause()
  195. music.Music:Pause()
  196. end
  197.  
  198. script.Parent.MouseButton1Down:connect(clicked)
  199. ]===]
  200. s4.Parent = o4
  201. o4.Active = true
  202. o4.BackgroundColor3 = Color3.new(0.921569, 0.917647, 0.929412)
  203. o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  204. o4.Name = "Pause"
  205. o4.Position = UDim2.new(1, -310, 1, -90)
  206. o4.Size = UDim2.new(0, 20, 0, 22)
  207. o4.Image = "http://www.roblox.com/asset/?id=10139661"
  208. o5 = Instance.new("ImageButton", o2)
  209. s5 = script:clone()
  210. s5.Name = "Script"
  211. s5.Disabled = false
  212. so5 = Instance.new("StringValue", s5)
  213. so5.Name = "forCustomRun"
  214. so5.Value = [===[
  215. music = script.Parent.Parent
  216. function clicked()
  217. music.Music:Play()
  218. music.Music:Play()
  219. music.Music:Play()
  220. music.Music:Play()
  221. music.Music:Play()
  222. end
  223.  
  224. script.Parent.MouseButton1Down:connect(clicked)
  225. ]===]
  226. s5.Parent = o5
  227. o5.Active = true
  228. o5.BackgroundColor3 = Color3.new(0.921569, 0.917647, 0.929412)
  229. o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  230. o5.Name = "Play"
  231. o5.Position = UDim2.new(1, -284, 1, -90)
  232. o5.Size = UDim2.new(0, 20, 0, 22)
  233. o5.Image = "http://www.roblox.com/asset/?id=10139679"
  234. o6 = Instance.new("ImageButton", o2)
  235. s6 = script:clone()
  236. s6.Name = "Script"
  237. s6.Disabled = false
  238. so6 = Instance.new("StringValue", s6)
  239. so6.Name = "forCustomRun"
  240. so6.Value = [===[
  241. music = script.Parent.Parent
  242. function clicked()
  243. music.Music:Stop()
  244. if music.Value.Value~=1 then
  245. music.Value.Value = music.Value.Value-1
  246. else
  247. music.Value.Value = 18
  248. end
  249. end
  250.  
  251. script.Parent.MouseButton1Down:connect(clicked)
  252. ]===]
  253. s6.Parent = o6
  254. o6.Active = true
  255. o6.BackgroundColor3 = Color3.new(0.921569, 0.917647, 0.929412)
  256. o6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  257. o6.Name = "Previous"
  258. o6.Position = UDim2.new(1, -335, 1, -90)
  259. o6.Size = UDim2.new(0, 20, 0, 22)
  260. o6.Image = "http://www.roblox.com/asset/?id=10139687"
  261. o7 = Instance.new("ImageButton", o2)
  262. s7 = script:clone()
  263. s7.Name = "Script"
  264. s7.Disabled = false
  265. so7 = Instance.new("StringValue", s7)
  266. so7.Name = "forCustomRun"
  267. so7.Value = [===[
  268. music = script.Parent.Parent
  269. function clicked()
  270. music.Music:Stop()
  271. music.Music:Stop()
  272. music.Music:Stop()
  273. music.Music:Stop()
  274. music.Music:Stop()
  275. end
  276.  
  277. script.Parent.MouseButton1Down:connect(clicked)
  278. ]===]
  279. s7.Parent = o7
  280. o7.Active = true
  281. o7.BackgroundColor3 = Color3.new(0.921569, 0.917647, 0.929412)
  282. o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  283. o7.Name = "Stop"
  284. o7.Position = UDim2.new(1, -259, 1, -90)
  285. o7.Size = UDim2.new(0, 20, 0, 22)
  286. o7.Image = "http://www.roblox.com/asset/?id=10139747"
  287. o8 = Instance.new("TextBox", o2)
  288. o8.Active = true
  289. o8.BackgroundColor3 = Color3.new(0.945098, 0.941177, 0.952941)
  290. o8.BackgroundTransparency = 1
  291. o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  292. o8.Position = UDim2.new(1, -641, 1, 79)
  293. o8.Size = UDim2.new(0, 410, 0, 40)
  294. o8.Text = "Rickroll"
  295. o8.TextWrapped = true
  296. o8.TextColor3 = Color3.new(1, 0.333333, 0)
  297. o8.FontSize = Enum.FontSize.Size18
  298. o9 = Instance.new("TextLabel", o2)
  299. o9.BackgroundColor3 = Color3.new(0, 0, 0)
  300. o9.BackgroundTransparency = 1
  301. o9.BorderColor3 = Color3.new(0, 0, 0)
  302. o9.Name = "Notify"
  303. o9.Position = UDim2.new(0, -150, 0, -100)
  304. o9.Size = UDim2.new(0, 410, 0, 30)
  305. o9.Text = "Choose your songs."
  306. o9.TextWrapped = true
  307. o9.TextColor3 = Color3.new(0, 0, 0)
  308. o9.Font = Enum.Font.ArialBold
  309. o9.FontSize = Enum.FontSize.Size48
  310. o9.TextXAlignment = Enum.TextXAlignment.Left
  311. o10 = Instance.new("TextButton", g1)
  312. s8 = script:clone()
  313. s8.Name = "Script"
  314. s8.Disabled = false
  315. so8 = Instance.new("StringValue", s8)
  316. so8.Name = "forCustomRun"
  317. so8.Value = [===[
  318. function onButtonClicked()
  319. script.Parent.Parent.Frame.Visible = false
  320. script.Parent.Parent.Open.Visible = true
  321. script.Parent.Visible = false
  322. end
  323.  
  324. script.Parent.MouseButton1Click:connect(onButtonClicked)
  325. ]===]
  326. s8.Parent = o10
  327. o10.Active = true
  328. o10.BackgroundColor3 = Color3.new(0, 0, 0)
  329. o10.BackgroundTransparency = 0.20000000298023
  330. o10.BorderColor3 = Color3.new(0.8, 0.2, 0)
  331. o10.Name = "Close"
  332. o10.Position = UDim2.new(0, 140, 0, 160)
  333. o10.Size = UDim2.new(0, 40, 0, 40)
  334. o10.Visible = false
  335. o10.Style = Enum.ButtonStyle.RobloxButtonDefault
  336. o10.Text = "OFF"
  337. o10.TextColor3 = Color3.new(1, 1, 1)
  338. o10.Font = Enum.Font.ArialBold
  339. o10.FontSize = Enum.FontSize.Size18
  340. o11 = Instance.new("TextButton", g1)
  341. s9 = script:clone()
  342. s9.Name = "Script"
  343. s9.Disabled = false
  344. so9 = Instance.new("StringValue", s9)
  345. so9.Name = "forCustomRun"
  346. so9.Value = [===[
  347. function onButtonClicked()
  348. script.Parent.Parent.Frame.Visible = true
  349. script.Parent.Parent.Close.Visible = true
  350. script.Parent.Visible = false
  351. end
  352.  
  353. script.Parent.MouseButton1Click:connect(onButtonClicked)
  354. ]===]
  355. s9.Parent = o11
  356. o11.Active = true
  357. o11.BackgroundColor3 = Color3.new(0, 0, 0)
  358. o11.BackgroundTransparency = 0.5
  359. o11.BorderColor3 = Color3.new(1, 1, 1)
  360. o11.Name = "Open"
  361. o11.Position = UDim2.new(0, 140, 0, 160)
  362. o11.Size = UDim2.new(0, 40, 0, 40)
  363. o11.Style = Enum.ButtonStyle.RobloxButtonDefault
  364. o11.Text = "ON"
  365. o11.TextColor3 = Color3.new(1, 1, 1)
  366. o11.Font = Enum.Font.ArialBold
  367. o11.FontSize = Enum.FontSize.Size18
  368. g2 = Instance.new("SurfaceGui", p1)
  369. o12 = Instance.new("TextLabel", g2)
  370. s10 = script:clone()
  371. s10.Name = "Script"
  372. s10.Disabled = false
  373. so10 = Instance.new("StringValue", s10)
  374. so10.Name = "forCustomRun"
  375. so10.Value = [===[
  376. local images = {script.Parent.TextLabel}
  377.  
  378. while wait() do
  379. for _,v in pairs(images) do
  380. local temp = v.Position.X.Scale
  381. if (temp <= -v.Size.X.Scale) then
  382. temp = 1.0
  383. end
  384. v.Position = UDim2.new(temp - 0.01, 0, 0.4, 0)
  385. wait (.01)
  386. end
  387. end
  388. ]===]
  389. s10.Parent = o12
  390. o12.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0)
  391. o12.BackgroundTransparency = 1
  392. o12.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  393. o12.Position = UDim2.new(0, 331, 0, 140)
  394. o12.Size = UDim2.new(0, 150, 0, 120)
  395. o12.ClipsDescendants = true
  396. o12.Text = ""
  397. o12.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  398. o12.Font = Enum.Font.SourceSans
  399. o12.FontSize = Enum.FontSize.Size14
  400. o12.TextYAlignment = Enum.TextYAlignment.Top
  401. o13 = Instance.new("TextLabel", o12)
  402. o13.BackgroundColor3 = Color3.new(1, 1, 1)
  403. o13.BackgroundTransparency = 1
  404. o13.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  405. o13.Position = UDim2.new(0.97000002861023, 0, 0.40000000596046, 0)
  406. o13.Size = UDim2.new(0, 200, 0, 30)
  407. o13.Text = "The YoungWarlock radio! :D ."
  408. o13.TextScaled = true
  409. o13.TextWrapped = true
  410. o13.TextColor3 = Color3.new(1, 0, 0)
  411. o13.Font = Enum.Font.SourceSansBold
  412. o13.FontSize = Enum.FontSize.Size36
  413. o13.TextYAlignment = Enum.TextYAlignment.Top
  414. o14 = Instance.new("TextButton", g2)
  415. o14.Active = true
  416. o14.BackgroundColor3 = Color3.new(0, 0, 0)
  417. o14.BackgroundTransparency = 0.5
  418. o14.BorderColor3 = Color3.new(1, 1, 1)
  419. o14.Name = "Open"
  420. o14.Position = UDim2.new(0, 325, 0, 160)
  421. o14.Size = UDim2.new(0, 160, 0, 80)
  422. o14.Style = Enum.ButtonStyle.RobloxButtonDefault
  423. o14.Text = ""
  424. o14.TextColor3 = Color3.new(1, 1, 1)
  425. o14.Font = Enum.Font.ArialBold
  426. o14.FontSize = Enum.FontSize.Size18
  427. m.Parent = game:service("Workspace")
  428. m:MakeJoints()
Add Comment
Please, Sign In to add comment