Advertisement
Cute_Sylveon

test 5555

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