Disseya

Multi-Visualizer FE

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