Advertisement
Guest User

Music Player And Visualizer For Roblox Void Script Builder

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