voidman

Untitled

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