Advertisement
Diamond_Nicholas

vis 2

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