Advertisement
firasj082

Music script

May 14th, 2018
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.94 KB | None | 0 0
  1. player = game:GetService("Players").LocalPlayer
  2. char = player.Character
  3. hed = char:WaitForChild("Head")
  4. root = char:WaitForChild("HumanoidRootPart")
  5. rs = game:GetService("RunService").RenderStepped
  6. mouse = player:GetMouse()
  7. vismode = "rainbow"
  8. firstrun = true
  9. asdid = ""
  10. asdtext = ""
  11. asdtimeposition = 0
  12. asdvolume = 0
  13. asdpitch = 0
  14. asdmax = 0
  15. mode = "local"
  16. asdhi=0
  17. asdmi=0
  18. asdlo=0
  19. asddist=0
  20. asdopen=false
  21. asdcolor = false
  22. synctarget = nil
  23. foundsound = false
  24.  
  25. mathrandom={x=0;y=0;z=0;}
  26.  
  27. local rdmx = math.random(0,1)
  28. local rdmy = math.random(0,1)
  29. local rdmz = math.random(0,1)
  30. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  31. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  32. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  33.  
  34. local origcolor = BrickColor.new("Really red")
  35. bc = BrickColor.new
  36. br = BrickColor.random
  37. it = Instance.new
  38. cf = CFrame.new
  39. euler = CFrame.fromEulerAnglesXYZ
  40. angles = CFrame.Angles
  41. matr = math.random
  42. it = Instance.new
  43. vt = Vector3.new
  44. cf = CFrame.new
  45. bc = BrickColor.new
  46.  
  47.  
  48. local leftkey = false
  49. local rightkey = false
  50. local typerot = 1
  51. local rotspeed = 1
  52. local negrotspeed = -1
  53. function swait(num)
  54. if num==0 or num==nil then
  55. game:service'RunService'.Stepped:wait(0)
  56. else
  57. for i=0,num do
  58. game:service'RunService'.Stepped:wait(0)
  59. end
  60. end
  61. end
  62.  
  63. local Create = LoadLibrary("RbxUtility").Create
  64.  
  65. CFuncs = {
  66. ["Part"] = {
  67. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  68. local Part = Create("Part"){
  69. Parent = Parent,
  70. Reflectance = Reflectance,
  71. Transparency = Transparency,
  72. CanCollide = false,
  73. Locked = true,
  74. BrickColor = BrickColor.new(tostring(BColor)),
  75. Name = Name,
  76. Size = Size,
  77. Material = Material,
  78. }
  79. RemoveOutlines(Part)
  80. return Part
  81. end;
  82. };
  83.  
  84. ["Mesh"] = {
  85. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  86. local Msh = Create(Mesh){
  87. Parent = Part,
  88. Offset = OffSet,
  89. Scale = Scale,
  90. }
  91. if Mesh == "SpecialMesh" then
  92. Msh.MeshType = MeshType
  93. Msh.MeshId = MeshId
  94. end
  95. return Msh
  96. end;
  97. };
  98.  
  99. ["Mesh"] = {
  100. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  101. local Msh = Create(Mesh){
  102. Parent = Part,
  103. Offset = OffSet,
  104. Scale = Scale,
  105. }
  106. if Mesh == "SpecialMesh" then
  107. Msh.MeshType = MeshType
  108. Msh.MeshId = MeshId
  109. end
  110. return Msh
  111. end;
  112. };
  113.  
  114. ["Weld"] = {
  115. Create = function(Parent, Part0, Part1, C0, C1)
  116. local Weld = Create("Weld"){
  117. Parent = Parent,
  118. Part0 = Part0,
  119. Part1 = Part1,
  120. C0 = C0,
  121. C1 = C1,
  122. }
  123. return Weld
  124. end;
  125. };
  126.  
  127. ["Sound"] = {
  128. Create = function(id, par, vol, pit)
  129. coroutine.resume(coroutine.create(function()
  130. local S = Create("Sound"){
  131. Volume = vol,
  132. Pitch = pit or 1,
  133. SoundId = id,
  134. Parent = par or workspace,
  135. }
  136. wait()
  137. S:play()
  138. game:GetService("Debris"):AddItem(S, 10)
  139. end))
  140. end;
  141. };
  142.  
  143. ["ParticleEmitter"] = {
  144. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  145. local fp = Create("ParticleEmitter"){
  146. Parent = Parent,
  147. Color = ColorSequence.new(Color1, Color2),
  148. LightEmission = LightEmission,
  149. Size = Size,
  150. Texture = Texture,
  151. Transparency = Transparency,
  152. ZOffset = ZOffset,
  153. Acceleration = Accel,
  154. Drag = Drag,
  155. LockedToPart = LockedToPart,
  156. VelocityInheritance = VelocityInheritance,
  157. EmissionDirection = EmissionDirection,
  158. Enabled = Enabled,
  159. Lifetime = LifeTime,
  160. Rate = Rate,
  161. Rotation = Rotation,
  162. RotSpeed = RotSpeed,
  163. Speed = Speed,
  164. VelocitySpread = VelocitySpread,
  165. }
  166. return fp
  167. end;
  168. };
  169.  
  170. CreateTemplate = {
  171.  
  172. };
  173. }
  174.  
  175.  
  176.  
  177. New = function(Object, Parent, Name, Data)
  178. local Object = Instance.new(Object)
  179. for Index, Value in pairs(Data or {}) do
  180. Object[Index] = Value
  181. end
  182. Object.Parent = Parent
  183. Object.Name = Name
  184. return Object
  185. end
  186.  
  187. function CreateSound(asd)
  188. if synctarget == nil then
  189. if mode == "local" then
  190. soundparent=char:WaitForChild("Torso")
  191. else
  192. soundparent=char
  193. end
  194. sound = Instance.new("Sound",soundparent)
  195. sound.Name = "KyuSound"
  196. sound.Looped = true
  197. effect = Instance.new("EqualizerSoundEffect",sound)
  198. coroutine.resume(coroutine.create(function()
  199. distort = Instance.new("DistortionSoundEffect",sound)
  200. end))
  201. if asd ~= nil then
  202. sound.SoundId = asdid
  203. sound.TimePosition = asdtimeposition
  204. end
  205. sound:Play()
  206. end
  207. end
  208.  
  209. function fetchName(id)
  210. cast = false
  211. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
  212. if cast == true then
  213. repeat rs:wait()
  214. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
  215. asdfname = product.Name
  216. until asdfname ~= nil
  217. else
  218. asdfname = ""
  219. end
  220. return asdfname
  221. end
  222.  
  223. function scan(instance)
  224. if instance.ClassName == "Sound" then
  225. if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then
  226. asdid = instance.SoundId
  227. sound = instance
  228. foundsound = true
  229. print("Sync to sound :)")
  230. end
  231. end
  232. for _,children in pairs(instance:GetChildren()) do scan(children) end
  233. end
  234.  
  235. function drawgui()
  236.  
  237. Prefix = "/"
  238. function findPlayer(name)
  239. for _, players in pairs(game:getService("Players"):GetPlayers()) do
  240. if players.Name:lower():find(name:lower()) then
  241. return players
  242. end
  243. end
  244. end
  245.  
  246. if firstrun == true then
  247. player.Chatted:connect(function(msg)
  248. if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then
  249. local v = msg:sub(#Prefix+#'sync '+1)
  250. foundsound = false
  251. synctarget = findPlayer(v)
  252. end
  253. end)
  254. end
  255.  
  256. naeeym2 = Instance.new("BillboardGui",root)
  257. naeeym2.Size = UDim2.new(10, 0, 4, 0)
  258. naeeym2.StudsOffset = Vector3.new(0, 7, 0)
  259. naeeym2.Adornee = root
  260. naeeym2.Name = "TalkingBillBoard"
  261. tecks2 = Instance.new("TextLabel",naeeym2)
  262. tecks2.BackgroundTransparency = 1
  263. tecks2.BorderSizePixel = 0
  264. if firstrun == true then
  265. tecks2.Text = ""
  266. else
  267. tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  268. end
  269. tecks2.Font = "Fantasy"
  270. tecks2.TextSize = 25
  271. tecks2.Size = UDim2.new(1,0,1,0)
  272. tecks2.TextStrokeTransparency = 0
  273. tecks2.TextTransparency = 0
  274.  
  275. parent = player.PlayerGui
  276. ScreenGui0 = Instance.new("ScreenGui")
  277. TextButton1 = Instance.new("TextButton")
  278. Frame2 = Instance.new("Frame")
  279. TextBox3 = Instance.new("TextBox")
  280. TextButton4 = Instance.new("TextButton")
  281. Frame5 = Instance.new("Frame")
  282. Frame6 = Instance.new("Frame")
  283. Frame7 = Instance.new("Frame")
  284. TextLabel8 = Instance.new("TextLabel")
  285. TextButton9 = Instance.new("TextButton")
  286. Frame10 = Instance.new("Frame")
  287. Frame11 = Instance.new("Frame")
  288. TextLabel12 = Instance.new("TextLabel")
  289. TextButton13 = Instance.new("TextButton")
  290. TextButton14 = Instance.new("TextButton")
  291. Frame15 = Instance.new("Frame")
  292. Frame16 = Instance.new("Frame")
  293. Frame17 = Instance.new("Frame")
  294. TextButton18 = Instance.new("TextButton")
  295. TextLabel19 = Instance.new("TextLabel")
  296. Frame20 = Instance.new("Frame")
  297. Frame21 = Instance.new("Frame")
  298. TextButton22 = Instance.new("TextButton")
  299. TextLabel23 = Instance.new("TextLabel")
  300. Frame24 = Instance.new("Frame")
  301. Frame25 = Instance.new("Frame")
  302. TextButton26 = Instance.new("TextButton")
  303. TextLabel27 = Instance.new("TextLabel")
  304. Frame28 = Instance.new("Frame")
  305. Frame29 = Instance.new("Frame")
  306. TextButton30 = Instance.new("TextButton")
  307. TextLabel31 = Instance.new("TextLabel")
  308. Frame32 = Instance.new("Frame")
  309. TextButton33 = Instance.new("TextButton")
  310. TextButton34 = Instance.new("TextButton")
  311. ScreenGui0.Name = "MusicPlayerKyu"
  312. ScreenGui0.Parent = parent
  313. TextButton1.AnchorPoint = Vector2.new(0, 0.5)
  314. TextButton1.Name = "Open/Close"
  315. TextButton1.Parent = ScreenGui0
  316. TextButton1.Size = UDim2.new(0, 20, 0, 300)
  317. TextButton1.Text = ">>"
  318. TextButton1.Position = UDim2.new(0, 0, 0.5, 0)
  319. TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
  320. TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
  321. TextButton1.Font = Enum.Font.Code
  322. Frame2.AnchorPoint = Vector2.new(0, 0.5)
  323. Frame2.Name = "Core"
  324. Frame2.Parent = ScreenGui0
  325. Frame2.Size = UDim2.new(0, 500, 0, 300)
  326. Frame2.Position = UDim2.new(0, 20, 0.5, 0)
  327. Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
  328. Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
  329. TextBox3.Name = "ID"
  330. TextBox3.Parent = Frame2
  331. TextBox3.Size = UDim2.new(0, 100, 0, 100)
  332. if firstrun == true then
  333. TextBox3.Text = "ID"
  334. else
  335. TextBox3.Text = asdtext
  336. end
  337. TextBox3.Position = UDim2.new(0, 50, 0, 20)
  338. TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
  339. TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
  340. TextBox3.Font = Enum.Font.SciFi
  341. TextBox3.FontSize = Enum.FontSize.Size14
  342. TextButton4.Name = "Play"
  343. TextButton4.Parent = TextBox3
  344. TextButton4.Size = UDim2.new(1, 0, 0, 20)
  345. TextButton4.Text = "PLAY"
  346. TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
  347. TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
  348. TextButton4.Font = Enum.Font.SciFi
  349. TextButton4.FontSize = Enum.FontSize.Size14
  350. TextButton4.AnchorPoint = Vector2.new(0.5, 0)
  351. Frame5.Name = "SettingsPanel"
  352. Frame5.Parent = Frame2
  353. Frame5.Size = UDim2.new(0, 300, 0, 150)
  354. Frame5.Position = UDim2.new(1, -20, 0, 20)
  355. Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  356. Frame5.AnchorPoint = Vector2.new(1, 0)
  357. Frame6.Name = "Volume"
  358. Frame6.Parent = Frame5
  359. Frame6.Transparency = 0
  360. Frame6.Size = UDim2.new(0, 100, 0, 100)
  361. Frame6.Position = UDim2.new(0, 100, 0.5, 0)
  362. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  363. Frame6.BackgroundTransparency = 1
  364. Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
  365. Frame7.Name = "Line"
  366. Frame7.Parent = Frame6
  367. Frame7.Size = UDim2.new(0, 1, 1, 0)
  368. Frame7.Position = UDim2.new(0.5, 0, 0, 0)
  369. Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  370. Frame7.BorderSizePixel = 0
  371. Frame7.AnchorPoint = Vector2.new(0.5, 0)
  372. TextLabel8.Name = "Text"
  373. TextLabel8.Parent = Frame6
  374. TextLabel8.Transparency = 0
  375. TextLabel8.Text = "Volume"
  376. TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
  377. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  378. TextLabel8.BackgroundTransparency = 1
  379. TextLabel8.Font = Enum.Font.SourceSans
  380. TextLabel8.FontSize = Enum.FontSize.Size10
  381. TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
  382. TextButton9.Name = "DragVol"
  383. TextButton9.Parent = Frame6
  384. TextButton9.Size = UDim2.new(0, 20, 0, 10)
  385. TextButton9.Text = ""
  386. if firstrun == true then
  387. TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
  388. else
  389. TextButton9.Position = asdvolume
  390. end
  391. TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  392. TextButton9.Font = Enum.Font.SourceSans
  393. TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
  394. Frame10.Name = "Pitch"
  395. Frame10.Parent = Frame5
  396. Frame10.Transparency = 0
  397. Frame10.Size = UDim2.new(0, 100, 0, 100)
  398. Frame10.Position = UDim2.new(0, 50, 0.5, 0)
  399. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  400. Frame10.BackgroundTransparency = 1
  401. Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
  402. Frame11.Name = "Line"
  403. Frame11.Parent = Frame10
  404. Frame11.Size = UDim2.new(0, 1, 1, 0)
  405. Frame11.Position = UDim2.new(0.5, 0, 0, 0)
  406. Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  407. Frame11.BorderSizePixel = 0
  408. Frame11.AnchorPoint = Vector2.new(0.5, 0)
  409. TextLabel12.Name = "Text"
  410. TextLabel12.Parent = Frame10
  411. TextLabel12.Transparency = 0
  412. TextLabel12.Text = "Pitch"
  413. TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
  414. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  415. TextLabel12.BackgroundTransparency = 1
  416. TextLabel12.Font = Enum.Font.SourceSans
  417. TextLabel12.FontSize = Enum.FontSize.Size10
  418. TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
  419. TextButton13.Name = "DragPitch"
  420. TextButton13.Parent = Frame10
  421. TextButton13.Size = UDim2.new(0, 20, 0, 10)
  422. TextButton13.Text = ""
  423. if firstrun == true then
  424. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  425. else
  426. TextButton13.Position = asdpitch
  427. end
  428. TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  429. TextButton13.Font = Enum.Font.SourceSans
  430. TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
  431. TextButton14.Name = "Reset"
  432. TextButton14.Parent = Frame10
  433. TextButton14.Size = UDim2.new(0, 20, 0, 20)
  434. TextButton14.Text = ""
  435. TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
  436. TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  437. TextButton14.Font = Enum.Font.SourceSans
  438. TextButton14.FontSize = Enum.FontSize.Size14
  439. TextButton14.AnchorPoint = Vector2.new(1, 0.5)
  440. Frame15.Name = "Others"
  441. Frame15.Parent = Frame5
  442. Frame15.Transparency = 0
  443. Frame15.Size = UDim2.new(0, 100, 0, 100)
  444. Frame15.Position = UDim2.new(0, 210, 0.5, 0)
  445. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  446. Frame15.BackgroundTransparency = 1
  447. Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
  448. Frame16.Name = "Low"
  449. Frame16.Parent = Frame15
  450. Frame16.Transparency = 0
  451. Frame16.Size = UDim2.new(0, 0, 1, 0)
  452. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  453. Frame16.BackgroundTransparency = 1
  454. Frame17.Name = "Line"
  455. Frame17.Parent = Frame16
  456. Frame17.Size = UDim2.new(0, 1, 1, 0)
  457. Frame17.Position = UDim2.new(0.5, 0, 0, 0)
  458. Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  459. Frame17.BorderSizePixel = 0
  460. Frame17.AnchorPoint = Vector2.new(0.5, 0)
  461. TextButton18.Name = "DragLow"
  462. TextButton18.Parent = Frame16
  463. TextButton18.Size = UDim2.new(0, 20, 0, 10)
  464. TextButton18.Text = ""
  465. if firstrun == true then
  466. TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
  467. else
  468. TextButton18.Position = asdlo
  469. end
  470. TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  471. TextButton18.Font = Enum.Font.SourceSans
  472. TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
  473. TextLabel19.Name = "Text"
  474. TextLabel19.Parent = Frame16
  475. TextLabel19.Transparency = 0
  476. TextLabel19.Text = "Low"
  477. TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
  478. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  479. TextLabel19.BackgroundTransparency = 1
  480. TextLabel19.Font = Enum.Font.SourceSans
  481. TextLabel19.FontSize = Enum.FontSize.Size10
  482. TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
  483. Frame20.Name = "Medium"
  484. Frame20.Parent = Frame15
  485. Frame20.Transparency = 0
  486. Frame20.Size = UDim2.new(0, 0, 1, 0)
  487. Frame20.Position = UDim2.new(0, 40, 0, 0)
  488. Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
  489. Frame20.BackgroundTransparency = 1
  490. Frame21.Name = "Line"
  491. Frame21.Parent = Frame20
  492. Frame21.Size = UDim2.new(0, 1, 1, 0)
  493. Frame21.Position = UDim2.new(0.5, 0, 0, 0)
  494. Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  495. Frame21.BorderSizePixel = 0
  496. Frame21.AnchorPoint = Vector2.new(0.5, 0)
  497. TextButton22.Name = "DragMed"
  498. TextButton22.Parent = Frame20
  499. TextButton22.Size = UDim2.new(0, 20, 0, 10)
  500. TextButton22.Text = ""
  501. if firstrun == true then
  502. TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
  503. else
  504. TextButton22.Position = asdmi
  505. end
  506. TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  507. TextButton22.Font = Enum.Font.SourceSans
  508. TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
  509. TextLabel23.Name = "Text"
  510. TextLabel23.Parent = Frame20
  511. TextLabel23.Transparency = 0
  512. TextLabel23.Text = "Medium"
  513. TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
  514. TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
  515. TextLabel23.BackgroundTransparency = 1
  516. TextLabel23.Font = Enum.Font.SourceSans
  517. TextLabel23.FontSize = Enum.FontSize.Size10
  518. TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
  519. Frame24.Name = "High"
  520. Frame24.Parent = Frame15
  521. Frame24.Transparency = 0
  522. Frame24.Size = UDim2.new(0, 0, 1, 0)
  523. Frame24.Position = UDim2.new(0, 80, 0, 0)
  524. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  525. Frame24.BackgroundTransparency = 1
  526. Frame25.Name = "Line"
  527. Frame25.Parent = Frame24
  528. Frame25.Size = UDim2.new(0, 1, 1, 0)
  529. Frame25.Position = UDim2.new(0.5, 0, 0, 0)
  530. Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  531. Frame25.BorderSizePixel = 0
  532. Frame25.AnchorPoint = Vector2.new(0.5, 0)
  533. TextButton26.Name = "DragHigh"
  534. TextButton26.Parent = Frame24
  535. TextButton26.Size = UDim2.new(0, 20, 0, 10)
  536. TextButton26.Text = ""
  537. if firstrun == true then
  538. TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
  539. else
  540. TextButton26.Position = asdhi
  541. end
  542. TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  543. TextButton26.Font = Enum.Font.SourceSans
  544. TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
  545. TextLabel27.Name = "Text"
  546. TextLabel27.Parent = Frame24
  547. TextLabel27.Transparency = 0
  548. TextLabel27.Text = "High"
  549. TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
  550. TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  551. TextLabel27.BackgroundTransparency = 1
  552. TextLabel27.Font = Enum.Font.SourceSans
  553. TextLabel27.FontSize = Enum.FontSize.Size10
  554. TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
  555. Frame28.Name = "Distortion"
  556. Frame28.Parent = Frame15
  557. Frame28.Transparency = 0
  558. Frame28.Size = UDim2.new(0, 0, 1, 0)
  559. Frame28.Position = UDim2.new(0, 120, 0, 0)
  560. Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
  561. Frame28.BackgroundTransparency = 1
  562. Frame29.Name = "Line"
  563. Frame29.Parent = Frame28
  564. Frame29.Size = UDim2.new(0, 1, 1, 0)
  565. Frame29.Position = UDim2.new(0.5, 0, 0, 0)
  566. Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  567. Frame29.BorderSizePixel = 0
  568. Frame29.AnchorPoint = Vector2.new(0.5, 0)
  569. TextButton30.Name = "DragDist"
  570. TextButton30.Parent = Frame28
  571. TextButton30.Size = UDim2.new(0, 20, 0, 10)
  572. TextButton30.Text = ""
  573. if firstrun == true then
  574. TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
  575. else
  576. TextButton30.Position = asddist
  577. end
  578. TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  579. TextButton30.Font = Enum.Font.SourceSans
  580. TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
  581. TextLabel31.Name = "Text"
  582. TextLabel31.Parent = Frame28
  583. TextLabel31.Transparency = 0
  584. TextLabel31.Text = "Dist"
  585. TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
  586. TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
  587. TextLabel31.BackgroundTransparency = 1
  588. TextLabel31.Font = Enum.Font.SourceSans
  589. TextLabel31.FontSize = Enum.FontSize.Size10
  590. TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
  591. Frame32.Name = "Line"
  592. Frame32.Parent = Frame5
  593. Frame32.Size = UDim2.new(0, 1, 1, -20)
  594. Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
  595. Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  596. Frame32.BorderSizePixel = 0
  597. Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
  598. TextButton33.Name = "Global/Local"
  599. TextButton33.Parent = Frame2
  600. TextButton33.Size = UDim2.new(0, 100, 0, 100)
  601. if mode == "local" then
  602. TextButton33.Text = "LOCAL"
  603. else
  604. TextButton33.Text = "GLOBAL"
  605. end
  606. TextButton33.Position = UDim2.new(0, 50, 0, 180)
  607. TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
  608. TextButton33.Font = Enum.Font.SciFi
  609. TextButton33.FontSize = Enum.FontSize.Size14
  610. TextButton34.Name = "Style"
  611. TextButton34.Parent = Frame2
  612. TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
  613. TextButton34.Text = "Style: "..vismode
  614. TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
  615. TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  616. TextButton34.Font = Enum.Font.SciFi
  617. TextButton34.FontSize = Enum.FontSize.Size14
  618. TextButton34.TextColor3 = Color3.new(1, 1, 0)
  619. TextButton34.AnchorPoint = Vector2.new(0.5, 0)
  620. Frame2.Visible = asdopen
  621.  
  622. draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
  623. held = false
  624. trigger = nil
  625. base = UDim2.new(0,0,0,0)
  626.  
  627. TextButton1.MouseButton1Click:connect(function()
  628. if Frame2.Visible == true then
  629. Frame2.Visible = false
  630. asdopen = false
  631. TextButton1.Text = ">>"
  632. else
  633. Frame2.Visible = true
  634. asdopen = true
  635. TextButton1.Text = "<<"
  636. end
  637. end)
  638.  
  639. TextButton4.MouseButton1Click:connect(function()
  640. if mode == "local" then
  641. if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
  642. else
  643. if not char:FindFirstChild("KyuSound") then CreateSound() end
  644. end
  645. synctarget = nil
  646. sound:Stop()
  647. soundname = fetchName(TextBox3.Text)
  648. tecks2.Text = soundname
  649. asdid = "rbxassetid://"..TextBox3.Text
  650. sound:Play()
  651. end)
  652.  
  653. TextButton14.MouseButton1Click:connect(function()
  654. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  655. end)
  656.  
  657. TextButton33.MouseButton1Click:connect(function()
  658. if synctarget == nil then
  659. if mode == "local" then
  660. mode = "global"
  661. TextButton33.Text = "GLOBAL"
  662. if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  663. sound:Pause()
  664. sound.Parent = char
  665. sound:Resume()
  666. end
  667. else
  668. mode = "local"
  669. TextButton33.Text = "LOCAL"
  670. if char:FindFirstChild("KyuSound") then
  671. sound:Pause()
  672. sound.Parent = char:WaitForChild("Torso")
  673. sound:Resume()
  674. end
  675. end
  676. end
  677. end)
  678.  
  679. function changemode()
  680. if vismode == "nothing" then
  681. vismode = "rainbow"
  682. local rdmx = math.random(0,1)
  683. local rdmy = math.random(0,1)
  684. local rdmz = math.random(0,1)
  685. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  686. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  687. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  688. elseif vismode == "rainbow" then
  689. vismode = "classic"
  690. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  691. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  692. part:Destroy()
  693. elseif vismode == "classic" then
  694. vismode = "trail"
  695. local rdmx = math.random(0,1)
  696. local rdmy = math.random(0,1)
  697. local rdmz = math.random(0,1)
  698. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  699. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  700. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  701. elseif vismode == "trail" then
  702. part:Destroy()
  703. vismode = "nooby"
  704. elseif vismode == "nooby" then
  705. vismode = "trail kyu"
  706. centralpart:Destroy()
  707. local rdmx = math.random(0,1)
  708. local rdmy = math.random(0,1)
  709. local rdmz = math.random(0,1)
  710. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  711. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  712. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  713. elseif vismode == "trail kyu" then
  714. part:Destroy()
  715. vismode = "nothing"
  716. end
  717. end
  718.  
  719. TextButton34.MouseButton1Click:connect(function()
  720. changemode()
  721. end)
  722.  
  723. for i,v in pairs(draggable) do
  724. v.MouseButton1Down:connect(function()
  725. trigger = v
  726. base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
  727. held = true
  728. end)
  729. v.MouseButton1Up:connect(function()
  730. base = UDim2.new(0.5,0,0.5,0)
  731. trigger = nil
  732. held = false
  733. end)
  734. end
  735.  
  736. mouse.Button1Up:connect(function()
  737. base = UDim2.new(0.5,0,0.5,0)
  738. trigger = nil
  739. held = false
  740. end)
  741.  
  742. mouse.Move:connect(function()
  743. if held then
  744. trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
  745. if trigger.Position.Y.Offset > 50 then
  746. trigger.Position = UDim2.new(0.5, 0,0.5, 50)
  747. end
  748. if trigger.Position.Y.Offset < -50 then
  749. trigger.Position = UDim2.new(0.5, 0,0.5, -50)
  750. end
  751. if trigger.Position.X.Offset ~= 0 then
  752. trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
  753. end
  754. end
  755. end)
  756. max = asdmax
  757. Visualiser = Instance.new("Model",char)
  758. Visualiser2 = Instance.new("Model",Visualiser)
  759. Visualiser2.Name = "VisualiserK"
  760. Main = Instance.new("Part",Visualiser)
  761. Main.Name = "VisualiserClassic"
  762. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  763. Main.CanCollide = false
  764. Main.Size = Vector3.new(1,1,1)
  765. Main.Transparency = 1
  766. Visualiserpos = Instance.new("Attachment",Main)
  767. Visualiserpos.Position = Vector3.new(5,0,0)
  768. Visualiserpos2 = Instance.new("Attachment",Main)
  769. Visualiserpos2.Position = Vector3.new(-5,0,0)
  770. bp = Instance.new("BodyPosition",Main)
  771. bp.P = 3500
  772. ba = Instance.new("BodyAngularVelocity",Main)
  773. firstrun = false
  774. end
  775.  
  776. local i = 0
  777.  
  778. while rs:wait() do
  779.  
  780. script.Parent = nil
  781. char = player.Character
  782. root = char:WaitForChild("HumanoidRootPart")
  783.  
  784. if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
  785. drawgui()
  786. CreateSound("BACKUP")
  787. end
  788.  
  789. if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
  790. CreateSound("BACKUP")
  791. end
  792.  
  793. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  794. asdvolume = sound.Volume
  795. asdtimeposition = sound.TimePosition
  796. end
  797.  
  798. if sound.SoundId ~= asdid and synctarget == nil then
  799. sound:Stop()
  800. sound.SoundId = asdid
  801. soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  802. sound.TimePosition = asdtimeposition
  803. sound:Play()
  804. end
  805.  
  806. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  807. if max < sound.PlaybackLoudness then
  808. max = sound.PlaybackLoudness
  809. end
  810. if max > 0 then
  811. max = max -1
  812. end
  813. if not sound:FindFirstChild("EqualizerSoundEffect") then
  814. effect = Instance.new("EqualizerSoundEffect",sound)
  815. end
  816. if not sound:FindFirstChild("DistortionSoundEffect") then
  817. coroutine.resume(coroutine.create(function()
  818. distort = Instance.new("DistortionSoundEffect",sound)
  819. end))
  820. end
  821. sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
  822. sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  823. coroutine.resume(coroutine.create(function()
  824. distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
  825. end))
  826. effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
  827. effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
  828. effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
  829. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  830. local change = 0.1+(max/5000)
  831. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  832. v.Transparency = v.Transparency + 0.05
  833. local light = v:FindFirstChildOfClass("PointLight")
  834. light.Brightness = 2+sound.PlaybackLoudness/25
  835. light.Range = 5+sound.PlaybackLoudness/10
  836. if v.Transparency >= 1 then
  837. v:Destroy()
  838. end
  839. end
  840. else
  841. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  842. local change = 0.1
  843. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  844. v.Transparency = v.Transparency + 0.05
  845. if v.Transparency >= 1 then
  846. v:Destroy()
  847. end
  848. end
  849. end
  850. if vismode == "classic" then
  851. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  852. blockm = Instance.new("BlockMesh",block)
  853. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  854. change = sound.PlaybackLoudness/80
  855. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  856. end
  857. block.Anchored = true
  858. block.CanCollide = false
  859. block.Material = Enum.Material.Neon
  860. block.Size = Vector3.new(1,1,1)
  861. light = Instance.new("PointLight",block)
  862. light.Color = Color3.fromHSV(0,0,1)
  863. light.Brightness = 2+sound.PlaybackLoudness/25
  864. light.Range = 5+sound.PlaybackLoudness/10
  865. block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  866. --------------
  867. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  868. blockm = Instance.new("BlockMesh",block)
  869. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  870. change = sound.PlaybackLoudness/80
  871. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  872. end
  873. block.Anchored = true
  874. block.CanCollide = false
  875. block.Material = Enum.Material.Neon
  876. block.Size = Vector3.new(1,1,1)
  877. light = Instance.new("PointLight",block)
  878. light.Color = Color3.fromHSV(0,0,1)
  879. light.Brightness = 2+sound.PlaybackLoudness/25
  880. light.Range = 5+sound.PlaybackLoudness/10
  881. block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  882.  
  883. ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0)
  884. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  885. tecks2.TextColor3 = Color3.fromHSV(0,0,0)
  886. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1)
  887. elseif vismode == "rainbow" then
  888. if not char:FindFirstChild("VisualiserRGB") then
  889. part=Instance.new("Part",char)
  890. part.Name="VisualiserRGB"
  891. part.Position=root.Position + Vector3.new(0,10,0)
  892. part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  893. blockmesh=Instance.new("BlockMesh",part)
  894. end
  895. if not part:FindFirstChildOfClass("BodyPosition") then
  896. bp2=Instance.new("BodyPosition",part)
  897. end
  898. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  899. ba2=Instance.new("BodyAngularVelocity",part)
  900. end
  901. if not part:FindFirstChildOfClass("PointLight") then
  902. light=Instance.new("PointLight",part)
  903. end
  904. part.Color = Color3.fromHSV(i,1,1)
  905. light.Color = Color3.fromHSV(i,1,1)
  906. light.Brightness = 2+sound.PlaybackLoudness/25
  907. light.Range = 5+sound.PlaybackLoudness/10
  908. part:BreakJoints()
  909. part.CanCollide = false
  910. part.Material = Enum.Material.Neon
  911. blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150))
  912. part.Size = Vector3.new(1,1,1)
  913. bp2.Position = root.Position + Vector3.new(0,10,0)
  914. ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
  915. tecks2.TextColor3 = Color3.fromHSV(0,0,1)
  916. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  917.  
  918. if i >= 1 then
  919. i = 0
  920. else
  921. i = i + 0.005
  922. end
  923.  
  924. elseif vismode == "trail" then
  925.  
  926. if not char:FindFirstChild("VisualiserRGB") then
  927. local function createtrail(part0,part1,parent)
  928. local trail = Instance.new("Trail",parent)
  929. trail.Attachment0 = part0
  930. trail.Attachment1 = part1
  931. trail.MinLength = 0
  932. trail.Lifetime = 0.05
  933. trail.LightEmission = 1
  934. trail.LightInfluence = 0
  935. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  936. --trail.Transparency = NumberSequence.new(0,1)
  937. end
  938. part=Instance.new("Part",char)
  939. part.Name="VisualiserRGB"
  940. part.Position=root.Position + Vector3.new(0,10,0)
  941. part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  942. blockmesh=Instance.new("BlockMesh",part)
  943. A = Instance.new("Attachment",part)
  944. B = Instance.new("Attachment",part)
  945. C = Instance.new("Attachment",part)
  946. D = Instance.new("Attachment",part)
  947. E = Instance.new("Attachment",part)
  948. F = Instance.new("Attachment",part)
  949. G = Instance.new("Attachment",part)
  950. H = Instance.new("Attachment",part)
  951. A.Position = Vector3.new(1,1,1)
  952. B.Position = Vector3.new(1,-1,1)
  953. C.Position = Vector3.new(-1,1,1)
  954. D.Position = Vector3.new(-1,-1,1)
  955.  
  956. E.Position = Vector3.new(1,1,-1)
  957. F.Position = Vector3.new(1,-1,-1)
  958. G.Position = Vector3.new(-1,1,-1)
  959. H.Position = Vector3.new(-1,-1,-1)
  960. createtrail(A,E,part)
  961. createtrail(B,F,part)
  962. createtrail(C,G,part)
  963. createtrail(D,H,part)
  964. createtrail(A,B,part)
  965. createtrail(C,D,part)
  966. createtrail(E,F,part)
  967. createtrail(G,H,part)
  968. createtrail(A,C,part)
  969. createtrail(B,D,part)
  970. createtrail(E,G,part)
  971. createtrail(F,H,part)
  972. end
  973. if not part:FindFirstChildOfClass("BodyPosition") then
  974. bp2=Instance.new("BodyPosition",part)
  975. end
  976. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  977. ba2=Instance.new("BodyAngularVelocity",part)
  978. end
  979. if not part:FindFirstChildOfClass("PointLight") then
  980. light=Instance.new("PointLight",part)
  981. end
  982. part.Color = Color3.fromHSV(i,1,1)
  983. light.Color = Color3.fromHSV(i,1,1)
  984. light.Brightness = 2+sound.PlaybackLoudness/25
  985. light.Range = 5+sound.PlaybackLoudness/10
  986. part:BreakJoints()
  987. part.CanCollide = false
  988. part.Material = Enum.Material.Neon
  989. local asd = 1+(sound.PlaybackLoudness/150)
  990. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  991. part.Size = Vector3.new(1,1,1)
  992. bp2.Position = root.Position + Vector3.new(0,10,0)
  993. ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
  994. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  995. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  996. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  997. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  998. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  999. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  1000.  
  1001. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  1002. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  1003. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  1004. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  1005.  
  1006. if i >= 0.8 then
  1007. asdcolor = true
  1008. elseif i <= 0.5 then
  1009. asdcolor = false
  1010. end
  1011.  
  1012. if asdcolor == true then
  1013. i = i - 0.001
  1014. else
  1015. i = i + 0.001
  1016. end
  1017. elseif vismode == "trail kyu" then
  1018.  
  1019. if not char:FindFirstChild("VisualiserRGB") then
  1020. local function createtrail(part0,part1,parent)
  1021. local trail = Instance.new("Trail",parent)
  1022. trail.Attachment0 = part0
  1023. trail.Attachment1 = part1
  1024. trail.MinLength = 0
  1025. trail.Lifetime = 0.05
  1026. trail.LightEmission = 1
  1027. trail.LightInfluence = 0
  1028. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  1029. --trail.Transparency = NumberSequence.new(0,1)
  1030. end
  1031. part=Instance.new("Part",char)
  1032. part.Name="VisualiserRGB"
  1033. part.Position=root.Position + Vector3.new(0,10,0)
  1034. part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  1035. blockmesh=Instance.new("BlockMesh",part)
  1036. part2=part:Clone()
  1037. part2.Parent = part
  1038. part2.Transparency = 1
  1039. part2.CFrame = CFrame.new(part2.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  1040.  
  1041. A = Instance.new("Attachment",part)
  1042. B = Instance.new("Attachment",part)
  1043. C = Instance.new("Attachment",part)
  1044. D = Instance.new("Attachment",part)
  1045. E = Instance.new("Attachment",part)
  1046. F = Instance.new("Attachment",part)
  1047. G = Instance.new("Attachment",part)
  1048. H = Instance.new("Attachment",part)
  1049. A2 = Instance.new("Attachment",part2)
  1050. B2 = Instance.new("Attachment",part2)
  1051. C2 = Instance.new("Attachment",part2)
  1052. D2 = Instance.new("Attachment",part2)
  1053. E2 = Instance.new("Attachment",part2)
  1054. F2 = Instance.new("Attachment",part2)
  1055. G2 = Instance.new("Attachment",part2)
  1056. H2 = Instance.new("Attachment",part2)
  1057.  
  1058. A.Position = Vector3.new(1,1,1)
  1059. B.Position = Vector3.new(1,-1,1)
  1060. C.Position = Vector3.new(-1,1,1)
  1061. D.Position = Vector3.new(-1,-1,1)
  1062.  
  1063. E.Position = Vector3.new(1,1,-1)
  1064. F.Position = Vector3.new(1,-1,-1)
  1065. G.Position = Vector3.new(-1,1,-1)
  1066. H.Position = Vector3.new(-1,-1,-1)
  1067.  
  1068. createtrail(A,E,part)
  1069. createtrail(B,F,part)
  1070. createtrail(C,G,part)
  1071. createtrail(D,H,part)
  1072. createtrail(A,B,part)
  1073. createtrail(C,D,part)
  1074. createtrail(E,F,part)
  1075. createtrail(G,H,part)
  1076. createtrail(A,C,part)
  1077. createtrail(B,D,part)
  1078. createtrail(E,G,part)
  1079. createtrail(F,H,part)
  1080.  
  1081. A2.Position = Vector3.new(1,1,1)
  1082. B2.Position = Vector3.new(1,-1,1)
  1083. C2.Position = Vector3.new(-1,1,1)
  1084. D2.Position = Vector3.new(-1,-1,1)
  1085.  
  1086. E2.Position = Vector3.new(1,1,-1)
  1087. F2.Position = Vector3.new(1,-1,-1)
  1088. G2.Position = Vector3.new(-1,1,-1)
  1089. H2.Position = Vector3.new(-1,-1,-1)
  1090. createtrail(A2,E2,part)
  1091. createtrail(B2,F2,part)
  1092. createtrail(C2,G2,part)
  1093. createtrail(D2,H2,part)
  1094. createtrail(A2,B2,part)
  1095. createtrail(C2,D2,part)
  1096. createtrail(E2,F2,part)
  1097. createtrail(G2,H2,part)
  1098. createtrail(A2,C2,part)
  1099. createtrail(B2,D2,part)
  1100. createtrail(E2,G2,part)
  1101. createtrail(F2,H2,part)
  1102.  
  1103. end
  1104. if not part:FindFirstChildOfClass("BodyPosition") then
  1105. bp2=Instance.new("BodyPosition",part)
  1106. end
  1107. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  1108. ba2=Instance.new("BodyAngularVelocity",part)
  1109. end
  1110. if not part:FindFirstChildOfClass("PointLight") then
  1111. light=Instance.new("PointLight",part)
  1112. end
  1113. if not part2:FindFirstChildOfClass("BodyPosition") then
  1114. bp3=Instance.new("BodyPosition",part2)
  1115. end
  1116. if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
  1117. ba3=Instance.new("BodyAngularVelocity",part2)
  1118. end
  1119. part.Color = Color3.fromHSV(i,1,1)
  1120. light.Color = Color3.fromHSV(i,1,1)
  1121. light.Brightness = 2+sound.PlaybackLoudness/25
  1122. light.Range = 5+sound.PlaybackLoudness/10
  1123. part:BreakJoints()
  1124. part.Material = Enum.Material.Neon
  1125. local asd = 1+(sound.PlaybackLoudness/150)
  1126. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  1127. part.Size = Vector3.new(1,1,1)
  1128. part2.Size = Vector3.new(1,1,1)
  1129. part.CanCollide = false
  1130. part2.CanCollide = false
  1131. bp2.Position = root.Position + Vector3.new(0,10,0)
  1132. ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
  1133. bp3.Position = root.Position + Vector3.new(0,10,0)
  1134. ba3.AngularVelocity = Vector3.new(-(mathrandom.x/100)-(sound.PlaybackLoudness/mathrandom.x),-(mathrandom.y/100)-(sound.PlaybackLoudness/mathrandom.y),-(mathrandom.z/100)-(sound.PlaybackLoudness/mathrandom.z))
  1135. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  1136. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  1137. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  1138. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  1139. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  1140. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  1141.  
  1142. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  1143. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  1144. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  1145. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  1146.  
  1147. A2.Position = Vector3.new(asd,asd,asd)
  1148. B2.Position = Vector3.new(asd,-asd,asd)
  1149. C2.Position = Vector3.new(-asd,asd,asd)
  1150. D2.Position = Vector3.new(-asd,-asd,asd)
  1151.  
  1152. E2.Position = Vector3.new(asd,asd,-asd)
  1153. F2.Position = Vector3.new(asd,-asd,-asd)
  1154. G2.Position = Vector3.new(-asd,asd,-asd)
  1155. H2.Position = Vector3.new(-asd,-asd,-asd)
  1156.  
  1157. if i >= 0.8 then
  1158. asdcolor = true
  1159. elseif i <= 0.5 then
  1160. asdcolor = false
  1161. end
  1162.  
  1163. if asdcolor == true then
  1164. i = i - 0.001
  1165. else
  1166. i = i + 0.001
  1167. end
  1168.  
  1169. elseif vismode == "nothing" then
  1170.  
  1171. tecks2.Text = ""
  1172.  
  1173. elseif vismode == "nooby" then
  1174. if not char:FindFirstChild("noobyvis") then
  1175. centralpart = it("Part",char)
  1176. centralpart.Name = "noobyvis"
  1177. centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0)
  1178. centralpart.Anchored = true
  1179. centralpart.Size = vt(1,1,1)
  1180. centralpart.Transparency = 1
  1181. centralpart.CanCollide = false
  1182. centralpart2a = it("Part",centralpart)
  1183. centralpart2a.CFrame = centralpart.CFrame
  1184. centralpart2a.Anchored = true
  1185. centralpart2a.Transparency = 0
  1186. centralpart2a.BrickColor = origcolor
  1187. centralpart2a.Material = "Neon"
  1188. centralpart2a.Size = vt(1,1,1)
  1189. centralpart2a.CanCollide = false
  1190.  
  1191. meshy = Instance.new("SpecialMesh", centralpart2a)
  1192. meshy.Scale = vt(1.05,1.05,1.05)
  1193. meshy.MeshType = "Sphere"
  1194.  
  1195. centralpart2 = it("Part",centralpart)
  1196. centralpart2.CFrame = centralpart.CFrame
  1197. centralpart2.Anchored = true
  1198. centralpart2.Transparency = 0.65
  1199. centralpart2.BrickColor = BrickColor.new("Really black")
  1200. centralpart2.Material = "Neon"
  1201. centralpart2.Size = vt(1,1,1)
  1202. centralpart2.CanCollide = false
  1203.  
  1204. meshy2 = Instance.new("SpecialMesh", centralpart2)
  1205. meshy2.Scale = vt(1.075,1.075,1.075)
  1206. meshy2.MeshType = "Sphere"
  1207.  
  1208.  
  1209. centralpart3 = it("Part",centralpart)
  1210. centralpart3.CFrame = centralpart.CFrame
  1211. centralpart3.Anchored = true
  1212. centralpart3.Transparency = 0.5
  1213. centralpart3.BrickColor = origcolor
  1214. centralpart3.Material = "Neon"
  1215. centralpart3.Size = vt(0.5,1,0.5)
  1216. centralpart3.CanCollide = false
  1217.  
  1218. meshy3 = Instance.new("SpecialMesh", centralpart3)
  1219. meshy3.Scale = vt(1,0.035,1.075)
  1220. meshy3.MeshType = "Brick"
  1221.  
  1222. centralpart4 = it("Part",centralpart)
  1223. centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0)
  1224. centralpart4.Anchored = true
  1225. centralpart4.Transparency = 0.5
  1226. centralpart4.BrickColor = origcolor
  1227. centralpart4.Material = "Neon"
  1228. centralpart4.Size = vt(0.5,1,0.5)
  1229. centralpart4.CanCollide = false
  1230.  
  1231. meshy4 = Instance.new("SpecialMesh", centralpart4)
  1232. meshy4.Scale = vt(1,0.035,1.075)
  1233. meshy4.MeshType = "Brick"
  1234.  
  1235. centralpart5 = it("Part",centralpart)
  1236. centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0)
  1237. centralpart5.Anchored = true
  1238. centralpart5.Transparency = 0.5
  1239. centralpart5.BrickColor = origcolor
  1240. centralpart5.Material = "Neon"
  1241. centralpart5.Size = vt(0.5,1,0.5)
  1242. centralpart5.CanCollide = false
  1243.  
  1244. meshy5 = Instance.new("SpecialMesh", centralpart5)
  1245. meshy5.Scale = vt(1,0.035,1.075)
  1246. meshy5.MeshType = "Brick"
  1247.  
  1248. centralpart6 = it("Part",centralpart)
  1249. centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  1250. centralpart6.Anchored = true
  1251. centralpart6.Transparency = 0.5
  1252. centralpart6.BrickColor = origcolor
  1253. centralpart6.Material = "Neon"
  1254. centralpart6.Size = vt(0.5,1,0.5)
  1255. centralpart6.CanCollide = false
  1256.  
  1257. meshy6 = Instance.new("SpecialMesh", centralpart6)
  1258. meshy6.Scale = vt(1,0.035,1.075)
  1259. meshy6.MeshType = "Brick"
  1260.  
  1261. centralpart7 = it("Part",centralpart)
  1262. centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0)
  1263. centralpart7.Anchored = true
  1264. centralpart7.Transparency = 0.5
  1265. centralpart7.BrickColor = origcolor
  1266. centralpart7.Material = "Neon"
  1267. centralpart7.Size = vt(0.5,1,0.5)
  1268. centralpart7.CanCollide = false
  1269.  
  1270. meshy7 = Instance.new("SpecialMesh", centralpart7)
  1271. meshy7.Scale = vt(1,0.035,1.075)
  1272. meshy7.MeshType = "Brick"
  1273.  
  1274. centralpart8 = it("Part",centralpart)
  1275. centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0)
  1276. centralpart8.Anchored = true
  1277. centralpart8.Transparency = 0.5
  1278. centralpart8.BrickColor = origcolor
  1279. centralpart8.Material = "Neon"
  1280. centralpart8.Size = vt(0.5,1,0.5)
  1281. centralpart8.CanCollide = false
  1282.  
  1283. meshy8 = Instance.new("SpecialMesh", centralpart8)
  1284. meshy8.Scale = vt(1,0.035,1.075)
  1285. meshy8.MeshType = "Brick"
  1286.  
  1287. centralpart9 = it("Part",centralpart)
  1288. centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  1289. centralpart9.Anchored = true
  1290. centralpart9.Transparency = 0.5
  1291. centralpart9.BrickColor = origcolor
  1292. centralpart9.Material = "Neon"
  1293. centralpart9.Size = vt(0.5,1,0.5)
  1294. centralpart9.CanCollide = false
  1295.  
  1296. meshy9 = Instance.new("SpecialMesh", centralpart9)
  1297. meshy9.Scale = vt(1,0.035,1.075)
  1298. meshy9.MeshType = "Brick"
  1299.  
  1300. centralpart10 = it("Part",centralpart)
  1301. centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0)
  1302. centralpart10.Anchored = true
  1303. centralpart10.Transparency = 0.5
  1304. centralpart10.BrickColor = origcolor
  1305. centralpart10.Material = "Neon"
  1306. centralpart10.Size = vt(0.5,1,0.5)
  1307. centralpart10.CanCollide = false
  1308.  
  1309. meshy10 = Instance.new("SpecialMesh", centralpart10)
  1310. meshy10.Scale = vt(1,0.035,1.075)
  1311. meshy10.MeshType = "Brick"
  1312.  
  1313. centralpart11 = it("Part",centralpart)
  1314. centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0)
  1315. centralpart11.Anchored = true
  1316. centralpart11.Transparency = 0.5
  1317. centralpart11.BrickColor = origcolor
  1318. centralpart11.Material = "Neon"
  1319. centralpart11.Size = vt(0.5,1,0.5)
  1320. centralpart11.CanCollide = false
  1321.  
  1322. meshy11 = Instance.new("SpecialMesh", centralpart11)
  1323. meshy11.Scale = vt(1,0.035,1.075)
  1324. meshy11.MeshType = "Brick"
  1325.  
  1326. centralpart12 = it("Part",centralpart)
  1327. centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  1328. centralpart12.Anchored = true
  1329. centralpart12.Transparency = 0.5
  1330. centralpart12.BrickColor = origcolor
  1331. centralpart12.Material = "Neon"
  1332. centralpart12.Size = vt(0.5,1,0.5)
  1333. centralpart12.CanCollide = false
  1334.  
  1335. meshy12 = Instance.new("SpecialMesh", centralpart12)
  1336. meshy12.Scale = vt(1,0.035,1.075)
  1337. meshy12.MeshType = "Brick"
  1338.  
  1339. centralpart13 = it("Part",centralpart)
  1340. centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0)
  1341. centralpart13.Anchored = true
  1342. centralpart13.Transparency = 0.5
  1343. centralpart13.BrickColor = origcolor
  1344. centralpart13.Material = "Neon"
  1345. centralpart13.Size = vt(0.5,1,0.5)
  1346. centralpart13.CanCollide = false
  1347.  
  1348. meshy13 = Instance.new("SpecialMesh", centralpart13)
  1349. meshy13.Scale = vt(1,0.035,1.075)
  1350. meshy13.MeshType = "Brick"
  1351.  
  1352. centralpart14 = it("Part",centralpart)
  1353. centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0)
  1354. centralpart14.Anchored = true
  1355. centralpart14.Transparency = 0.5
  1356. centralpart14.BrickColor = origcolor
  1357. centralpart14.Material = "Neon"
  1358. centralpart14.Size = vt(0.5,1,0.5)
  1359. centralpart14.CanCollide = false
  1360.  
  1361. meshy14 = Instance.new("SpecialMesh", centralpart14)
  1362. meshy14.Scale = vt(1,0.035,1.075)
  1363. meshy14.MeshType = "Brick"
  1364.  
  1365. centralpart15 = it("Part",centralpart)
  1366. centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0)
  1367. centralpart15.Anchored = true
  1368. centralpart15.Transparency = 0.5
  1369. centralpart15.BrickColor = origcolor
  1370. centralpart15.Material = "Neon"
  1371. centralpart15.Size = vt(0.5,1,0.5)
  1372. centralpart15.CanCollide = false
  1373.  
  1374. meshy15 = Instance.new("SpecialMesh", centralpart15)
  1375. meshy15.Scale = vt(1,0.035,1.075)
  1376. meshy15.MeshType = "Brick"
  1377.  
  1378. centralparto = it("Part",centralpart)
  1379. centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0)
  1380. centralparto.Anchored = true
  1381. centralparto.Transparency = 0.5
  1382. centralparto.BrickColor = BrickColor.new("Really black")
  1383. centralparto.Material = "Neon"
  1384. centralparto.Size = vt(0.5,1,0.5)
  1385. centralparto.CanCollide = false
  1386.  
  1387. meshyo = Instance.new("SpecialMesh", centralparto)
  1388. meshyo.Scale = vt(1.05,0.05,0.25)
  1389. meshyo.MeshType = "Sphere"
  1390.  
  1391. centralparto2 = it("Part",centralpart)
  1392. centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  1393. centralparto2.Anchored = true
  1394. centralparto2.Transparency = 0.5
  1395. centralparto2.BrickColor = BrickColor.new("Really black")
  1396. centralparto2.Material = "Neon"
  1397. centralparto2.Size = vt(0.5,1,0.5)
  1398. centralparto2.CanCollide = false
  1399.  
  1400. meshyo2 = Instance.new("SpecialMesh", centralparto2)
  1401. meshyo2.Scale = vt(1.05,0.05,0.25)
  1402. meshyo2.MeshType = "Sphere"
  1403.  
  1404. centralparto3 = it("Part",centralpart)
  1405. centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  1406. centralparto3.Anchored = true
  1407. centralparto3.Transparency = 0.5
  1408. centralparto3.BrickColor = BrickColor.new("Maroon")
  1409. centralparto3.Material = "Neon"
  1410. centralparto3.Size = vt(0.5,1,0.5)
  1411. centralparto3.CanCollide = false
  1412.  
  1413. meshyo3 = Instance.new("SpecialMesh", centralparto3)
  1414. meshyo3.Scale = vt(1.05,0.075,0.25)
  1415. meshyo3.MeshType = "Sphere"
  1416.  
  1417. centralparto4 = it("Part",centralpart)
  1418. centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  1419. centralparto4.Anchored = true
  1420. centralparto4.Transparency = 0.5
  1421. centralparto4.BrickColor = BrickColor.new("Maroon")
  1422. centralparto4.Material = "Neon"
  1423. centralparto4.Size = vt(0.5,1,0.5)
  1424. centralparto4.CanCollide = false
  1425.  
  1426. meshyo4 = Instance.new("SpecialMesh", centralparto4)
  1427. meshyo4.Scale = vt(1.05,0.075,0.25)
  1428. meshyo4.MeshType = "Sphere"
  1429.  
  1430. eff = Instance.new("ParticleEmitter",centralpart)
  1431. eff.Texture = "http://www.roblox.com/asset/?id=243664672"
  1432. eff.LightEmission = 0.75
  1433. eff.Color = ColorSequence.new(Color3.new(255,0,0))
  1434. eff.Lifetime = NumberRange.new(2.5)
  1435. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  1436. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
  1437. eff.Acceleration = Vector3.new(0,-75,0)
  1438. eff.Rotation = NumberRange.new(-500,500)
  1439. eff.VelocitySpread = 90
  1440. eff.RotSpeed = NumberRange.new(-500,500)
  1441.  
  1442.  
  1443. ogsize = meshy.Scale
  1444. ogsize2 = meshy2.Scale
  1445. ogsize3 = meshy3.Scale
  1446. ogsize4 = meshy4.Scale
  1447. ogsize5 = meshy5.Scale
  1448. ogsize6 = meshy6.Scale
  1449. ogsize7 = meshy7.Scale
  1450. ogsize8 = meshy8.Scale
  1451. ogsize9 = meshy9.Scale
  1452. ogsize10 = meshy10.Scale
  1453. ogsize11 = meshy11.Scale
  1454. ogsize12 = meshy12.Scale
  1455. ogsize13 = meshy13.Scale
  1456. ogsize14 = meshy14.Scale
  1457. ogsize15 = meshy15.Scale
  1458.  
  1459. ogsizeo = meshyo.Scale
  1460. ogsizeo2 = meshyo2.Scale
  1461. ogsizeo3 = meshyo3.Scale
  1462. ogsizeo4 = meshyo4.Scale
  1463. end
  1464. meshy.Scale = meshy.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/600*3.5,ogsize.Y+sound.PlaybackLoudness/600*3.5,ogsize.Z+sound.PlaybackLoudness/525*3.5),0.8)
  1465. meshy2.Scale = meshy2.Scale:lerp(Vector3.new(ogsize2.X+sound.PlaybackLoudness/500*3.5,ogsize2.Y+sound.PlaybackLoudness/500*3.5,ogsize2.Z+sound.PlaybackLoudness/500*3.5),0.8)
  1466. meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8)
  1467. meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8)
  1468. meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8)
  1469. meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8)
  1470. meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8)
  1471. meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8)
  1472. meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8)
  1473. meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8)
  1474. meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8)
  1475. meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8)
  1476. meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8)
  1477. meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8)
  1478. meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8)
  1479.  
  1480. meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8)
  1481. meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8)
  1482. meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8)
  1483. meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8)
  1484. centralpart.Position = root.Position + Vector3.new(0,5,0)
  1485. centralpart3.Position = centralpart.Position
  1486. centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1487. centralpart4.Position = centralpart.Position
  1488. centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1489. centralpart5.Position = centralpart.Position
  1490. centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1491. centralpart6.Position = centralpart.Position
  1492. centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1493. centralpart7.Position = centralpart.Position
  1494. centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1495. centralpart8.Position = centralpart.Position
  1496. centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1497. centralpart9.Position = centralpart.Position
  1498. centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1499. centralpart10.Position = centralpart.Position
  1500. centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1501. centralpart11.Position = centralpart.Position
  1502. centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1503. centralpart12.Position = centralpart.Position
  1504. centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1505. centralpart13.Position = centralpart.Position
  1506. centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1507. centralpart14.Position = centralpart.Position
  1508. centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1509. centralpart15.Position = centralpart.Position
  1510. centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1511.  
  1512. centralparto.Position = centralpart.Position
  1513. centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  1514. centralparto2.Position = centralpart.Position
  1515. centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  1516. centralparto3.Position = centralpart.Position
  1517. centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  1518. centralparto4.Position = centralpart.Position
  1519. centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  1520. centralpart.CFrame = centralpart.CFrame
  1521. centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  1522. centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  1523. eff.Rate = sound.PlaybackLoudness/3
  1524. eff.Speed = NumberRange.new(sound.PlaybackLoudness/5)
  1525. eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0))
  1526. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
  1527. centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0)
  1528. centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  1529. centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  1530.  
  1531. tecks2.TextColor3 = Color3.fromRGB(255,0,0)
  1532. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0)
  1533. end
  1534. Visualiserpos.Position = Vector3.new(5+(max/10),0,0)
  1535. Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0)
  1536. Main:BreakJoints()
  1537. Main.Anchored = false
  1538. TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  1539. TextButton34.Text = "Style: "..vismode
  1540. asdmax = max
  1541. asdvolume = TextButton9.Position
  1542. asdpitch = TextButton13.Position
  1543. asddist = TextButton30.Position
  1544. asdhi = TextButton26.Position
  1545. asdmi = TextButton22.Position
  1546. asdlo = TextButton18.Position
  1547. asdtext = TextBox3.Text
  1548. if synctarget == nil then
  1549. foundsound = false
  1550. else
  1551. if foundsound == false then
  1552. print("Trying to Sync...")
  1553. scan(synctarget.Character)
  1554. else
  1555. asdid = sound.SoundId
  1556. end
  1557. end
  1558. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement