Advertisement
voidman

Untitled

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