Advertisement
Axeuer

Untitled

Mar 31st, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.66 KB | None | 0 0
  1. a--[[
  2. edited by mr steal yo bork with a sweet gui
  3. credits goes to the original creators
  4. --]]
  5.  
  6. -- visualizer
  7. local Parts = {}
  8. local Parts2 = {}
  9. local Direction = 1
  10. local loudness = 0
  11. local TColor = BrickColor.new("Black")
  12. for i = 1, 100 do
  13. local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  14. p.Size = Vector3.new(0.2, 0.2, 0.2)
  15. p.Anchored = true
  16. p.CanCollide = false
  17. p.Material = "Neon"
  18. p.Position = game.Players.LocalPlayer.Character.Torso.Position
  19. table.insert(Parts, p)
  20. end
  21. for i = 1, 100 do
  22. local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  23. p.Size = Vector3.new(0.2, 0.2, 0.2)
  24. p.Anchored = true
  25. p.CanCollide = false
  26. p.Material = "Neon"
  27. p.Position = game.Players.LocalPlayer.Character.Torso.Position
  28. table.insert(Parts2, p)
  29. end
  30. local sound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  31. sound.SoundId = "rbxassetid://751441818"
  32. sound.Volume = 1
  33. sound:Play()
  34. spawn(function()
  35. local SelectedPart = 0
  36. while true do
  37. if Direction == 1 then
  38. if SelectedPart < #Parts then
  39. SelectedPart = SelectedPart + Direction
  40. else
  41. Direction = -1
  42. TColor = BrickColor.Random()
  43. end
  44. elseif Direction == -1 then
  45. if SelectedPart > 1 then
  46. SelectedPart = SelectedPart + Direction
  47. else
  48. Direction = 1
  49. TColor = BrickColor.Random()
  50. end
  51. end
  52. local sel = Parts[SelectedPart]
  53. local sel2 = Parts2[SelectedPart]
  54. sel.BrickColor = BrickColor.Random()
  55. sel2.BrickColor = BrickColor.Random()
  56. loudness = sound.PlaybackLoudness / 500
  57. sel.Size = Vector3.new(loudness, loudness, 0.2)
  58. sel2.Size = Vector3.new(loudness, loudness, 0.2)
  59. wait()
  60. sel.BrickColor = TColor
  61. sel2.BrickColor = TColor
  62. end
  63. end)
  64. game:GetService("RunService").RenderStepped:connect(function()
  65. for i = 1, #Parts do
  66. if i == 1 then
  67. Parts[i].CFrame = Parts[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9)
  68. else
  69. 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)
  70. end
  71. end
  72. for i = 1, #Parts2 do
  73. if i == 1 then
  74. Parts2[i].CFrame = Parts2[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9)
  75. else
  76. 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)
  77. end
  78. end
  79. end)
  80.  
  81. -- visualizer gui
  82.  
  83. local visualizergui = Instance.new("ScreenGui")
  84. local Frame = Instance.new("Frame")
  85. local idvalue = Instance.new("TextBox")
  86. local play = Instance.new("TextButton")
  87. local volume = Instance.new("TextBox")
  88. local pitch = Instance.new("TextBox")
  89. local close = Instance.new("TextButton")
  90. local min = Instance.new("TextButton")
  91. local credits = Instance.new("TextLabel")
  92. local open = Instance.new("TextButton")
  93. local set2 = Instance.new("TextButton")
  94. local set1 = Instance.new("TextButton")
  95. local loop = Instance.new("TextButton")
  96.  
  97. --properties xd
  98. visualizergui.Name = "visualizergui"
  99. visualizergui.Parent = game.Players.LocalPlayer.PlayerGui
  100.  
  101. Frame.Parent = visualizergui
  102. Frame.BackgroundColor3 = Color3.new(0.701961, 0.952941, 1)
  103. Frame.BackgroundTransparency = 0.20000000298023
  104. Frame.BorderColor3 = Color3.new(0.211765, 0.329412, 0.415686)
  105. Frame.BorderSizePixel = 8
  106. Frame.Position = UDim2.new(0, 51, 0, 213)
  107. Frame.Size = UDim2.new(0, 418, 0, 213)
  108. Frame.Active = true
  109. Frame.Draggable = true
  110. Frame.Visible = false
  111.  
  112. idvalue.Name = "idvalue"
  113. idvalue.Parent = Frame
  114. idvalue.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  115. idvalue.BackgroundTransparency = 0.5
  116. idvalue.Size = UDim2.new(0, 418, 0, 50)
  117. idvalue.Font = Enum.Font.Fantasy
  118. idvalue.FontSize = Enum.FontSize.Size24
  119. idvalue.Text = "Put ID plz"
  120. idvalue.TextSize = 24
  121.  
  122. play.Name = "play"
  123. play.Parent = Frame
  124. play.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  125. play.BackgroundTransparency = 0.44999998807907
  126. play.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  127. play.BorderSizePixel = 3
  128. play.Position = UDim2.new(0, 9, 0, 82)
  129. play.Size = UDim2.new(0, 117, 0, 50)
  130. play.Font = Enum.Font.SourceSans
  131. play.FontSize = Enum.FontSize.Size28
  132. play.Text = "Play"
  133. play.TextSize = 28
  134.  
  135. volume.Name = "volume"
  136. volume.Parent = Frame
  137. volume.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  138. volume.BackgroundTransparency = 0.44999998807907
  139. volume.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  140. volume.BorderSizePixel = 3
  141. volume.Position = UDim2.new(0, 151, 0, 82)
  142. volume.Size = UDim2.new(0, 117, 0, 50)
  143. volume.Font = Enum.Font.SourceSans
  144. volume.FontSize = Enum.FontSize.Size28
  145. volume.Text = "Volume"
  146. volume.TextSize = 28
  147.  
  148. pitch.Name = "pitch"
  149. pitch.Parent = Frame
  150. pitch.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  151. pitch.BackgroundTransparency = 0.44999998807907
  152. pitch.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  153. pitch.BorderSizePixel = 3
  154. pitch.Position = UDim2.new(0, 291, 0, 82)
  155. pitch.Size = UDim2.new(0, 117, 0, 50)
  156. pitch.Font = Enum.Font.SourceSans
  157. pitch.FontSize = Enum.FontSize.Size28
  158. pitch.Text = "Pitch"
  159. pitch.TextSize = 28
  160.  
  161. close.Name = "close"
  162. close.Parent = Frame
  163. close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  164. close.BackgroundTransparency = 0.40000000596046
  165. close.Position = UDim2.new(0, 393, 0, 190)
  166. close.Size = UDim2.new(0, 25, 0, 23)
  167. close.Font = Enum.Font.SourceSans
  168. close.FontSize = Enum.FontSize.Size28
  169. close.Text = "X"
  170. close.TextSize = 28
  171.  
  172. min.Name = "min"
  173. min.Parent = Frame
  174. min.BackgroundColor3 = Color3.new(0.286275, 0.286275, 1)
  175. min.BackgroundTransparency = 0.40000000596046
  176. min.Position = UDim2.new(0, 357, 0, 190)
  177. min.Size = UDim2.new(0, 25, 0, 23)
  178. min.Font = Enum.Font.SourceSans
  179. min.FontSize = Enum.FontSize.Size36
  180. min.Text = "-"
  181. min.TextSize = 36
  182.  
  183. credits.Name = "credits"
  184. credits.Parent = Frame
  185. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  186. credits.BackgroundTransparency = 1
  187. credits.Position = UDim2.new(0, 0, 0, 161)
  188. credits.Size = UDim2.new(0, 200, 0, 52)
  189. credits.Font = Enum.Font.SourceSans
  190. credits.FontSize = Enum.FontSize.Size14
  191. credits.Text = "credits to mr steal yo bork for gui, i didn't make the visualizer credits to whoever leaked it or made it."
  192. credits.TextSize = 14
  193. credits.TextWrapped = true
  194.  
  195. open.Name = "open"
  196. open.Parent = visualizergui
  197. open.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  198. open.BackgroundTransparency = 0.44999998807907
  199. open.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  200. open.BorderSizePixel = 3
  201. open.Position = UDim2.new(0, 0, 0, 400)
  202. open.Size = UDim2.new(0, 59, 0, 50)
  203. open.Font = Enum.Font.SourceSans
  204. open.FontSize = Enum.FontSize.Size28
  205. open.Text = "Open"
  206. open.TextSize = 28
  207. open.Visible = false
  208.  
  209. set2.Name = "set2"
  210. set2.Parent = Frame
  211. set2.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  212. set2.BackgroundTransparency = 0.44999998807907
  213. set2.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  214. set2.BorderSizePixel = 3
  215. set2.Position = UDim2.new(0, 325, 0, 136)
  216. set2.Size = UDim2.new(0, 55, 0, 25)
  217. set2.Font = Enum.Font.SourceSans
  218. set2.FontSize = Enum.FontSize.Size24
  219. set2.Text = "Set"
  220. set2.TextSize = 24
  221. set2.TextWrapped = true
  222.  
  223. set1.Name = "set1"
  224. set1.Parent = Frame
  225. set1.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  226. set1.BackgroundTransparency = 0.44999998807907
  227. set1.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  228. set1.BorderSizePixel = 3
  229. set1.Position = UDim2.new(0, 181, 0, 136)
  230. set1.Size = UDim2.new(0, 55, 0, 25)
  231. set1.Font = Enum.Font.SourceSans
  232. set1.FontSize = Enum.FontSize.Size24
  233. set1.Text = "Set"
  234. set1.TextSize = 24
  235. set1.TextWrapped = true
  236.  
  237. loop.Name = "loop"
  238. loop.Parent = Frame
  239. loop.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  240. loop.BackgroundTransparency = 0.44999998807907
  241. loop.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  242. loop.BorderSizePixel = 3
  243. loop.Position = UDim2.new(0, 241, 0, 188)
  244. loop.Size = UDim2.new(0, 84, 0, 25)
  245. loop.Font = Enum.Font.SourceSans
  246. loop.FontSize = Enum.FontSize.Size18
  247. loop.Text = "Loop : OFF"
  248. loop.TextSize = 18
  249. loop.TextWrapped = true
  250.  
  251. -- functions
  252. function start()
  253. wait(0.5)
  254. Frame.Position = UDim2.new(0, -500, 0, 400)
  255. Frame.Visible = true
  256. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  257. end
  258.  
  259. if game.Players.LocalPlayer.Character then
  260. start()
  261. else
  262. print'character not found plz try again XD'
  263. end
  264.  
  265. function minimize()
  266. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  267. credits.Text = ""
  268. min.Text = ""
  269. close.Text = ""
  270. play.Text = ""
  271. pitch.Text = ""
  272. volume.Text = ""
  273. idvalue.Text = ""
  274. set1.Text = ""
  275. set2.Text = ""
  276. loop.Text = ""
  277. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  278. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  279. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  280. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  281. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  282. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  283. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  284. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  285. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  286. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  287. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  288. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  289. wait(0.5)
  290. Frame.Visible = false
  291. open.Visible = true
  292. end
  293.  
  294. function show()
  295. open.Visible = false
  296. Frame.Position = UDim2.new(0, -500, 0, 400)
  297. Frame.Visible = true
  298. credits.Text = "credits to me for gui, i didn't make the visualizer credits to whoever leaked it or made it."
  299. min.Text = "-"
  300. close.Text = "X"
  301. play.Text = "Play"
  302. pitch.Text = "Pitch"
  303. volume.Text = "Volume"
  304. idvalue.Text = "Put ID plz"
  305. set1.Text = "Set"
  306. set2.Text = "Set"
  307. loop.Text = "Loop : OFF"
  308. Frame:TweenSize(UDim2.new(0, 418, 0, 213),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  309. credits:TweenSize(UDim2.new(0, 200, 0, 52),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  310. min:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  311. close:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  312. idvalue:TweenSize(UDim2.new(0, 418, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  313. volume:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  314. play:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  315. pitch:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  316. set1:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  317. loop:TweenSize(UDim2.new(0, 84, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  318. set2:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  319. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint, 0.5)
  320. end
  321.  
  322. function exitdatshit()
  323. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  324. credits.Text = ""
  325. min.Text = ""
  326. close.Text = ""
  327. play.Text = ""
  328. pitch.Text = ""
  329. volume.Text = ""
  330. idvalue.Text = ""
  331. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  332. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  333. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  334. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  335. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  336. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  337. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  338. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  339. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  340. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  341. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  342. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  343. wait(0.5)
  344. visualizergui:Destroy()
  345. end
  346.  
  347. -- events
  348. wait(1)
  349. min.MouseButton1Down:connect(function()
  350. minimize()
  351. end)
  352.  
  353. open.MouseButton1Down:connect(function()
  354. show()
  355. end)
  356.  
  357. close.MouseButton1Down:connect(function()
  358. exitdatshit()
  359. end)
  360.  
  361. set1.MouseButton1Down:connect(function()
  362. sound.Volume = volume.Text
  363. end)
  364.  
  365. set2.MouseButton1Down:connect(function()
  366. sound.Pitch = pitch.Text
  367. end)
  368.  
  369. play.MouseButton1Down:connect(function()
  370. sound.TimePosition = 0
  371. sound.SoundId = "rbxassetid://" .. idvalue.Text
  372. end)
  373.  
  374. loop.MouseButton1Down:connect(function()
  375. if loop.Text == "Loop : OFF" then
  376. sound.Looped = true
  377. loop.Text = "Loop : ON"
  378. else
  379. sound.Looped = false
  380. loop.Text = "Loop : OFF"
  381. end
  382. end)--[[
  383. edited by mr steal yo bork with a sweet gui
  384. credits goes to the original creators
  385. --]]
  386.  
  387. -- visualizer
  388. local Parts = {}
  389. local Parts2 = {}
  390. local Direction = 1
  391. local loudness = 0
  392. local TColor = BrickColor.new("Black")
  393. for i = 1, 100 do
  394. local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  395. p.Size = Vector3.new(0.2, 0.2, 0.2)
  396. p.Anchored = true
  397. p.CanCollide = false
  398. p.Material = "Neon"
  399. p.Position = game.Players.LocalPlayer.Character.Torso.Position
  400. table.insert(Parts, p)
  401. end
  402. for i = 1, 100 do
  403. local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  404. p.Size = Vector3.new(0.2, 0.2, 0.2)
  405. p.Anchored = true
  406. p.CanCollide = false
  407. p.Material = "Neon"
  408. p.Position = game.Players.LocalPlayer.Character.Torso.Position
  409. table.insert(Parts2, p)
  410. end
  411. local sound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  412. sound.SoundId = "rbxassetid://751441818"
  413. sound.Volume = 1
  414. sound:Play()
  415. spawn(function()
  416. local SelectedPart = 0
  417. while true do
  418. if Direction == 1 then
  419. if SelectedPart < #Parts then
  420. SelectedPart = SelectedPart + Direction
  421. else
  422. Direction = -1
  423. TColor = BrickColor.Random()
  424. end
  425. elseif Direction == -1 then
  426. if SelectedPart > 1 then
  427. SelectedPart = SelectedPart + Direction
  428. else
  429. Direction = 1
  430. TColor = BrickColor.Random()
  431. end
  432. end
  433. local sel = Parts[SelectedPart]
  434. local sel2 = Parts2[SelectedPart]
  435. sel.BrickColor = BrickColor.Random()
  436. sel2.BrickColor = BrickColor.Random()
  437. loudness = sound.PlaybackLoudness / 500
  438. sel.Size = Vector3.new(loudness, loudness, 0.2)
  439. sel2.Size = Vector3.new(loudness, loudness, 0.2)
  440. wait()
  441. sel.BrickColor = TColor
  442. sel2.BrickColor = TColor
  443. end
  444. end)
  445. game:GetService("RunService").RenderStepped:connect(function()
  446. for i = 1, #Parts do
  447. if i == 1 then
  448. Parts[i].CFrame = Parts[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9)
  449. else
  450. 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)
  451. end
  452. end
  453. for i = 1, #Parts2 do
  454. if i == 1 then
  455. Parts2[i].CFrame = Parts2[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9)
  456. else
  457. 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)
  458. end
  459. end
  460. end)
  461.  
  462. -- visualizer gui
  463.  
  464. local visualizergui = Instance.new("ScreenGui")
  465. local Frame = Instance.new("Frame")
  466. local idvalue = Instance.new("TextBox")
  467. local play = Instance.new("TextButton")
  468. local volume = Instance.new("TextBox")
  469. local pitch = Instance.new("TextBox")
  470. local close = Instance.new("TextButton")
  471. local min = Instance.new("TextButton")
  472. local credits = Instance.new("TextLabel")
  473. local open = Instance.new("TextButton")
  474. local set2 = Instance.new("TextButton")
  475. local set1 = Instance.new("TextButton")
  476. local loop = Instance.new("TextButton")
  477.  
  478. --properties xd
  479. visualizergui.Name = "visualizergui"
  480. visualizergui.Parent = game.Players.LocalPlayer.PlayerGui
  481.  
  482. Frame.Parent = visualizergui
  483. Frame.BackgroundColor3 = Color3.new(0.701961, 0.952941, 1)
  484. Frame.BackgroundTransparency = 0.20000000298023
  485. Frame.BorderColor3 = Color3.new(0.211765, 0.329412, 0.415686)
  486. Frame.BorderSizePixel = 8
  487. Frame.Position = UDim2.new(0, 51, 0, 213)
  488. Frame.Size = UDim2.new(0, 418, 0, 213)
  489. Frame.Active = true
  490. Frame.Draggable = true
  491. Frame.Visible = false
  492.  
  493. idvalue.Name = "idvalue"
  494. idvalue.Parent = Frame
  495. idvalue.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  496. idvalue.BackgroundTransparency = 0.5
  497. idvalue.Size = UDim2.new(0, 418, 0, 50)
  498. idvalue.Font = Enum.Font.Fantasy
  499. idvalue.FontSize = Enum.FontSize.Size24
  500. idvalue.Text = "Put ID plz"
  501. idvalue.TextSize = 24
  502.  
  503. play.Name = "play"
  504. play.Parent = Frame
  505. play.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  506. play.BackgroundTransparency = 0.44999998807907
  507. play.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  508. play.BorderSizePixel = 3
  509. play.Position = UDim2.new(0, 9, 0, 82)
  510. play.Size = UDim2.new(0, 117, 0, 50)
  511. play.Font = Enum.Font.SourceSans
  512. play.FontSize = Enum.FontSize.Size28
  513. play.Text = "Play"
  514. play.TextSize = 28
  515.  
  516. volume.Name = "volume"
  517. volume.Parent = Frame
  518. volume.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  519. volume.BackgroundTransparency = 0.44999998807907
  520. volume.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  521. volume.BorderSizePixel = 3
  522. volume.Position = UDim2.new(0, 151, 0, 82)
  523. volume.Size = UDim2.new(0, 117, 0, 50)
  524. volume.Font = Enum.Font.SourceSans
  525. volume.FontSize = Enum.FontSize.Size28
  526. volume.Text = "Volume"
  527. volume.TextSize = 28
  528.  
  529. pitch.Name = "pitch"
  530. pitch.Parent = Frame
  531. pitch.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  532. pitch.BackgroundTransparency = 0.44999998807907
  533. pitch.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  534. pitch.BorderSizePixel = 3
  535. pitch.Position = UDim2.new(0, 291, 0, 82)
  536. pitch.Size = UDim2.new(0, 117, 0, 50)
  537. pitch.Font = Enum.Font.SourceSans
  538. pitch.FontSize = Enum.FontSize.Size28
  539. pitch.Text = "Pitch"
  540. pitch.TextSize = 28
  541.  
  542. close.Name = "close"
  543. close.Parent = Frame
  544. close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  545. close.BackgroundTransparency = 0.40000000596046
  546. close.Position = UDim2.new(0, 393, 0, 190)
  547. close.Size = UDim2.new(0, 25, 0, 23)
  548. close.Font = Enum.Font.SourceSans
  549. close.FontSize = Enum.FontSize.Size28
  550. close.Text = "X"
  551. close.TextSize = 28
  552.  
  553. min.Name = "min"
  554. min.Parent = Frame
  555. min.BackgroundColor3 = Color3.new(0.286275, 0.286275, 1)
  556. min.BackgroundTransparency = 0.40000000596046
  557. min.Position = UDim2.new(0, 357, 0, 190)
  558. min.Size = UDim2.new(0, 25, 0, 23)
  559. min.Font = Enum.Font.SourceSans
  560. min.FontSize = Enum.FontSize.Size36
  561. min.Text = "-"
  562. min.TextSize = 36
  563.  
  564. credits.Name = "credits"
  565. credits.Parent = Frame
  566. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  567. credits.BackgroundTransparency = 1
  568. credits.Position = UDim2.new(0, 0, 0, 161)
  569. credits.Size = UDim2.new(0, 200, 0, 52)
  570. credits.Font = Enum.Font.SourceSans
  571. credits.FontSize = Enum.FontSize.Size14
  572. credits.Text = "credits to mr steal yo bork for gui, i didn't make the visualizer credits to whoever leaked it or made it."
  573. credits.TextSize = 14
  574. credits.TextWrapped = true
  575.  
  576. open.Name = "open"
  577. open.Parent = visualizergui
  578. open.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  579. open.BackgroundTransparency = 0.44999998807907
  580. open.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  581. open.BorderSizePixel = 3
  582. open.Position = UDim2.new(0, 0, 0, 400)
  583. open.Size = UDim2.new(0, 59, 0, 50)
  584. open.Font = Enum.Font.SourceSans
  585. open.FontSize = Enum.FontSize.Size28
  586. open.Text = "Open"
  587. open.TextSize = 28
  588. open.Visible = false
  589.  
  590. set2.Name = "set2"
  591. set2.Parent = Frame
  592. set2.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  593. set2.BackgroundTransparency = 0.44999998807907
  594. set2.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  595. set2.BorderSizePixel = 3
  596. set2.Position = UDim2.new(0, 325, 0, 136)
  597. set2.Size = UDim2.new(0, 55, 0, 25)
  598. set2.Font = Enum.Font.SourceSans
  599. set2.FontSize = Enum.FontSize.Size24
  600. set2.Text = "Set"
  601. set2.TextSize = 24
  602. set2.TextWrapped = true
  603.  
  604. set1.Name = "set1"
  605. set1.Parent = Frame
  606. set1.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  607. set1.BackgroundTransparency = 0.44999998807907
  608. set1.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  609. set1.BorderSizePixel = 3
  610. set1.Position = UDim2.new(0, 181, 0, 136)
  611. set1.Size = UDim2.new(0, 55, 0, 25)
  612. set1.Font = Enum.Font.SourceSans
  613. set1.FontSize = Enum.FontSize.Size24
  614. set1.Text = "Set"
  615. set1.TextSize = 24
  616. set1.TextWrapped = true
  617.  
  618. loop.Name = "loop"
  619. loop.Parent = Frame
  620. loop.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  621. loop.BackgroundTransparency = 0.44999998807907
  622. loop.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  623. loop.BorderSizePixel = 3
  624. loop.Position = UDim2.new(0, 241, 0, 188)
  625. loop.Size = UDim2.new(0, 84, 0, 25)
  626. loop.Font = Enum.Font.SourceSans
  627. loop.FontSize = Enum.FontSize.Size18
  628. loop.Text = "Loop : OFF"
  629. loop.TextSize = 18
  630. loop.TextWrapped = true
  631.  
  632. -- functions
  633. function start()
  634. wait(0.5)
  635. Frame.Position = UDim2.new(0, -500, 0, 400)
  636. Frame.Visible = true
  637. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  638. end
  639.  
  640. if game.Players.LocalPlayer.Character then
  641. start()
  642. else
  643. print'character not found plz try again XD'
  644. end
  645.  
  646. function minimize()
  647. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  648. credits.Text = ""
  649. min.Text = ""
  650. close.Text = ""
  651. play.Text = ""
  652. pitch.Text = ""
  653. volume.Text = ""
  654. idvalue.Text = ""
  655. set1.Text = ""
  656. set2.Text = ""
  657. loop.Text = ""
  658. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  659. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  660. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  661. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  662. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  663. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  664. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  665. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  666. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  667. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  668. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  669. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  670. wait(0.5)
  671. Frame.Visible = false
  672. open.Visible = true
  673. end
  674.  
  675. function show()
  676. open.Visible = false
  677. Frame.Position = UDim2.new(0, -500, 0, 400)
  678. Frame.Visible = true
  679. credits.Text = "credits to me for gui, i didn't make the visualizer credits to whoever leaked it or made it."
  680. min.Text = "-"
  681. close.Text = "X"
  682. play.Text = "Play"
  683. pitch.Text = "Pitch"
  684. volume.Text = "Volume"
  685. idvalue.Text = "Put ID plz"
  686. set1.Text = "Set"
  687. set2.Text = "Set"
  688. loop.Text = "Loop : OFF"
  689. Frame:TweenSize(UDim2.new(0, 418, 0, 213),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  690. credits:TweenSize(UDim2.new(0, 200, 0, 52),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  691. min:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  692. close:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  693. idvalue:TweenSize(UDim2.new(0, 418, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  694. volume:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  695. play:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  696. pitch:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  697. set1:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  698. loop:TweenSize(UDim2.new(0, 84, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  699. set2:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  700. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint, 0.5)
  701. end
  702.  
  703. function exitdatshit()
  704. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  705. credits.Text = ""
  706. min.Text = ""
  707. close.Text = ""
  708. play.Text = ""
  709. pitch.Text = ""
  710. volume.Text = ""
  711. idvalue.Text = ""
  712. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  713. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  714. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  715. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  716. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  717. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  718. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  719. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  720. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  721. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  722. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  723. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  724. wait(0.5)
  725. visualizergui:Destroy()
  726. end
  727.  
  728. -- events
  729. wait(1)
  730. min.MouseButton1Down:connect(function()
  731. minimize()
  732. end)
  733.  
  734. open.MouseButton1Down:connect(function()
  735. show()
  736. end)
  737.  
  738. close.MouseButton1Down:connect(function()
  739. exitdatshit()
  740. end)
  741.  
  742. set1.MouseButton1Down:connect(function()
  743. sound.Volume = volume.Text
  744. end)
  745.  
  746. set2.MouseButton1Down:connect(function()
  747. sound.Pitch = pitch.Text
  748. end)
  749.  
  750. play.MouseButton1Down:connect(function()
  751. sound.TimePosition = 0
  752. sound.SoundId = "rbxassetid://" .. idvalue.Text
  753. end)
  754.  
  755. loop.MouseButton1Down:connect(function()
  756. if loop.Text == "Loop : OFF" then
  757. sound.Looped = true
  758. loop.Text = "Loop : ON"
  759. else
  760. sound.Looped = false
  761. loop.Text = "Loop : OFF"
  762. end
  763. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement