Advertisement
Guest User

Untitled

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