Advertisement
Goo345

Untitled

Sep 30th, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.16 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. UnionOperation9 = Instance.new("UnionOperation")
  29. Part10 = Instance.new("Part")
  30. Part11 = Instance.new("Part")
  31. Part12 = Instance.new("Part")
  32. Part13 = Instance.new("Part")
  33. ManualWeld14 = Instance.new("ManualWeld")
  34. Script15 = Instance.new("Script")
  35. Sound16 = Instance.new("Sound")
  36. SurfaceGui17 = Instance.new("SurfaceGui")
  37. TextBox18 = Instance.new("TextBox")
  38. TextButton19 = Instance.new("TextButton")
  39. TextButton20 = Instance.new("TextButton")
  40. TextLabel21 = Instance.new("TextLabel")
  41. Part22 = Instance.new("Part")
  42. Part23 = Instance.new("Part")
  43. Model0.Parent = mas
  44. Part1.Parent = Model0
  45. Part1.CFrame = CFrame.new(173.21994, 14.5100031, 7.84500885, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  46. Part1.Position = Vector3.new(173.21994, 14.5100031, 7.84500885)
  47. Part1.Color = Color3.new(0.627451, 0.517647, 0.309804)
  48. Part1.Size = Vector3.new(69.9799805, 29.0199986, 2.25)
  49. Part1.Anchored = true
  50. Part1.BottomSurface = Enum.SurfaceType.Smooth
  51. Part1.BrickColor = BrickColor.new("Fawn brown")
  52. Part1.Material = Enum.Material.WoodPlanks
  53. Part1.TopSurface = Enum.SurfaceType.Smooth
  54. Part1.brickColor = BrickColor.new("Fawn brown")
  55. Part2.Parent = Model0
  56. Part2.CFrame = CFrame.new(207.124924, 14.5100031, -11.3649921, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  57. Part2.Position = Vector3.new(207.124924, 14.5100031, -11.3649921)
  58. Part2.Color = Color3.new(0.627451, 0.517647, 0.309804)
  59. Part2.Size = Vector3.new(2.17000031, 29.0199986, 40.670002)
  60. Part2.Anchored = true
  61. Part2.BottomSurface = Enum.SurfaceType.Smooth
  62. Part2.BrickColor = BrickColor.new("Fawn brown")
  63. Part2.Material = Enum.Material.WoodPlanks
  64. Part2.TopSurface = Enum.SurfaceType.Smooth
  65. Part2.brickColor = BrickColor.new("Fawn brown")
  66. Part3.Parent = Model0
  67. Part3.CFrame = CFrame.new(151.249939, 14.5100031, -30.8949909, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  68. Part3.Position = Vector3.new(151.249939, 14.5100031, -30.8949909)
  69. Part3.Color = Color3.new(0.627451, 0.517647, 0.309804)
  70. Part3.Size = Vector3.new(26.5000019, 29.0199986, 1.61000323)
  71. Part3.Anchored = true
  72. Part3.BottomSurface = Enum.SurfaceType.Smooth
  73. Part3.BrickColor = BrickColor.new("Fawn brown")
  74. Part3.Material = Enum.Material.WoodPlanks
  75. Part3.TopSurface = Enum.SurfaceType.Smooth
  76. Part3.brickColor = BrickColor.new("Fawn brown")
  77. Part4.Parent = Model0
  78. Part4.CFrame = CFrame.new(139.60994, 14.5100031, -10.7899857, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  79. Part4.Position = Vector3.new(139.60994, 14.5100031, -10.7899857)
  80. Part4.Color = Color3.new(0.627451, 0.517647, 0.309804)
  81. Part4.Size = Vector3.new(3.22001433, 29.0199986, 41.8200111)
  82. Part4.Anchored = true
  83. Part4.BottomSurface = Enum.SurfaceType.Smooth
  84. Part4.BrickColor = BrickColor.new("Fawn brown")
  85. Part4.Material = Enum.Material.WoodPlanks
  86. Part4.TopSurface = Enum.SurfaceType.Smooth
  87. Part4.brickColor = BrickColor.new("Fawn brown")
  88. Part5.Parent = Model0
  89. Part5.CFrame = CFrame.new(173.084991, 11.5350018, -10.7899857, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  90. Part5.Position = Vector3.new(173.084991, 11.5350018, -10.7899857)
  91. Part5.Color = Color3.new(0.627451, 0.517647, 0.309804)
  92. Part5.Size = Vector3.new(70.1699982, 0.0500000007, 41.8200111)
  93. Part5.Anchored = true
  94. Part5.BottomSurface = Enum.SurfaceType.Smooth
  95. Part5.BrickColor = BrickColor.new("Fawn brown")
  96. Part5.Material = Enum.Material.WoodPlanks
  97. Part5.TopSurface = Enum.SurfaceType.Smooth
  98. Part5.brickColor = BrickColor.new("Fawn brown")
  99. Part6.Parent = Model0
  100. Part6.CFrame = CFrame.new(192.454926, 14.5100031, -30.8949909, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  101. Part6.Position = Vector3.new(192.454926, 14.5100031, -30.8949909)
  102. Part6.Color = Color3.new(0.627451, 0.517647, 0.309804)
  103. Part6.Size = Vector3.new(31.5099964, 29.0199986, 1.61000323)
  104. Part6.Anchored = true
  105. Part6.BottomSurface = Enum.SurfaceType.Smooth
  106. Part6.BrickColor = BrickColor.new("Fawn brown")
  107. Part6.Material = Enum.Material.WoodPlanks
  108. Part6.TopSurface = Enum.SurfaceType.Smooth
  109. Part6.brickColor = BrickColor.new("Fawn brown")
  110. Part7.Parent = Model0
  111. Part7.CFrame = CFrame.new(159.154953, 6.94000292, -30.8949909, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  112. Part7.Position = Vector3.new(159.154953, 6.94000292, -30.8949909)
  113. Part7.Color = Color3.new(0.627451, 0.517647, 0.309804)
  114. Part7.Size = Vector3.new(42.3099899, 13.8799982, 1.61000323)
  115. Part7.Anchored = true
  116. Part7.BottomSurface = Enum.SurfaceType.Smooth
  117. Part7.BrickColor = BrickColor.new("Fawn brown")
  118. Part7.Material = Enum.Material.WoodPlanks
  119. Part7.TopSurface = Enum.SurfaceType.Smooth
  120. Part7.brickColor = BrickColor.new("Fawn brown")
  121. Part8.Parent = Model0
  122. Part8.CFrame = CFrame.new(172.85495, 27.9849987, -12.18999, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  123. Part8.Position = Vector3.new(172.85495, 27.9849987, -12.18999)
  124. Part8.Color = Color3.new(0.627451, 0.517647, 0.309804)
  125. Part8.Size = Vector3.new(69.7099991, 2.0699966, 39.0200005)
  126. Part8.Anchored = true
  127. Part8.BottomSurface = Enum.SurfaceType.Smooth
  128. Part8.BrickColor = BrickColor.new("Fawn brown")
  129. Part8.Material = Enum.Material.WoodPlanks
  130. Part8.TopSurface = Enum.SurfaceType.Smooth
  131. Part8.brickColor = BrickColor.new("Fawn brown")
  132. UnionOperation9.Parent = Model0
  133. UnionOperation9.CFrame = CFrame.new(171.174988, 0.500003994, -27.974987, -5.08049069e-08, -0.162280828, 0.986744642, -1, 5.08049069e-08, -4.31319798e-08, -4.31319798e-08, -0.986744642, -0.162280828)
  134. UnionOperation9.Orientation = Vector3.new(0, 99.3399963, -90)
  135. UnionOperation9.Position = Vector3.new(171.174988, 0.500003994, -27.974987)
  136. UnionOperation9.Rotation = Vector3.new(180, 80.659996, 90)
  137. UnionOperation9.Color = Color3.new(0.356863, 0.603922, 0.298039)
  138. UnionOperation9.Size = Vector3.new(1.00001097, 138.256927, 133.32666)
  139. UnionOperation9.Anchored = true
  140. UnionOperation9.BrickColor = BrickColor.new("Shamrock")
  141. UnionOperation9.Material = Enum.Material.Grass
  142. UnionOperation9.brickColor = BrickColor.new("Shamrock")
  143. Part10.Parent = Model0
  144. Part10.CFrame = CFrame.new(177.77243, 0.135171905, -65.2665176, 0.986744642, 4.14981827e-09, 0.162280679, 4.14981827e-09, 1, -5.08048537e-08, -0.162280679, 5.08048714e-08, 0.986744642)
  145. Part10.Orientation = Vector3.new(0, 9.34000015, 0)
  146. Part10.Position = Vector3.new(177.77243, 0.135171905, -65.2665176)
  147. Part10.Rotation = Vector3.new(0, 9.34000015, 0)
  148. Part10.Color = Color3.new(0, 0.12549, 0.376471)
  149. Part10.Transparency = 0.40000000596046
  150. Part10.Size = Vector3.new(64.6299973, 1.01999986, 52.5099945)
  151. Part10.Anchored = true
  152. Part10.BottomSurface = Enum.SurfaceType.Smooth
  153. Part10.BrickColor = BrickColor.new("Navy blue")
  154. Part10.Material = Enum.Material.Granite
  155. Part10.TopSurface = Enum.SurfaceType.Smooth
  156. Part10.brickColor = BrickColor.new("Navy blue")
  157. Part11.Parent = Model0
  158. Part11.CFrame = CFrame.new(165.094971, 0.464239925, -95.8274612, 0.986744642, 4.14980761e-09, 0.162280679, 4.14980406e-09, 1, -5.08048572e-08, -0.162280679, 5.08049069e-08, 0.986744642)
  159. Part11.Orientation = Vector3.new(0, 9.34000015, 0)
  160. Part11.Position = Vector3.new(165.094971, 0.464239925, -95.8274612)
  161. Part11.Rotation = Vector3.new(0, 9.34000015, 0)
  162. Part11.Color = Color3.new(0.356863, 0.603922, 0.298039)
  163. Part11.Size = Vector3.new(134.030014, 1, 36.2300034)
  164. Part11.Anchored = true
  165. Part11.BottomSurface = Enum.SurfaceType.Smooth
  166. Part11.BrickColor = BrickColor.new("Shamrock")
  167. Part11.Material = Enum.Material.Grass
  168. Part11.TopSurface = Enum.SurfaceType.Smooth
  169. Part11.brickColor = BrickColor.new("Shamrock")
  170. Part12.Parent = Model0
  171. Part12.CFrame = CFrame.new(177.77243, -0.00982806087, -65.2665176, 0.986744642, 4.14981827e-09, 0.162280679, 4.14981827e-09, 1, -5.08048537e-08, -0.162280679, 5.08048714e-08, 0.986744642)
  172. Part12.Orientation = Vector3.new(0, 9.34000015, 0)
  173. Part12.Position = Vector3.new(177.77243, -0.00982806087, -65.2665176)
  174. Part12.Rotation = Vector3.new(0, 9.34000015, 0)
  175. Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
  176. Part12.Size = Vector3.new(64.6299973, 0.7299999, 52.5099945)
  177. Part12.Anchored = true
  178. Part12.BottomSurface = Enum.SurfaceType.Smooth
  179. Part12.BrickColor = BrickColor.new("Shamrock")
  180. Part12.Material = Enum.Material.Grass
  181. Part12.TopSurface = Enum.SurfaceType.Smooth
  182. Part12.brickColor = BrickColor.new("Shamrock")
  183. Part13.Name = "Music Radio"
  184. Part13.Parent = Model0
  185. Part13.CFrame = CFrame.new(140.633469, 19.7323494, -10.7833233, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  186. Part13.Orientation = Vector3.new(0, -90, 0)
  187. Part13.Position = Vector3.new(140.633469, 19.7323494, -10.7833233)
  188. Part13.Rotation = Vector3.new(0, -90, 0)
  189. Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  190. Part13.Size = Vector3.new(10.6200008, 8.95000267, 1.44000077)
  191. Part13.Anchored = true
  192. Part13.BrickColor = BrickColor.new("Black")
  193. Part13.brickColor = BrickColor.new("Black")
  194. Part13.FormFactor = Enum.FormFactor.Symmetric
  195. Part13.formFactor = Enum.FormFactor.Symmetric
  196. ManualWeld14.Name = "Part Terrain Joint"
  197. ManualWeld14.Parent = Part13
  198. ManualWeld14.Part1 = Part13
  199. ManualWeld14.part1 = Part13
  200. Script15.Name = "MainScript"
  201. Script15.Parent = Part13
  202. table.insert(cors,sandbox(Script15,function()
  203. -- Brought to you by TheeDeathCaster :)
  204. local TheGui = script.Parent.Gui:Clone()
  205. local M = script.MusicPlayer
  206. script.Parent.Gui:Destroy()
  207. local isPlaying = false
  208.  
  209. function StopAllMusic()
  210. M:Stop()
  211. end
  212.  
  213. function AllowUsage(gui)
  214.  
  215. local TheId = gui.ID
  216. local Play = gui.Play
  217. local Stop = gui.Stop
  218. local Timez = gui.Time
  219.  
  220. Play.MouseButton1Down:connect(function()
  221. if TheId.Text ~= "Type Audio ID Here!" and TheId.Text ~= "" and tonumber(TheId.Text) and tonumber(TheId.Text) > 0 and not isPlaying then
  222. local ReturnTime = 120;
  223. StopAllMusic()
  224. for i, v in pairs(game.Players:GetPlayers()) do
  225. spawn(function()
  226. print(v.Name)
  227. print(M)
  228. M.SoundId = "http://www.roblox.com/asset/?id=" .. TheId.Text
  229. M.Name = "MusicPlayer"
  230. ReturnTime = math.floor(M.TimeLength)
  231. M:Play()
  232. end)
  233. end
  234. isPlaying = true
  235. wait(.1)
  236. TheId.Text = "Type Audio ID Here!"
  237. spawn(function()
  238. repeat
  239. local Hours = math.floor((ReturnTime / 60) / 60)
  240. local Minutes = math.floor(ReturnTime / 60 )
  241. local Seconds = math.floor(ReturnTime) % 60
  242. local Hours2 = math.floor((M.TimePosition / 60) / 60)
  243. local Minutes2 = math.floor(M.TimePosition / 60 )
  244. local Seconds2 = math.floor(M.TimePosition) % 60
  245. if Hours < 10 then
  246. Hours = "0" .. Hours
  247. end
  248. if Minutes < 10 then
  249. Minutes = "0" .. Minutes
  250. end
  251. if Seconds < 10 then
  252. Seconds = "0" .. Seconds
  253. end
  254. if Hours2 < 10 then
  255. Hours2 = "0" .. Hours2
  256. end
  257. if Minutes2 < 10 then
  258. Minutes2 = "0" .. Minutes2
  259. end
  260. if Seconds2 < 10 then
  261. Seconds2 = "0" .. Seconds2
  262. end
  263. local Text1 = Hours .. ":" .. Minutes .. ":" .. Seconds
  264. local Text2 = Hours2 .. ":" .. Minutes2 .. ":" .. Seconds2
  265. Timez.Text = Text1
  266. Timez.Text = Timez.Text .. " / " .. Text2
  267. wait()
  268. until not isPlaying
  269. end)
  270. for i = 1, ReturnTime do
  271. wait(1)
  272. if not isPlaying then
  273. break
  274. end
  275. end
  276. end
  277. end)
  278.  
  279. Stop.MouseButton1Down:connect(function()
  280. StopAllMusic()
  281. isPlaying = false
  282. end)
  283. end
  284.  
  285. game.Players.PlayerAdded:connect(function(plr)
  286. plr:WaitForChild("PlayerGui")
  287. local GUI = TheGui:Clone()
  288. GUI.Parent = plr.PlayerGui
  289. GUI.Adornee = script.Parent
  290. AllowUsage(GUI)
  291. end)
  292.  
  293. for i, v in pairs(game.Players:GetPlayers()) do
  294. v:WaitForChild("PlayerGui")
  295. local GUI = TheGui:Clone()
  296. GUI.Parent = v.PlayerGui
  297. GUI.Adornee = script.Parent
  298. AllowUsage(GUI)
  299. end
  300. end))
  301. Sound16.Name = "MusicPlayer"
  302. Sound16.Parent = Script15
  303. Sound16.Looped = true
  304. Sound16.EmitterSize = 0
  305. Sound16.MinDistance = 0
  306. Sound16.SoundId = "http://www.roblox.com/asset/?id=265191998"
  307. Sound16.Volume = 0.050000000745058
  308. SurfaceGui17.Name = "Gui"
  309. SurfaceGui17.Parent = Part13
  310. TextBox18.Name = "ID"
  311. TextBox18.Parent = SurfaceGui17
  312. TextBox18.Size = UDim2.new(1, 0, 0.100000001, 0)
  313. TextBox18.BackgroundColor = BrickColor.new("Really black")
  314. TextBox18.BackgroundColor3 = Color3.new(0, 0, 0)
  315. TextBox18.BorderColor = BrickColor.new("Institutional white")
  316. TextBox18.BorderColor3 = Color3.new(1, 1, 1)
  317. TextBox18.Font = Enum.Font.ArialBold
  318. TextBox18.FontSize = Enum.FontSize.Size60
  319. TextBox18.Text = "Type Audio ID Here!"
  320. TextBox18.TextColor = BrickColor.new("Institutional white")
  321. TextBox18.TextColor3 = Color3.new(1, 1, 1)
  322. TextBox18.TextSize = 60
  323. TextBox18.TextStrokeColor3 = Color3.new(1, 1, 1)
  324. TextBox18.TextStrokeTransparency = 0.75
  325. TextBox18.TextWrap = true
  326. TextBox18.TextWrapped = true
  327. TextButton19.Name = "Play"
  328. TextButton19.Parent = SurfaceGui17
  329. TextButton19.Position = UDim2.new(0, 0, 0.100000001, 0)
  330. TextButton19.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  331. TextButton19.BackgroundColor = BrickColor.new("Lime green")
  332. TextButton19.BackgroundColor3 = Color3.new(0, 0.666667, 0)
  333. TextButton19.BorderColor = BrickColor.new("Institutional white")
  334. TextButton19.BorderColor3 = Color3.new(1, 1, 1)
  335. TextButton19.BorderSizePixel = 2
  336. TextButton19.Font = Enum.Font.ArialBold
  337. TextButton19.FontSize = Enum.FontSize.Size32
  338. TextButton19.Text = "Play | > |"
  339. TextButton19.TextSize = 32
  340. TextButton20.Name = "Stop"
  341. TextButton20.Parent = SurfaceGui17
  342. TextButton20.Position = UDim2.new(0.5, 0, 0.100000001, 0)
  343. TextButton20.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  344. TextButton20.BackgroundColor = BrickColor.new("Crimson")
  345. TextButton20.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  346. TextButton20.BorderColor = BrickColor.new("Institutional white")
  347. TextButton20.BorderColor3 = Color3.new(1, 1, 1)
  348. TextButton20.BorderSizePixel = 2
  349. TextButton20.Font = Enum.Font.ArialBold
  350. TextButton20.FontSize = Enum.FontSize.Size32
  351. TextButton20.Text = "Stop |_|"
  352. TextButton20.TextSize = 32
  353. TextLabel21.Name = "Time"
  354. TextLabel21.Parent = SurfaceGui17
  355. TextLabel21.Position = UDim2.new(0, 0, 0.200000003, 0)
  356. TextLabel21.Size = UDim2.new(1, 0, 0.100000001, 0)
  357. TextLabel21.BackgroundColor = BrickColor.new("Really black")
  358. TextLabel21.BackgroundColor3 = Color3.new(0, 0, 0)
  359. TextLabel21.BorderColor = BrickColor.new("Institutional white")
  360. TextLabel21.BorderColor3 = Color3.new(1, 1, 1)
  361. TextLabel21.BorderSizePixel = 2
  362. TextLabel21.Font = Enum.Font.SourceSans
  363. TextLabel21.FontSize = Enum.FontSize.Size60
  364. TextLabel21.Text = "00:01:24 / 00:00:00"
  365. TextLabel21.TextColor = BrickColor.new("Institutional white")
  366. TextLabel21.TextColor3 = Color3.new(1, 1, 1)
  367. TextLabel21.TextScaled = true
  368. TextLabel21.TextSize = 60
  369. TextLabel21.TextStrokeColor3 = Color3.new(1, 1, 1)
  370. TextLabel21.TextStrokeTransparency = 0.75
  371. TextLabel21.TextWrap = true
  372. TextLabel21.TextWrapped = true
  373. TextLabel21.TextXAlignment = Enum.TextXAlignment.Left
  374. Part22.Parent = Model0
  375. Part22.CFrame = CFrame.new(159.154953, 26.1250057, -30.8949909, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  376. Part22.Position = Vector3.new(159.154953, 26.1250057, -30.8949909)
  377. Part22.Color = Color3.new(0.627451, 0.517647, 0.309804)
  378. Part22.Size = Vector3.new(42.3099899, 1.88999653, 1.61000323)
  379. Part22.Anchored = true
  380. Part22.BottomSurface = Enum.SurfaceType.Smooth
  381. Part22.BrickColor = BrickColor.new("Fawn brown")
  382. Part22.Material = Enum.Material.WoodPlanks
  383. Part22.TopSurface = Enum.SurfaceType.Smooth
  384. Part22.brickColor = BrickColor.new("Fawn brown")
  385. Part23.Parent = Model0
  386. Part23.CFrame = CFrame.new(170.554871, 3.93500185, -33.1800041, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  387. Part23.Position = Vector3.new(170.554871, 3.93500185, -33.1800041)
  388. Part23.Color = Color3.new(0.627451, 0.517647, 0.309804)
  389. Part23.Size = Vector3.new(11.890008, 7.86999655, 6.1800046)
  390. Part23.Anchored = true
  391. Part23.BottomSurface = Enum.SurfaceType.Smooth
  392. Part23.BrickColor = BrickColor.new("Fawn brown")
  393. Part23.Material = Enum.Material.WoodPlanks
  394. Part23.TopSurface = Enum.SurfaceType.Smooth
  395. Part23.brickColor = BrickColor.new("Fawn brown")
  396. for i,v in pairs(mas:GetChildren()) do
  397. v.Parent = workspace
  398. pcall(function() v:MakeJoints() end)
  399. end
  400. mas:Destroy()
  401. for i,v in pairs(cors) do
  402. spawn(function()
  403. pcall(v)
  404. end)
  405. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement