Advertisement
Finnegan5

Music

Sep 23rd, 2017
907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.00 KB | None | 0 0
  1. local SpinPart = Instance.new('Part')
  2. SpinPart.Transparency = 1
  3. SpinPart.Size = Vector3.new(25,1,25)
  4. SpinPart.CanCollide = false
  5. SpinPart.FormFactor = 'Custom'
  6. local FX = Instance.new('ParticleEmitter',SpinPart)
  7. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://149310730",-0.1
  8. local FX = Instance.new('ParticleEmitter',SpinPart)
  9. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://149310730",0.1
  10. do
  11. local tspin = Instance.new('BodyAngularVelocity')
  12. tspin.angularvelocity = Vector3.new(0,1,0)
  13. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  14. tspin.Parent = SpinPart
  15. end
  16. local SpinPos = Instance.new('BodyPosition')
  17. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  18. SpinPos.Parent = SpinPart
  19.  
  20. function Equipped()
  21. IsEquipped = true
  22. local MyTorso = char.UpperTorso
  23. if MyTorso then
  24. spawn(function()
  25. local startTime = tick()
  26. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  27. SpinPart.Parent = MyTorso
  28. local fadeIn = true
  29. while IsEquipped do
  30. if not IsFreeFalling then
  31. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  32. end
  33. wait()
  34. end
  35. SpinPart.Parent = nil
  36.  
  37. end)
  38. end
  39. end
  40.  
  41. player = game.Players.LocalPlayer
  42. chara = player.Character
  43.  
  44. Void = nil
  45. VoidParts = {}
  46. Equipped = false
  47.  
  48. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  49. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  50. end
  51.  
  52. Player = player
  53. Character = chara
  54.  
  55. Humanoid = chara:FindFirstChild("Humanoid")
  56. UpperTorso = chara:FindFirstChild("UpperTorso")
  57. if not Player or not Humanoid or Humanoid.Health == 0 or not UpperTorso then
  58. return
  59. end
  60. Equipped = true
  61. Void = Instance.new("Model")
  62. Void.Name = "Void"
  63. Angle = 0
  64. for i = 1, 1 do
  65. local VoidPart = Instance.new("Part")
  66. VoidPart.Name = "VoidPart"
  67. VoidPart.Transparency = 1
  68. VoidPart.BrickColor = BrickColor.new("Really black")
  69. VoidPart.Material = Enum.Material.Plastic
  70. VoidPart.Shape = Enum.PartType.Block
  71. VoidPart.FormFactor = Enum.FormFactor.Custom
  72. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  73. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  74. VoidPart.Anchored = true
  75. VoidPart.CanCollide = false
  76. VoidPart.Locked = true
  77. VoidPart.Size = Vector3.new(10, 0.2, 10)
  78. local BlockMesh = Instance.new("BlockMesh")
  79. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  80. BlockMesh.Parent = VoidPart
  81. VoidPart.Parent = Void
  82. local Star = Instance.new("Decal", VoidPart)
  83. Star.Texture = "http://www.roblox.com/asset/?id=127817290"
  84. Star.Face = "Top"
  85. local Light = Instance.new("PointLight", VoidPart)
  86. Light.Color = Color3.new(1,0,0)
  87. Light.Brightness = 100
  88. Light.Range = 10
  89. table.insert(VoidParts, VoidPart)
  90. end
  91. Spawn(function()
  92. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and UpperTorso.Parent do
  93. if Angle == 360 then
  94. Angle = 0
  95. end
  96. Angle = Angle + 0.05
  97. local Hit, EndPosition = RayCast(UpperTorso.Position, Vector3.new(0, -1, 0), (UpperTorso.Size.Y * 6.5), {Character})
  98. if Hit then
  99. if not Void.Parent then
  100. Void.Parent = Character
  101. end
  102. for i, v in pairs(VoidParts) do
  103. v.CFrame = CFrame.new(UpperTorso.Position.X, EndPosition.Y, UpperTorso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  104. end
  105. else
  106. Void.Parent = nil
  107. end
  108. wait()
  109. end
  110. end)
  111.  
  112. --[[
  113. edited by WitherBlazestorm2
  114. credits goes to the original creators
  115. --]]
  116.  
  117. -- visualizer
  118. print("R15 Double music visualizer made by WitherBlazestorm2")
  119. print("Make sure to use R15 not R6 the other one which is the original is R6")
  120. local Parts = {}
  121. local Parts2 = {}
  122. local Direction = 1
  123. local loudness = 0
  124. local TColor = BrickColor.new("Black")
  125. for i = 1, 100 do
  126. local p = Instance.new("Part", game.Players.LocalPlayer.Character.UpperTorso)
  127. p.Size = Vector3.new(0.2, 0.2, 0.2)
  128. p.Anchored = true
  129. p.CanCollide = false
  130. p.Material = "Neon"
  131. p.Position = game.Players.LocalPlayer.Character.UpperTorso.Position
  132. table.insert(Parts, p)
  133. end
  134. for i = 1, 100 do
  135. local p = Instance.new("Part", game.Players.LocalPlayer.Character.UpperTorso)
  136. p.Size = Vector3.new(0.2, 0.2, 0.2)
  137. p.Anchored = true
  138. p.CanCollide = false
  139. p.Material = "Neon"
  140. p.Position = game.Players.LocalPlayer.Character.UpperTorso.Position
  141. table.insert(Parts2, p)
  142. end
  143. local sound = Instance.new("Sound", game.Players.LocalPlayer.Character.UpperTorso)
  144. sound.SoundId = "rbxassetid://574539049"
  145. sound.Volume = 1
  146. sound:Play()
  147. spawn(function()
  148. local SelectedPart = 0
  149. while true do
  150. if Direction == 1 then
  151. if SelectedPart < #Parts then
  152. SelectedPart = SelectedPart + Direction
  153. else
  154. Direction = -1
  155. TColor = BrickColor.Random()
  156. end
  157. elseif Direction == -1 then
  158. if SelectedPart > 1 then
  159. SelectedPart = SelectedPart + Direction
  160. else
  161. Direction = 1
  162. TColor = BrickColor.Random()
  163. end
  164. end
  165. local sel = Parts[SelectedPart]
  166. local sel2 = Parts2[SelectedPart]
  167. sel.BrickColor = BrickColor.Random()
  168. sel2.BrickColor = BrickColor.Random()
  169. loudness = sound.PlaybackLoudness / 500
  170. sel.Size = Vector3.new(loudness, loudness, 0.2)
  171. sel2.Size = Vector3.new(loudness, loudness, 0.2)
  172. wait()
  173. sel.BrickColor = TColor
  174. sel2.BrickColor = TColor
  175. end
  176. end)
  177. game:GetService("RunService").RenderStepped:connect(function()
  178. for i = 1, #Parts do
  179. if i == 1 then
  180. Parts[i].CFrame = Parts[i].CFrame:lerp(game.Players.LocalPlayer.Character.UpperTorso.CFrame, 0.9)
  181. else
  182. Parts[i].CFrame = Parts[i].CFrame:lerp(Parts[i - 1].CFrame * CFrame.Angles(-loudness / 20, math.sin(-loudness / 50), 0) * CFrame.new(0, 0, 0.15), 0.8)
  183. end
  184. end
  185. for i = 1, #Parts2 do
  186. if i == 1 then
  187. Parts2[i].CFrame = Parts2[i].CFrame:lerp(game.Players.LocalPlayer.Character.UpperTorso.CFrame, 0.9)
  188. else
  189. Parts2[i].CFrame = Parts2[i].CFrame:lerp(Parts2[i - 1].CFrame * CFrame.Angles(-loudness / 20, math.sin(loudness / 50), 0) * CFrame.new(0, 0, 0.15), 0.8)
  190. end
  191. end
  192. end)
  193.  
  194. -- visualizer gui
  195.  
  196. local visualizergui = Instance.new("ScreenGui")
  197. local Frame = Instance.new("Frame")
  198. local idvalue = Instance.new("TextBox")
  199. local play = Instance.new("TextButton")
  200. local volume = Instance.new("TextBox")
  201. local pitch = Instance.new("TextBox")
  202. local close = Instance.new("TextButton")
  203. local min = Instance.new("TextButton")
  204. local credits = Instance.new("TextLabel")
  205. local open = Instance.new("TextButton")
  206. local set2 = Instance.new("TextButton")
  207. local set1 = Instance.new("TextButton")
  208. local loop = Instance.new("TextButton")
  209.  
  210. --properties xd
  211. visualizergui.Name = "visualizergui"
  212. visualizergui.Parent = game.Players.LocalPlayer.PlayerGui
  213.  
  214. Frame.Parent = visualizergui
  215. Frame.BackgroundColor3 = Color3.new(0.701961, 0.952941, 1)
  216. Frame.BackgroundTransparency = 0.20000000298023
  217. Frame.BorderColor3 = Color3.new(0.211765, 0.329412, 0.415686)
  218. Frame.BorderSizePixel = 8
  219. Frame.Position = UDim2.new(0, 51, 0, 213)
  220. Frame.Size = UDim2.new(0, 418, 0, 213)
  221. Frame.Active = true
  222. Frame.Draggable = true
  223. Frame.Visible = false
  224.  
  225. idvalue.Name = "idvalue"
  226. idvalue.Parent = Frame
  227. idvalue.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  228. idvalue.BackgroundTransparency = 0.5
  229. idvalue.Size = UDim2.new(0, 418, 0, 50)
  230. idvalue.Font = Enum.Font.Fantasy
  231. idvalue.FontSize = Enum.FontSize.Size24
  232. idvalue.Text = "Put ID plz"
  233. idvalue.TextSize = 24
  234.  
  235. play.Name = "play"
  236. play.Parent = Frame
  237. play.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  238. play.BackgroundTransparency = 0.44999998807907
  239. play.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  240. play.BorderSizePixel = 3
  241. play.Position = UDim2.new(0, 9, 0, 82)
  242. play.Size = UDim2.new(0, 117, 0, 50)
  243. play.Font = Enum.Font.SourceSans
  244. play.FontSize = Enum.FontSize.Size28
  245. play.Text = "Play"
  246. play.TextSize = 28
  247.  
  248. volume.Name = "volume"
  249. volume.Parent = Frame
  250. volume.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  251. volume.BackgroundTransparency = 0.44999998807907
  252. volume.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  253. volume.BorderSizePixel = 3
  254. volume.Position = UDim2.new(0, 151, 0, 82)
  255. volume.Size = UDim2.new(0, 117, 0, 50)
  256. volume.Font = Enum.Font.SourceSans
  257. volume.FontSize = Enum.FontSize.Size28
  258. volume.Text = "Volume"
  259. volume.TextSize = 28
  260.  
  261. pitch.Name = "pitch"
  262. pitch.Parent = Frame
  263. pitch.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  264. pitch.BackgroundTransparency = 0.44999998807907
  265. pitch.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  266. pitch.BorderSizePixel = 3
  267. pitch.Position = UDim2.new(0, 291, 0, 82)
  268. pitch.Size = UDim2.new(0, 117, 0, 50)
  269. pitch.Font = Enum.Font.SourceSans
  270. pitch.FontSize = Enum.FontSize.Size28
  271. pitch.Text = "Pitch"
  272. pitch.TextSize = 28
  273.  
  274. close.Name = "close"
  275. close.Parent = Frame
  276. close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  277. close.BackgroundTransparency = 0.40000000596046
  278. close.Position = UDim2.new(0, 393, 0, 190)
  279. close.Size = UDim2.new(0, 25, 0, 23)
  280. close.Font = Enum.Font.SourceSans
  281. close.FontSize = Enum.FontSize.Size28
  282. close.Text = "X"
  283. close.TextSize = 28
  284.  
  285. min.Name = "min"
  286. min.Parent = Frame
  287. min.BackgroundColor3 = Color3.new(0.286275, 0.286275, 1)
  288. min.BackgroundTransparency = 0.40000000596046
  289. min.Position = UDim2.new(0, 357, 0, 190)
  290. min.Size = UDim2.new(0, 25, 0, 23)
  291. min.Font = Enum.Font.SourceSans
  292. min.FontSize = Enum.FontSize.Size36
  293. min.Text = "-"
  294. min.TextSize = 36
  295.  
  296. credits.Name = "credits"
  297. credits.Parent = Frame
  298. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  299. credits.BackgroundTransparency = 1
  300. credits.Position = UDim2.new(0, 0, 0, 161)
  301. credits.Size = UDim2.new(0, 200, 0, 52)
  302. credits.Font = Enum.Font.SourceSans
  303. credits.FontSize = Enum.FontSize.Size14
  304. credits.Text = "Credit to me for making the R15 version and also credit for the creators of the R6 version"
  305. credits.TextSize = 14
  306. credits.TextWrapped = true
  307.  
  308. open.Name = "open"
  309. open.Parent = visualizergui
  310. open.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  311. open.BackgroundTransparency = 0.44999998807907
  312. open.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  313. open.BorderSizePixel = 3
  314. open.Position = UDim2.new(0, 0, 0, 400)
  315. open.Size = UDim2.new(0, 59, 0, 50)
  316. open.Font = Enum.Font.SourceSans
  317. open.FontSize = Enum.FontSize.Size28
  318. open.Text = "Open to Play music"
  319. open.TextSize = 28
  320. open.Visible = false
  321.  
  322. set2.Name = "set2"
  323. set2.Parent = Frame
  324. set2.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  325. set2.BackgroundTransparency = 0.44999998807907
  326. set2.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  327. set2.BorderSizePixel = 3
  328. set2.Position = UDim2.new(0, 325, 0, 136)
  329. set2.Size = UDim2.new(0, 55, 0, 25)
  330. set2.Font = Enum.Font.SourceSans
  331. set2.FontSize = Enum.FontSize.Size24
  332. set2.Text = "Set the number"
  333. set2.TextSize = 24
  334. set2.TextWrapped = true
  335.  
  336. set1.Name = "set1"
  337. set1.Parent = Frame
  338. set1.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  339. set1.BackgroundTransparency = 0.44999998807907
  340. set1.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  341. set1.BorderSizePixel = 3
  342. set1.Position = UDim2.new(0, 181, 0, 136)
  343. set1.Size = UDim2.new(0, 55, 0, 25)
  344. set1.Font = Enum.Font.SourceSans
  345. set1.FontSize = Enum.FontSize.Size24
  346. set1.Text = "Set the number"
  347. set1.TextSize = 24
  348. set1.TextWrapped = true
  349.  
  350. loop.Name = "loop"
  351. loop.Parent = Frame
  352. loop.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  353. loop.BackgroundTransparency = 0.44999998807907
  354. loop.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  355. loop.BorderSizePixel = 3
  356. loop.Position = UDim2.new(0, 241, 0, 188)
  357. loop.Size = UDim2.new(0, 84, 0, 25)
  358. loop.Font = Enum.Font.SourceSans
  359. loop.FontSize = Enum.FontSize.Size18
  360. loop.Text = "Loop : OFF"
  361. loop.TextSize = 18
  362. loop.TextWrapped = true
  363.  
  364. -- functions
  365. function start()
  366. wait(0.5)
  367. Frame.Position = UDim2.new(0, -500, 0, 400)
  368. Frame.Visible = true
  369. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  370. end
  371.  
  372. if game.Players.LocalPlayer.Character then
  373. start()
  374. else
  375. print'character not found plz try again XD'
  376. end
  377.  
  378. function minimize()
  379. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  380. credits.Text = ""
  381. min.Text = ""
  382. close.Text = ""
  383. play.Text = ""
  384. pitch.Text = ""
  385. volume.Text = ""
  386. idvalue.Text = ""
  387. set1.Text = ""
  388. set2.Text = ""
  389. loop.Text = ""
  390. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  391. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  392. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  393. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  394. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  395. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  396. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  397. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  398. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  399. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  400. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  401. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  402. wait(0.5)
  403. Frame.Visible = false
  404. open.Visible = true
  405. end
  406.  
  407. function show()
  408. open.Visible = false
  409. Frame.Position = UDim2.new(0, -500, 0, 400)
  410. Frame.Visible = true
  411. credits.Text = "Credit for me for The R15 version and also credit to the creators the R6 version"
  412. min.Text = "-"
  413. close.Text = "X"
  414. play.Text = "Play the music ID"
  415. pitch.Text = "Pitch"
  416. volume.Text = "Volume"
  417. idvalue.Text = "Put Music ID in"
  418. set1.Text = "Set the number"
  419. set2.Text = "Set the number"
  420. loop.Text = "Loop : OFF"
  421. Frame:TweenSize(UDim2.new(0, 418, 0, 213),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  422. credits:TweenSize(UDim2.new(0, 200, 0, 52),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  423. min:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  424. close:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  425. idvalue:TweenSize(UDim2.new(0, 418, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  426. volume:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  427. play:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  428. pitch:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  429. set1:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  430. loop:TweenSize(UDim2.new(0, 84, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  431. set2:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  432. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint, 0.5)
  433. end
  434.  
  435. function exitdatshit()
  436. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  437. credits.Text = ""
  438. min.Text = ""
  439. close.Text = ""
  440. play.Text = ""
  441. pitch.Text = ""
  442. volume.Text = ""
  443. idvalue.Text = ""
  444. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  445. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  446. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  447. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  448. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  449. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  450. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  451. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  452. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  453. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  454. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  455. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  456. wait(0.5)
  457. visualizergui:Destroy()
  458. end
  459.  
  460. -- events
  461. wait(1)
  462. min.MouseButton1Down:connect(function()
  463. minimize()
  464. end)
  465.  
  466. open.MouseButton1Down:connect(function()
  467. show()
  468. end)
  469.  
  470. close.MouseButton1Down:connect(function()
  471. exitdatshit()
  472. end)
  473.  
  474. set1.MouseButton1Down:connect(function()
  475. sound.Volume = volume.Text
  476. end)
  477.  
  478. set2.MouseButton1Down:connect(function()
  479. sound.Pitch = pitch.Text
  480. end)
  481.  
  482. play.MouseButton1Down:connect(function()
  483. sound.TimePosition = 0
  484. sound.SoundId = "rbxassetid://" .. idvalue.Text
  485. end)
  486.  
  487. loop.MouseButton1Down:connect(function()
  488. if loop.Text == "Loop : OFF" then
  489. sound.Looped = true
  490. loop.Text = "Loop : ON"
  491. else
  492. sound.Looped = false
  493. loop.Text = "Loop : OFF"
  494. end
  495. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement