Advertisement
sneakydodge123

music remake

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