Advertisement
Animescapetower

Untitled

Apr 29th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.42 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. Script0 = Instance.new("Script")
  20. Script1 = Instance.new("Script")
  21. Script2 = Instance.new("Script")
  22. Weld3 = Instance.new("Weld")
  23. NumberValue4 = Instance.new("NumberValue")
  24. NumberValue5 = Instance.new("NumberValue")
  25. NumberValue6 = Instance.new("NumberValue")
  26. Model7 = Instance.new("Model")
  27. Part8 = Instance.new("Part")
  28. Script9 = Instance.new("Script")
  29. NumberValue10 = Instance.new("NumberValue")
  30. NumberValue11 = Instance.new("NumberValue")
  31. NumberValue12 = Instance.new("NumberValue")
  32. Part13 = Instance.new("Part")
  33. SpecialMesh14 = Instance.new("SpecialMesh")
  34. Script15 = Instance.new("Script")
  35. NumberValue16 = Instance.new("NumberValue")
  36. NumberValue17 = Instance.new("NumberValue")
  37. NumberValue18 = Instance.new("NumberValue")
  38. Part19 = Instance.new("Part")
  39. Script20 = Instance.new("Script")
  40. NumberValue21 = Instance.new("NumberValue")
  41. NumberValue22 = Instance.new("NumberValue")
  42. NumberValue23 = Instance.new("NumberValue")
  43. Part24 = Instance.new("Part")
  44. SpecialMesh25 = Instance.new("SpecialMesh")
  45. Script26 = Instance.new("Script")
  46. NumberValue27 = Instance.new("NumberValue")
  47. NumberValue28 = Instance.new("NumberValue")
  48. NumberValue29 = Instance.new("NumberValue")
  49. Model30 = Instance.new("Model")
  50. Sound31 = Instance.new("Sound")
  51. Model32 = Instance.new("Model")
  52. Model33 = Instance.new("Model")
  53. Part34 = Instance.new("Part")
  54. Script35 = Instance.new("Script")
  55. NumberValue36 = Instance.new("NumberValue")
  56. NumberValue37 = Instance.new("NumberValue")
  57. NumberValue38 = Instance.new("NumberValue")
  58. Part39 = Instance.new("Part")
  59. SpecialMesh40 = Instance.new("SpecialMesh")
  60. Script41 = Instance.new("Script")
  61. NumberValue42 = Instance.new("NumberValue")
  62. NumberValue43 = Instance.new("NumberValue")
  63. NumberValue44 = Instance.new("NumberValue")
  64. Part45 = Instance.new("Part")
  65. Script46 = Instance.new("Script")
  66. NumberValue47 = Instance.new("NumberValue")
  67. NumberValue48 = Instance.new("NumberValue")
  68. NumberValue49 = Instance.new("NumberValue")
  69. Part50 = Instance.new("Part")
  70. SpecialMesh51 = Instance.new("SpecialMesh")
  71. Script52 = Instance.new("Script")
  72. NumberValue53 = Instance.new("NumberValue")
  73. NumberValue54 = Instance.new("NumberValue")
  74. NumberValue55 = Instance.new("NumberValue")
  75. Script56 = Instance.new("Script")
  76. Model57 = Instance.new("Model")
  77. Sound58 = Instance.new("Sound")
  78. Script59 = Instance.new("Script")
  79. Weld60 = Instance.new("Weld")
  80. NumberValue61 = Instance.new("NumberValue")
  81. NumberValue62 = Instance.new("NumberValue")
  82. NumberValue63 = Instance.new("NumberValue")
  83. Script64 = Instance.new("Script")
  84. Script56.Parent = Model32
  85. table.insert(cors,sandbox(Script56,function()
  86.  
  87. print(_G)
  88. local Part = script.Parent
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96. local parts = Part.Model:GetChildren()
  97. for i,part in pairs(parts)do
  98. if part.ClassName == "Part" or part.Name == "MeshPart" then
  99. e = script.Parent.Visual:Clone()
  100. e.Disabled = false
  101. e.Parent = part
  102.  
  103. part.Material = "Neon"
  104. part.Transparency = 0.5
  105.  
  106.  
  107.  
  108. end
  109. end
  110.  
  111. end))
  112. Script64.Name = "SoundChangerOnCommand"
  113. Script64.Parent = Model32
  114. table.insert(cors,sandbox(Script64,function()
  115. script.Parent = game:GetService("ServerScriptService")
  116.  
  117. local Soundbar,Locked,Sound=workspace.Visuals
  118. Sound=Soundbar.Sound.VisualizerSound
  119.  
  120. local function Chat(plr,msg)
  121. if msg:sub(1,7):lower()=='/play ' and (not Locked or plr.Name=='Scripth') then
  122. local id=tonumber(msg:match'%d+')
  123. if not id then return end
  124. Sound:Stop()
  125. Sound.SoundId='rbxassetid://'..msg:match'%d+'
  126. Sound:Play()
  127. elseif msg:lower()=='/lock' and plr.Name=='Player1' then
  128. Locked=not Locked
  129. end
  130. end
  131. for i,p in next,game.Players:children() do
  132. p.Chatted:connect(function(m)
  133. Chat(p,m)
  134. end)
  135. end
  136. game.Players.PlayerAdded:connect(function(p)
  137. p.Chatted:connect(function(m)
  138. Chat(p,m)
  139. end)
  140. end)
  141. Sound:Play()
  142. end))
  143. Script59.Name = "Visual"
  144. Script59.Parent = Model32
  145. Script59.Disabled = true
  146. table.insert(cors,sandbox(Script59,function()
  147. --My own spinning script
  148. --And Sound Changer
  149.  
  150. x = script.X.Value -- rotation
  151. y = script.Y.Value -- pitch
  152. z = script.Z.Value -- roll
  153.  
  154. local part = script.Parent
  155.  
  156.  
  157. local visound = workspace.Visuals.Sound.VisualizerSound
  158. visound.Volume = y
  159. visound.Pitch = 1
  160.  
  161.  
  162. function runsong()
  163.  
  164. local re = {}
  165.  
  166. re.SoundId = {
  167. 301101765,--183907931
  168. 183907931,
  169. 400291464,
  170. 233363838,
  171.  
  172.  
  173.  
  174. }
  175.  
  176. local picksound = re.SoundId[math.random(1,#re.SoundId)]
  177. if visound:FindFirstAncestor(visound) ~= visound.SoundId then
  178.  
  179. visound.SoundId = "rbxassetid://"..picksound
  180.  
  181. visound:Play()
  182. end
  183.  
  184.  
  185. end
  186.  
  187. runfunc = pcall(runsong)
  188.  
  189.  
  190. local i = 0
  191.  
  192. while wait() do
  193. i = i - 6
  194. script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(z, math.pi/y, z)
  195. script.Parent.Color = Color3.fromHSV((i - (math.floor(i / 360) * 360)) / 360, 1, 1)
  196.  
  197.  
  198. end
  199.  
  200. end))
  201. Weld60.Parent = Script59
  202. NumberValue61.Name = "X"
  203. NumberValue61.Parent = Script59
  204. NumberValue61.Value = 87
  205. NumberValue62.Name = "Z"
  206. NumberValue62.Parent = Script59
  207. NumberValue63.Name = "Y"
  208. NumberValue63.Parent = Script59
  209. NumberValue63.Value = 200
  210. Model33.Parent = Model32
  211. Part34.Parent = Model33
  212. Part34.Material = Enum.Material.Neon
  213. Part34.Transparency = 0.5
  214. Part34.Rotation = Vector3.new(-180, -79.1800003, -177.809998)
  215. Part34.Anchored = true
  216. Part34.Size = Vector3.new(17.2099991, 0.949999928, 0.48999995)
  217. Part34.CFrame = CFrame.new(-9.42008495, 3.27455544, 46.1114845, -0.187593356, 0.00717143063, -0.98222065, 0.0381889865, 0.999270499, 2.24019027e-06, 0.981504142, -0.0375095829, -0.187730372)
  218. Part34.BottomSurface = Enum.SurfaceType.Smooth
  219. Part34.TopSurface = Enum.SurfaceType.Smooth
  220. Part34.Position = Vector3.new(-9.42008495, 3.27455544, 46.1114845)
  221. Part34.Orientation = Vector3.new(0, -100.82, 2.19000006)
  222. Script35.Parent = Part34
  223. table.insert(cors,sandbox(Script35,function()
  224.  
  225. x = script.Xsize.Value
  226. z = script.Zsize.Value
  227. pi = script.Pitch.Value
  228. while true do
  229. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  230. script.Parent.Size = Vector3.new(23,script.Parent.PlaybackLoudness.Value / 50,0)
  231. wait(0.001)
  232. end
  233. end))
  234. NumberValue36.Name = "Xsize"
  235. NumberValue36.Parent = Script35
  236. NumberValue36.Value = 12.54
  237. NumberValue37.Name = "Zsize"
  238. NumberValue37.Parent = Script35
  239. NumberValue37.Value = 2
  240. NumberValue38.Name = "Pitch"
  241. NumberValue38.Parent = Script35
  242. NumberValue38.Value = 3
  243. Part39.Parent = Model33
  244. Part39.Material = Enum.Material.Neon
  245. Part39.Rotation = Vector3.new(-178.470001, -14.9399996, 8.10999966)
  246. Part39.Anchored = true
  247. Part39.Size = Vector3.new(200, 250, 200)
  248. Part39.CFrame = CFrame.new(-1.12763166, 237.187271, 46.093399, 0.956537783, -0.13624537, -0.257822931, -0.134144977, -0.990625679, 0.0258061327, -0.258921951, 0.00990110822, -0.965847552)
  249. Part39.BottomSurface = Enum.SurfaceType.Smooth
  250. Part39.TopSurface = Enum.SurfaceType.Smooth
  251. Part39.Position = Vector3.new(-1.12763166, 237.187271, 46.093399)
  252. Part39.Orientation = Vector3.new(-1.48000002, -165.050003, -172.289993)
  253. SpecialMesh40.Parent = Part39
  254. SpecialMesh40.MeshId = "http://www.roblox.com/asset/?id=36755354"
  255. SpecialMesh40.Offset = Vector3.new(35, 5, -2.53999996)
  256. SpecialMesh40.Scale = Vector3.new(200, 250, 200)
  257. SpecialMesh40.MeshType = Enum.MeshType.FileMesh
  258. SpecialMesh40.Scale = Vector3.new(200, 250, 200)
  259. Script41.Parent = Part39
  260. table.insert(cors,sandbox(Script41,function()
  261.  
  262. x = script.Xsize.Value
  263. z = script.Zsize.Value
  264. pi = script.Pitch.Value
  265. while true do
  266. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  267. script.Parent.Size = Vector3.new(23,script.Parent.PlaybackLoudness.Value / 50,0)
  268. wait(0.001)
  269. end
  270. end))
  271. NumberValue42.Name = "Xsize"
  272. NumberValue42.Parent = Script41
  273. NumberValue42.Value = 12.54
  274. NumberValue43.Name = "Zsize"
  275. NumberValue43.Parent = Script41
  276. NumberValue43.Value = 2
  277. NumberValue44.Name = "Pitch"
  278. NumberValue44.Parent = Script41
  279. NumberValue44.Value = 3
  280. Part45.Parent = Model33
  281. Part45.Material = Enum.Material.Neon
  282. Part45.Transparency = 0.5
  283. Part45.Rotation = Vector3.new(-180, 15.0199995, -177.809998)
  284. Part45.Anchored = true
  285. Part45.Size = Vector3.new(17.2099991, 0.949999928, 0.48999995)
  286. Part45.CFrame = CFrame.new(-9.420084, 3.27455497, 46.1114845, -0.965143025, 0.0368831828, 0.259111255, 0.0381890014, 0.999270618, 6.06024014e-06, -0.258922011, 0.00990104955, -0.965847492)
  287. Part45.BottomSurface = Enum.SurfaceType.Smooth
  288. Part45.TopSurface = Enum.SurfaceType.Smooth
  289. Part45.Position = Vector3.new(-9.420084, 3.27455497, 46.1114845)
  290. Part45.Orientation = Vector3.new(0, 164.979996, 2.19000006)
  291. Script46.Parent = Part45
  292. table.insert(cors,sandbox(Script46,function()
  293.  
  294. x = script.Xsize.Value
  295. z = script.Zsize.Value
  296. pi = script.Pitch.Value
  297. while true do
  298. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  299. script.Parent.Size = Vector3.new(23,script.Parent.PlaybackLoudness.Value / 50,0)
  300. wait(0.001)
  301. end
  302. end))
  303. NumberValue47.Name = "Xsize"
  304. NumberValue47.Parent = Script46
  305. NumberValue47.Value = 12.54
  306. NumberValue48.Name = "Zsize"
  307. NumberValue48.Parent = Script46
  308. NumberValue48.Value = 2
  309. NumberValue49.Name = "Pitch"
  310. NumberValue49.Parent = Script46
  311. NumberValue49.Value = 3
  312. Part50.Name = "Cloud"
  313. Part50.Parent = Model33
  314. Part50.Anchored = true
  315. Part50.CanCollide = false
  316. Part50.FormFactor = Enum.FormFactor.Plate
  317. Part50.Size = Vector3.new(200, 358.320007, 200)
  318. Part50.CFrame = CFrame.new(-1.12800002, 363.827026, 46.0929985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  319. Part50.BottomSurface = Enum.SurfaceType.Smooth
  320. Part50.TopSurface = Enum.SurfaceType.Smooth
  321. Part50.Position = Vector3.new(-1.12800002, 363.827026, 46.0929985)
  322. SpecialMesh51.Parent = Part50
  323. SpecialMesh51.MeshId = "http://www.roblox.com/asset/?id=111820358"
  324. SpecialMesh51.Offset = Vector3.new(35, 5, -2.53999996)
  325. SpecialMesh51.Scale = Vector3.new(900, 300, 700)
  326. SpecialMesh51.MeshType = Enum.MeshType.FileMesh
  327. SpecialMesh51.Scale = Vector3.new(900, 300, 700)
  328. Script52.Parent = Part50
  329. table.insert(cors,sandbox(Script52,function()
  330.  
  331. x = script.Xsize.Value
  332. z = script.Zsize.Value
  333. pi = script.Pitch.Value
  334. while true do
  335. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  336. script.Parent.Size = Vector3.new(12,script.Parent.PlaybackLoudness.Value / 100,12)
  337. wait(0.001)
  338. end
  339. end))
  340. NumberValue53.Name = "Xsize"
  341. NumberValue53.Parent = Script52
  342. NumberValue53.Value = 12.54
  343. NumberValue54.Name = "Zsize"
  344. NumberValue54.Parent = Script52
  345. NumberValue54.Value = 2
  346. NumberValue55.Name = "Pitch"
  347. NumberValue55.Parent = Script52
  348. NumberValue55.Value = 3
  349. Model57.Name = "Sound"
  350. Model57.Parent = Model32
  351. Sound58.Name = "VisualizerSound"
  352. Sound58.Parent = Model57
  353. Sound58.SoundId = "rbxassetid://183907931"
  354. Sound58.Looped = true
  355. Model32.Name = "Visuals"
  356. Model32.Parent = mas
  357. Model33.Parent = Model32
  358. Part34.Parent = Model33
  359. Part34.Material = Enum.Material.Neon
  360. Part34.Transparency = 0.5
  361. Part34.Rotation = Vector3.new(-180, -79.1800003, -177.809998)
  362. Part34.Anchored = true
  363. Part34.Size = Vector3.new(17.2099991, 0.949999928, 0.48999995)
  364. Part34.CFrame = CFrame.new(-9.42008495, 3.27455544, 46.1114845, -0.187593356, 0.00717143063, -0.98222065, 0.0381889865, 0.999270499, 2.24019027e-06, 0.981504142, -0.0375095829, -0.187730372)
  365. Part34.BottomSurface = Enum.SurfaceType.Smooth
  366. Part34.TopSurface = Enum.SurfaceType.Smooth
  367. Part34.Position = Vector3.new(-9.42008495, 3.27455544, 46.1114845)
  368. Part34.Orientation = Vector3.new(0, -100.82, 2.19000006)
  369. Script35.Parent = Part34
  370. table.insert(cors,sandbox(Script35,function()
  371.  
  372. x = script.Xsize.Value
  373. z = script.Zsize.Value
  374. pi = script.Pitch.Value
  375. while true do
  376. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  377. script.Parent.Size = Vector3.new(23,script.Parent.PlaybackLoudness.Value / 50,0)
  378. wait(0.001)
  379. end
  380. end))
  381. NumberValue36.Name = "Xsize"
  382. NumberValue36.Parent = Script35
  383. NumberValue36.Value = 12.54
  384. NumberValue37.Name = "Zsize"
  385. NumberValue37.Parent = Script35
  386. NumberValue37.Value = 2
  387. NumberValue38.Name = "Pitch"
  388. NumberValue38.Parent = Script35
  389. NumberValue38.Value = 3
  390. Part39.Parent = Model33
  391. Part39.Material = Enum.Material.Neon
  392. Part39.Rotation = Vector3.new(-178.470001, -14.9399996, 8.10999966)
  393. Part39.Anchored = true
  394. Part39.Size = Vector3.new(200, 250, 200)
  395. Part39.CFrame = CFrame.new(-1.12763166, 237.187271, 46.093399, 0.956537783, -0.13624537, -0.257822931, -0.134144977, -0.990625679, 0.0258061327, -0.258921951, 0.00990110822, -0.965847552)
  396. Part39.BottomSurface = Enum.SurfaceType.Smooth
  397. Part39.TopSurface = Enum.SurfaceType.Smooth
  398. Part39.Position = Vector3.new(-1.12763166, 237.187271, 46.093399)
  399. Part39.Orientation = Vector3.new(-1.48000002, -165.050003, -172.289993)
  400. SpecialMesh40.Parent = Part39
  401. SpecialMesh40.MeshId = "http://www.roblox.com/asset/?id=36755354"
  402. SpecialMesh40.Offset = Vector3.new(35, 5, -2.53999996)
  403. SpecialMesh40.Scale = Vector3.new(200, 250, 200)
  404. SpecialMesh40.MeshType = Enum.MeshType.FileMesh
  405. SpecialMesh40.Scale = Vector3.new(200, 250, 200)
  406. Script41.Parent = Part39
  407. table.insert(cors,sandbox(Script41,function()
  408.  
  409. x = script.Xsize.Value
  410. z = script.Zsize.Value
  411. pi = script.Pitch.Value
  412. while true do
  413. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  414. script.Parent.Size = Vector3.new(23,script.Parent.PlaybackLoudness.Value / 50,0)
  415. wait(0.001)
  416. end
  417. end))
  418. NumberValue42.Name = "Xsize"
  419. NumberValue42.Parent = Script41
  420. NumberValue42.Value = 12.54
  421. NumberValue43.Name = "Zsize"
  422. NumberValue43.Parent = Script41
  423. NumberValue43.Value = 2
  424. NumberValue44.Name = "Pitch"
  425. NumberValue44.Parent = Script41
  426. NumberValue44.Value = 3
  427. Part45.Parent = Model33
  428. Part45.Material = Enum.Material.Neon
  429. Part45.Transparency = 0.5
  430. Part45.Rotation = Vector3.new(-180, 15.0199995, -177.809998)
  431. Part45.Anchored = true
  432. Part45.Size = Vector3.new(17.2099991, 0.949999928, 0.48999995)
  433. Part45.CFrame = CFrame.new(-9.420084, 3.27455497, 46.1114845, -0.965143025, 0.0368831828, 0.259111255, 0.0381890014, 0.999270618, 6.06024014e-06, -0.258922011, 0.00990104955, -0.965847492)
  434. Part45.BottomSurface = Enum.SurfaceType.Smooth
  435. Part45.TopSurface = Enum.SurfaceType.Smooth
  436. Part45.Position = Vector3.new(-9.420084, 3.27455497, 46.1114845)
  437. Part45.Orientation = Vector3.new(0, 164.979996, 2.19000006)
  438. Script46.Parent = Part45
  439. table.insert(cors,sandbox(Script46,function()
  440.  
  441. x = script.Xsize.Value
  442. z = script.Zsize.Value
  443. pi = script.Pitch.Value
  444. while true do
  445. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  446. script.Parent.Size = Vector3.new(23,script.Parent.PlaybackLoudness.Value / 50,0)
  447. wait(0.001)
  448. end
  449. end))
  450. NumberValue47.Name = "Xsize"
  451. NumberValue47.Parent = Script46
  452. NumberValue47.Value = 12.54
  453. NumberValue48.Name = "Zsize"
  454. NumberValue48.Parent = Script46
  455. NumberValue48.Value = 2
  456. NumberValue49.Name = "Pitch"
  457. NumberValue49.Parent = Script46
  458. NumberValue49.Value = 3
  459. Part50.Name = "Cloud"
  460. Part50.Parent = Model33
  461. Part50.Anchored = true
  462. Part50.CanCollide = false
  463. Part50.FormFactor = Enum.FormFactor.Plate
  464. Part50.Size = Vector3.new(200, 358.320007, 200)
  465. Part50.CFrame = CFrame.new(-1.12800002, 363.827026, 46.0929985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  466. Part50.BottomSurface = Enum.SurfaceType.Smooth
  467. Part50.TopSurface = Enum.SurfaceType.Smooth
  468. Part50.Position = Vector3.new(-1.12800002, 363.827026, 46.0929985)
  469. SpecialMesh51.Parent = Part50
  470. SpecialMesh51.MeshId = "http://www.roblox.com/asset/?id=111820358"
  471. SpecialMesh51.Offset = Vector3.new(35, 5, -2.53999996)
  472. SpecialMesh51.Scale = Vector3.new(900, 300, 700)
  473. SpecialMesh51.MeshType = Enum.MeshType.FileMesh
  474. SpecialMesh51.Scale = Vector3.new(900, 300, 700)
  475. Script52.Parent = Part50
  476. table.insert(cors,sandbox(Script52,function()
  477.  
  478. x = script.Xsize.Value
  479. z = script.Zsize.Value
  480. pi = script.Pitch.Value
  481. while true do
  482. script.Parent.PlaybackLoudness.Value = script.Parent.Parent.Parent.Sound.VisualizerSound.PlaybackLoudness
  483. script.Parent.Size = Vector3.new(12,script.Parent.PlaybackLoudness.Value / 100,12)
  484. wait(0.001)
  485. end
  486. end))
  487. NumberValue53.Name = "Xsize"
  488. NumberValue53.Parent = Script52
  489. NumberValue53.Value = 12.54
  490. NumberValue54.Name = "Zsize"
  491. NumberValue54.Parent = Script52
  492. NumberValue54.Value = 2
  493. NumberValue55.Name = "Pitch"
  494. NumberValue55.Parent = Script52
  495. NumberValue55.Value = 3
  496. Script56.Parent = Model32
  497. table.insert(cors,sandbox(Script56,function()
  498.  
  499. print(_G)
  500. local Part = script.Parent
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508. local parts = Part.Model:GetChildren()
  509. for i,part in pairs(parts)do
  510. if part.ClassName == "Part" or part.Name == "MeshPart" then
  511. e = script.Parent.Visual:Clone()
  512. e.Disabled = false
  513. e.Parent = part
  514.  
  515. part.Material = "Neon"
  516. part.Transparency = 0.5
  517.  
  518.  
  519.  
  520. end
  521. end
  522.  
  523. end))
  524. Model57.Name = "Sound"
  525. Model57.Parent = Model32
  526. Sound58.Name = "VisualizerSound"
  527. Sound58.Parent = Model57
  528. Sound58.SoundId = "rbxassetid://183907931"
  529. Sound58.Looped = true
  530. Script59.Name = "Visual"
  531. Script59.Parent = Model32
  532. Script59.Disabled = true
  533. table.insert(cors,sandbox(Script59,function()
  534. --My own spinning script
  535. --And Sound Changer
  536.  
  537. x = script.X.Value -- rotation
  538. y = script.Y.Value -- pitch
  539. z = script.Z.Value -- roll
  540.  
  541. local part = script.Parent
  542.  
  543.  
  544. local visound = workspace.Visuals.Sound.VisualizerSound
  545. visound.Volume = y
  546. visound.Pitch = 1
  547.  
  548.  
  549. function runsong()
  550.  
  551. local re = {}
  552.  
  553. re.SoundId = {
  554. 301101765,--183907931
  555. 183907931,
  556. 400291464,
  557. 233363838,
  558.  
  559.  
  560.  
  561. }
  562.  
  563. local picksound = re.SoundId[math.random(1,#re.SoundId)]
  564. if visound:FindFirstAncestor(visound) ~= visound.SoundId then
  565.  
  566. visound.SoundId = "rbxassetid://"..picksound
  567.  
  568. visound:Play()
  569. end
  570.  
  571.  
  572. end
  573.  
  574. runfunc = pcall(runsong)
  575.  
  576.  
  577. local i = 0
  578.  
  579. while wait() do
  580. i = i - 6
  581. script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(z, math.pi/y, z)
  582. script.Parent.Color = Color3.fromHSV((i - (math.floor(i / 360) * 360)) / 360, 1, 1)
  583.  
  584.  
  585. end
  586.  
  587. end))
  588. Weld60.Parent = Script59
  589. NumberValue61.Name = "X"
  590. NumberValue61.Parent = Script59
  591. NumberValue61.Value = 87
  592. NumberValue62.Name = "Z"
  593. NumberValue62.Parent = Script59
  594. NumberValue63.Name = "Y"
  595. NumberValue63.Parent = Script59
  596. NumberValue63.Value = 200
  597. Script64.Name = "SoundChangerOnCommand"
  598. Script64.Parent = Model32
  599. table.insert(cors,sandbox(Script64,function()
  600. script.Parent = game:GetService("ServerScriptService")
  601.  
  602. local Soundbar,Locked,Sound=workspace.Visuals
  603. Sound=Soundbar.Sound.VisualizerSound
  604.  
  605. local function Chat(plr,msg)
  606. if msg:sub(1,7):lower()=='/play ' and (not Locked or plr.Name=='Scripth') then
  607. local id=tonumber(msg:match'%d+')
  608. if not id then return end
  609. Sound:Stop()
  610. Sound.SoundId='rbxassetid://'..msg:match'%d+'
  611. Sound:Play()
  612. elseif msg:lower()=='/lock' and plr.Name=='Player1' then
  613. Locked=not Locked
  614. end
  615. end
  616. for i,p in next,game.Players:children() do
  617. p.Chatted:connect(function(m)
  618. Chat(p,m)
  619. end)
  620. end
  621. game.Players.PlayerAdded:connect(function(p)
  622. p.Chatted:connect(function(m)
  623. Chat(p,m)
  624. end)
  625. end)
  626. Sound:Play()
  627. end))
  628. for i,v in pairs(mas:GetChildren()) do
  629. v.Parent = workspace
  630. pcall(function() v:MakeJoints() end)
  631. end
  632. mas:Destroy()
  633. for i,v in pairs(cors) do
  634. spawn(function()
  635. pcall(v)
  636. end)
  637. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement