Advertisement
Basykung7845

Test

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