Advertisement
-----------------

Kyutatsuki13's music player script

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