Advertisement
SuperDragonFost

Untitled

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