Advertisement
Guest User

Untitled

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