PiterMosskva_TV

ViZuAlIzEr

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