Advertisement
sneakydodge123

oof

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