Advertisement
zephpsian

Untitled

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