Advertisement
samuelrichter66

vis

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