Advertisement
Dark_EccentricYT

Untitled

Jun 12th, 2020
2,979
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.23 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local Spotify = Instance.new("ScreenGui")
  7. local RequestToken = Instance.new("Frame")
  8. local continuebutton = Instance.new("TextButton")
  9. local tokentext = Instance.new("TextBox")
  10. local Top = Instance.new("Frame")
  11. local tokenname = Instance.new("TextLabel")
  12. local Keybinds = Instance.new("Frame")
  13. local continuebutton_2 = Instance.new("TextButton")
  14. local Top_2 = Instance.new("Frame")
  15. local tokenname_2 = Instance.new("TextLabel")
  16. local Features = Instance.new("Frame")
  17. local UIListLayout = Instance.new("UIListLayout")
  18. local pauseresume = Instance.new("TextLabel")
  19. local keybindbutton = Instance.new("TextButton")
  20. local skip = Instance.new("TextLabel")
  21. local keybindbutton_2 = Instance.new("TextButton")
  22. local previous = Instance.new("TextLabel")
  23. local keybindbutton_3 = Instance.new("TextButton")
  24. local Spotify_2 = Instance.new("Frame")
  25. local Background = Instance.new("Frame")
  26. local back = Instance.new("Frame")
  27. local playing = Instance.new("TextLabel")
  28. local time = Instance.new("TextLabel")
  29. local time2 = Instance.new("TextLabel")
  30. local progressbar = Instance.new("ImageLabel")
  31. local progresssize = Instance.new("ImageLabel")
  32. local buttons = Instance.new("Frame")
  33. local previous_2 = Instance.new("ImageButton")
  34. local skip_2 = Instance.new("ImageButton")
  35. local pauseresume_2 = Instance.new("ImageButton")
  36. local artist = Instance.new("TextLabel")
  37. local volumeslider = Instance.new("TextButton")
  38. local volumeslider_Roundify_12px = Instance.new("ImageLabel")
  39. local volumesize = Instance.new("ImageLabel")
  40. local Top_3 = Instance.new("Frame")
  41. local name = Instance.new("TextLabel")
  42. local togglebutton = Instance.new("ImageButton")
  43. local Features_2 = Instance.new("Frame")
  44. local UIListLayout_2 = Instance.new("UIListLayout")
  45. local resettoken = Instance.new("TextButton")
  46. local keybinds = Instance.new("TextButton")
  47. local error = Instance.new("TextLabel")
  48.  
  49. --Properties:
  50.  
  51. Spotify.Name = "Spotify"
  52. Spotify.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  53.  
  54. RequestToken.Name = "RequestToken"
  55. RequestToken.Parent = Spotify
  56. RequestToken.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  57. RequestToken.BorderSizePixel = 0
  58. RequestToken.Position = UDim2.new(0.5, -210, 0.5, -103)
  59. RequestToken.Size = UDim2.new(0, 420, 0, 206)
  60.  
  61. continuebutton.Name = "continuebutton"
  62. continuebutton.Parent = RequestToken
  63. continuebutton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  64. continuebutton.BorderSizePixel = 0
  65. continuebutton.Position = UDim2.new(0, 25, 1, -35)
  66. continuebutton.Size = UDim2.new(0.880952358, 0, 0.146341458, 0)
  67. continuebutton.Font = Enum.Font.Gotham
  68. continuebutton.Text = "Continue"
  69. continuebutton.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. continuebutton.TextSize = 14.000
  71.  
  72. tokentext.Name = "tokentext"
  73. tokentext.Parent = RequestToken
  74. tokentext.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  75. tokentext.BorderSizePixel = 0
  76. tokentext.ClipsDescendants = true
  77. tokentext.Position = UDim2.new(0, 25, 0, 5)
  78. tokentext.Size = UDim2.new(0.880952358, 0, 0.780487776, 0)
  79. tokentext.Font = Enum.Font.Gotham
  80. tokentext.PlaceholderText = "Token"
  81. tokentext.Text = ""
  82. tokentext.TextColor3 = Color3.fromRGB(255, 255, 255)
  83. tokentext.TextSize = 14.000
  84. tokentext.TextWrapped = true
  85.  
  86. Top.Name = "Top"
  87. Top.Parent = RequestToken
  88. Top.BackgroundColor3 = Color3.fromRGB(30, 215, 96)
  89. Top.BorderSizePixel = 0
  90. Top.Position = UDim2.new(0, 0, 0, -25)
  91. Top.Size = UDim2.new(1, 0, 0, 25)
  92.  
  93. tokenname.Name = "tokenname"
  94. tokenname.Parent = Top
  95. tokenname.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  96. tokenname.BackgroundTransparency = 1.000
  97. tokenname.Size = UDim2.new(1, 0, 0, 25)
  98. tokenname.Font = Enum.Font.Gotham
  99. tokenname.Text = "Spotify Token"
  100. tokenname.TextColor3 = Color3.fromRGB(0, 0, 0)
  101. tokenname.TextSize = 14.000
  102.  
  103. Keybinds.Name = "Keybinds"
  104. Keybinds.Parent = Spotify
  105. Keybinds.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  106. Keybinds.BorderSizePixel = 0
  107. Keybinds.Position = UDim2.new(0.5, -130, 0.5, -82)
  108. Keybinds.Size = UDim2.new(0, 260, 0, 164)
  109.  
  110. continuebutton_2.Name = "continuebutton"
  111. continuebutton_2.Parent = Keybinds
  112. continuebutton_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  113. continuebutton_2.BorderSizePixel = 0
  114. continuebutton_2.Position = UDim2.new(-0.0390000008, 25, 1, -27)
  115. continuebutton_2.Size = UDim2.new(0.880999982, 0, 0.145999998, 0)
  116. continuebutton_2.Font = Enum.Font.Gotham
  117. continuebutton_2.Text = "Continue"
  118. continuebutton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  119. continuebutton_2.TextSize = 14.000
  120.  
  121. Top_2.Name = "Top"
  122. Top_2.Parent = Keybinds
  123. Top_2.BackgroundColor3 = Color3.fromRGB(30, 215, 96)
  124. Top_2.BorderSizePixel = 0
  125. Top_2.Position = UDim2.new(0, 0, 0, -25)
  126. Top_2.Size = UDim2.new(1, 0, 0, 25)
  127.  
  128. tokenname_2.Name = "tokenname"
  129. tokenname_2.Parent = Top_2
  130. tokenname_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  131. tokenname_2.BackgroundTransparency = 1.000
  132. tokenname_2.Size = UDim2.new(1, 0, 0, 25)
  133. tokenname_2.Font = Enum.Font.Gotham
  134. tokenname_2.Text = "Keybinds"
  135. tokenname_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  136. tokenname_2.TextSize = 14.000
  137.  
  138. Features.Name = "Features"
  139. Features.Parent = Keybinds
  140. Features.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141. Features.BackgroundTransparency = 1.000
  142. Features.Position = UDim2.new(0.0539999641, 0, 0, 5)
  143. Features.Size = UDim2.new(0, 227, 0, 132)
  144.  
  145. UIListLayout.Parent = Features
  146. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  147. UIListLayout.Padding = UDim.new(0, 5)
  148.  
  149. pauseresume.Name = "pauseresume"
  150. pauseresume.Parent = Features
  151. pauseresume.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  152. pauseresume.BackgroundTransparency = 1.000
  153. pauseresume.ClipsDescendants = true
  154. pauseresume.Size = UDim2.new(1, 0, 0, 25)
  155. pauseresume.Font = Enum.Font.Gotham
  156. pauseresume.Text = "Pause / Resume"
  157. pauseresume.TextColor3 = Color3.fromRGB(255, 255, 255)
  158. pauseresume.TextSize = 14.000
  159. pauseresume.TextWrapped = true
  160. pauseresume.TextXAlignment = Enum.TextXAlignment.Left
  161.  
  162. keybindbutton.Name = "keybindbutton"
  163. keybindbutton.Parent = pauseresume
  164. keybindbutton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  165. keybindbutton.BorderSizePixel = 0
  166. keybindbutton.Position = UDim2.new(0.555502176, 0, 0, 0)
  167. keybindbutton.Size = UDim2.new(0.444497794, 0, -0.200000003, 30)
  168. keybindbutton.Font = Enum.Font.Gotham
  169. keybindbutton.Text = ""
  170. keybindbutton.TextColor3 = Color3.fromRGB(255, 255, 255)
  171. keybindbutton.TextSize = 10.000
  172.  
  173. skip.Name = "skip"
  174. skip.Parent = Features
  175. skip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  176. skip.BackgroundTransparency = 1.000
  177. skip.ClipsDescendants = true
  178. skip.Size = UDim2.new(1, 0, 0, 25)
  179. skip.Font = Enum.Font.Gotham
  180. skip.Text = "Skip song"
  181. skip.TextColor3 = Color3.fromRGB(255, 255, 255)
  182. skip.TextSize = 14.000
  183. skip.TextWrapped = true
  184. skip.TextXAlignment = Enum.TextXAlignment.Left
  185.  
  186. keybindbutton_2.Name = "keybindbutton"
  187. keybindbutton_2.Parent = skip
  188. keybindbutton_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  189. keybindbutton_2.BorderSizePixel = 0
  190. keybindbutton_2.Position = UDim2.new(0.555502176, 0, 0, 0)
  191. keybindbutton_2.Size = UDim2.new(0.444497794, 0, -0.200000003, 30)
  192. keybindbutton_2.Font = Enum.Font.Gotham
  193. keybindbutton_2.Text = ""
  194. keybindbutton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  195. keybindbutton_2.TextSize = 10.000
  196.  
  197. previous.Name = "previous"
  198. previous.Parent = Features
  199. previous.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  200. previous.BackgroundTransparency = 1.000
  201. previous.ClipsDescendants = true
  202. previous.Size = UDim2.new(1, 0, 0, 25)
  203. previous.Font = Enum.Font.Gotham
  204. previous.Text = "Previous song"
  205. previous.TextColor3 = Color3.fromRGB(255, 255, 255)
  206. previous.TextSize = 14.000
  207. previous.TextWrapped = true
  208. previous.TextXAlignment = Enum.TextXAlignment.Left
  209.  
  210. keybindbutton_3.Name = "keybindbutton"
  211. keybindbutton_3.Parent = previous
  212. keybindbutton_3.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  213. keybindbutton_3.BorderSizePixel = 0
  214. keybindbutton_3.Position = UDim2.new(0.555502176, 0, 0, 0)
  215. keybindbutton_3.Size = UDim2.new(0.444497794, 0, -0.200000003, 30)
  216. keybindbutton_3.Font = Enum.Font.Gotham
  217. keybindbutton_3.Text = ""
  218. keybindbutton_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  219. keybindbutton_3.TextSize = 10.000
  220.  
  221. Spotify_2.Name = "Spotify"
  222. Spotify_2.Parent = Spotify
  223. Spotify_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  224. Spotify_2.BackgroundTransparency = 1.000
  225. Spotify_2.ClipsDescendants = true
  226. Spotify_2.Position = UDim2.new(0.0335917324, 0, 0.0528255515, 0)
  227. Spotify_2.Size = UDim2.new(0, 306, 0, 300)
  228.  
  229. Background.Name = "Background"
  230. Background.Parent = Spotify_2
  231. Background.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  232. Background.BorderSizePixel = 0
  233. Background.ClipsDescendants = true
  234. Background.Size = UDim2.new(1, 0, 1, -25)
  235.  
  236. back.Name = "back"
  237. back.Parent = Background
  238. back.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  239. back.BorderSizePixel = 0
  240. back.Position = UDim2.new(0, 0, 1, -100)
  241. back.Size = UDim2.new(1, 0, 0, 100)
  242.  
  243. playing.Name = "playing"
  244. playing.Parent = back
  245. playing.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  246. playing.BackgroundTransparency = 1.000
  247. playing.Size = UDim2.new(1, 0, 0, 25)
  248. playing.Font = Enum.Font.Gotham
  249. playing.Text = " NULL"
  250. playing.TextColor3 = Color3.fromRGB(255, 255, 255)
  251. playing.TextSize = 14.000
  252. playing.TextWrapped = true
  253. playing.TextXAlignment = Enum.TextXAlignment.Left
  254.  
  255. time.Name = "time"
  256. time.Parent = back
  257. time.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  258. time.BackgroundTransparency = 1.000
  259. time.Position = UDim2.new(0, 0, 0, 50)
  260. time.Size = UDim2.new(1, 0, 0, 25)
  261. time.Font = Enum.Font.Gotham
  262. time.Text = " NULL"
  263. time.TextColor3 = Color3.fromRGB(255, 255, 255)
  264. time.TextSize = 14.000
  265. time.TextXAlignment = Enum.TextXAlignment.Left
  266.  
  267. time2.Name = "time2"
  268. time2.Parent = back
  269. time2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  270. time2.BackgroundTransparency = 1.000
  271. time2.Position = UDim2.new(0, 0, 0, 50)
  272. time2.Size = UDim2.new(1, 0, 0, 25)
  273. time2.Font = Enum.Font.Gotham
  274. time2.Text = "NULL "
  275. time2.TextColor3 = Color3.fromRGB(255, 255, 255)
  276. time2.TextSize = 14.000
  277. time2.TextXAlignment = Enum.TextXAlignment.Right
  278.  
  279. progressbar.Name = "progressbar"
  280. progressbar.Parent = back
  281. progressbar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  282. progressbar.BackgroundTransparency = 1.000
  283. progressbar.Position = UDim2.new(0.188999996, 0, 0, 60)
  284. progressbar.Size = UDim2.new(0.625, 0, 0, 6)
  285. progressbar.Image = "rbxassetid://3570695787"
  286. progressbar.ImageColor3 = Color3.fromRGB(24, 24, 24)
  287. progressbar.ScaleType = Enum.ScaleType.Slice
  288. progressbar.SliceCenter = Rect.new(100, 100, 100, 100)
  289. progressbar.SliceScale = 0.120
  290.  
  291. progresssize.Name = "progresssize"
  292. progresssize.Parent = progressbar
  293. progresssize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  294. progresssize.BackgroundTransparency = 1.000
  295. progresssize.Size = UDim2.new(0, 0, 0, 6)
  296. progresssize.Image = "rbxassetid://3570695787"
  297. progresssize.ImageColor3 = Color3.fromRGB(30, 215, 96)
  298. progresssize.ScaleType = Enum.ScaleType.Slice
  299. progresssize.SliceCenter = Rect.new(100, 100, 100, 100)
  300. progresssize.SliceScale = 0.120
  301.  
  302. buttons.Name = "buttons"
  303. buttons.Parent = back
  304. buttons.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  305. buttons.BackgroundTransparency = 1.000
  306. buttons.Position = UDim2.new(0.416000009, -11, 0, 75)
  307. buttons.Size = UDim2.new(0, 75, 0, 20)
  308.  
  309. previous_2.Name = "previous"
  310. previous_2.Parent = buttons
  311. previous_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  312. previous_2.BackgroundTransparency = 1.000
  313. previous_2.Size = UDim2.new(0, 20, 0, 20)
  314. previous_2.Image = "rbxassetid://4458878865"
  315.  
  316. skip_2.Name = "skip"
  317. skip_2.Parent = buttons
  318. skip_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  319. skip_2.BackgroundTransparency = 1.000
  320. skip_2.Position = UDim2.new(0, 50, 0, 0)
  321. skip_2.Size = UDim2.new(0, 20, 0, 20)
  322. skip_2.Image = "rbxassetid://4458877936"
  323.  
  324. pauseresume_2.Name = "pauseresume"
  325. pauseresume_2.Parent = buttons
  326. pauseresume_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  327. pauseresume_2.BackgroundTransparency = 1.000
  328. pauseresume_2.Position = UDim2.new(0, 25, 0, 0)
  329. pauseresume_2.Size = UDim2.new(0, 20, 0, 20)
  330. pauseresume_2.Image = "rbxassetid://4458863290"
  331.  
  332. artist.Name = "artist"
  333. artist.Parent = back
  334. artist.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  335. artist.BackgroundTransparency = 1.000
  336. artist.Position = UDim2.new(0, 0, 0, 25)
  337. artist.Size = UDim2.new(1, 0, 0, 25)
  338. artist.Font = Enum.Font.Gotham
  339. artist.Text = " NULL"
  340. artist.TextColor3 = Color3.fromRGB(255, 255, 255)
  341. artist.TextSize = 14.000
  342. artist.TextWrapped = true
  343. artist.TextXAlignment = Enum.TextXAlignment.Left
  344.  
  345. volumeslider.Name = "volumeslider"
  346. volumeslider.Parent = back
  347. volumeslider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  348. volumeslider.BackgroundTransparency = 1.000
  349. volumeslider.BorderSizePixel = 0
  350. volumeslider.ClipsDescendants = true
  351. volumeslider.Position = UDim2.new(0.620000005, 0, 0.819999993, 0)
  352. volumeslider.Size = UDim2.new(0.349999994, 0, 0, 6)
  353. volumeslider.ZIndex = 5
  354. volumeslider.Font = Enum.Font.SourceSans
  355. volumeslider.Text = ""
  356. volumeslider.TextColor3 = Color3.fromRGB(0, 0, 0)
  357. volumeslider.TextSize = 14.000
  358.  
  359. volumeslider_Roundify_12px.Name = "volumeslider_Roundify_12px"
  360. volumeslider_Roundify_12px.Parent = volumeslider
  361. volumeslider_Roundify_12px.Active = true
  362. volumeslider_Roundify_12px.AnchorPoint = Vector2.new(0.5, 0.5)
  363. volumeslider_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  364. volumeslider_Roundify_12px.BackgroundTransparency = 1.000
  365. volumeslider_Roundify_12px.Position = UDim2.new(0.5, 0, 0.5, 0)
  366. volumeslider_Roundify_12px.Selectable = true
  367. volumeslider_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
  368. volumeslider_Roundify_12px.Image = "rbxassetid://3570695787"
  369. volumeslider_Roundify_12px.ImageColor3 = Color3.fromRGB(24, 24, 24)
  370. volumeslider_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  371. volumeslider_Roundify_12px.SliceCenter = Rect.new(100, 100, 100, 100)
  372. volumeslider_Roundify_12px.SliceScale = 0.120
  373.  
  374. volumesize.Name = "volumesize"
  375. volumesize.Parent = volumeslider
  376. volumesize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  377. volumesize.BackgroundTransparency = 1.000
  378. volumesize.Size = UDim2.new(0, 0, 0, 6)
  379. volumesize.Image = "rbxassetid://3570695787"
  380. volumesize.ImageColor3 = Color3.fromRGB(30, 215, 96)
  381. volumesize.ScaleType = Enum.ScaleType.Slice
  382. volumesize.SliceCenter = Rect.new(100, 100, 100, 100)
  383. volumesize.SliceScale = 0.120
  384.  
  385. Top_3.Name = "Top"
  386. Top_3.Parent = Background
  387. Top_3.BackgroundColor3 = Color3.fromRGB(30, 215, 96)
  388. Top_3.BorderSizePixel = 0
  389. Top_3.Size = UDim2.new(1, 0, 0, 25)
  390. Top_3.ZIndex = 100
  391.  
  392. name.Name = "name"
  393. name.Parent = Top_3
  394. name.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  395. name.BackgroundTransparency = 1.000
  396. name.Size = UDim2.new(1, 0, 1, 0)
  397. name.ZIndex = 100
  398. name.Font = Enum.Font.Gotham
  399. name.Text = "Spotify"
  400. name.TextColor3 = Color3.fromRGB(0, 0, 0)
  401. name.TextSize = 14.000
  402.  
  403. togglebutton.Name = "togglebutton"
  404. togglebutton.Parent = Top_3
  405. togglebutton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  406. togglebutton.BackgroundTransparency = 1.000
  407. togglebutton.Size = UDim2.new(0, 25, 0, 25)
  408. togglebutton.ZIndex = 150
  409. togglebutton.Image = "http://www.roblox.com/asset/?id=1086988282"
  410.  
  411. Features_2.Name = "Features"
  412. Features_2.Parent = Background
  413. Features_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  414. Features_2.BackgroundTransparency = 1.000
  415. Features_2.Position = UDim2.new(0, 10, 0, 30)
  416. Features_2.Size = UDim2.new(0.943391144, 0, 0.732523978, 0)
  417.  
  418. UIListLayout_2.Parent = Features_2
  419. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  420. UIListLayout_2.Padding = UDim.new(0, 5)
  421.  
  422. resettoken.Name = "resettoken"
  423. resettoken.Parent = Features_2
  424. resettoken.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  425. resettoken.BorderSizePixel = 0
  426. resettoken.Size = UDim2.new(1, 0, 0, 30)
  427. resettoken.Font = Enum.Font.Gotham
  428. resettoken.Text = "Reset Token"
  429. resettoken.TextColor3 = Color3.fromRGB(255, 255, 255)
  430. resettoken.TextSize = 14.000
  431.  
  432. keybinds.Name = "keybinds"
  433. keybinds.Parent = Features_2
  434. keybinds.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  435. keybinds.BorderSizePixel = 0
  436. keybinds.Size = UDim2.new(1, 0, 0, 30)
  437. keybinds.Font = Enum.Font.Gotham
  438. keybinds.Text = "Set Keybinds"
  439. keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
  440. keybinds.TextSize = 14.000
  441.  
  442. error.Name = "error"
  443. error.Parent = Spotify_2
  444. error.BackgroundColor3 = Color3.fromRGB(204, 26, 43)
  445. error.BorderSizePixel = 0
  446. error.Position = UDim2.new(0, 0, 0.800000012, 0)
  447. error.Size = UDim2.new(1, 0, 0, 25)
  448. error.Visible = false
  449. error.ZIndex = 0
  450. error.Font = Enum.Font.Gotham
  451. error.Text = "error: no kanker hjakfhuasjkf hsnajkfsahjnkfsahnjkfhnjksa"
  452. error.TextColor3 = Color3.fromRGB(255, 255, 255)
  453. error.TextScaled = true
  454. error.TextSize = 14.000
  455. error.TextWrapped = true
  456.  
  457. -- Scripts:
  458.  
  459. local function PLHTDN_fake_script() -- Spotify.SpotifyHandler
  460. local script = Instance.new('LocalScript', Spotify)
  461.  
  462. local TweenService = game:GetService("TweenService")
  463. local UserInputService = game:GetService("UserInputService")
  464.  
  465. local draggable = function(gui)
  466. local UserInputService = game:GetService("UserInputService")
  467. local dragging
  468. local dragInput
  469. local dragStart
  470. local startPos
  471.  
  472. local function update(input)
  473. if not scrollon then
  474. local delta = input.Position - dragStart
  475. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  476. end
  477. end
  478.  
  479. gui.InputBegan:Connect(function(input)
  480. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  481. dragging = true
  482. dragStart = input.Position
  483. startPos = gui.Position
  484.  
  485. input.Changed:Connect(function()
  486. if input.UserInputState == Enum.UserInputState.End then
  487. dragging = false
  488. end
  489. end)
  490. end
  491. end)
  492.  
  493. gui.InputChanged:Connect(function(input)
  494. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  495. dragInput = input
  496. end
  497. end)
  498.  
  499. UserInputService.InputChanged:Connect(function(input)
  500. if input == dragInput and dragging then
  501. update(input)
  502. end
  503. end)
  504. end
  505.  
  506. function Format(Int)
  507. return string.format("%02i", Int)
  508. end
  509. function convertToHMS(Seconds)
  510. local Minutes = (Seconds - Seconds%60)/60
  511. Seconds = Seconds - Minutes*60
  512. local Hours = (Minutes - Minutes%60)/60
  513. Minutes = Minutes - Hours*60
  514. return Format(Minutes)..":"..Format(Seconds)
  515. end
  516. local spotify = function(url,method,token)
  517. local success, res = pcall(syn.request, {
  518. Url = url,
  519. Method = method,
  520. Headers = {
  521. ["Accept"] = "application/json",
  522. ["Authorization"] = 'Bearer ' .. token,
  523. ["Content-Type"] = "application/json"
  524. }
  525. })
  526. if success == true and type(res) == "table" and #res.Body > 0 then
  527. local parsed = game.HttpService:JSONDecode(res.Body)
  528. return {
  529. artist = parsed['item']['artists'][1]['name'],
  530. title = parsed['item']['name'],
  531. current = parsed['progress_ms'],
  532. maximum = parsed['item']['duration_ms'],
  533. playing = parsed['is_playing'],
  534. }
  535. else
  536. return {
  537. artist = 'Failed to get artist',
  538. title = 'Failed to get song name',
  539. current = 'nil',
  540. maximum = 'nil'
  541. }
  542. end
  543. end
  544. local Spotify = script.Parent.Spotify
  545. local Background = script.Parent.Spotify.Background
  546. draggable(Spotify)
  547. draggable(script.Parent.RequestToken)
  548. draggable(script.Parent.Keybinds)
  549.  
  550. Background.Visible = false
  551. script.Parent.Keybinds.Visible = false
  552. local token = ""
  553.  
  554. script.Parent.RequestToken.continuebutton.MouseButton1Click:Connect(function()
  555. token = script.Parent.RequestToken.tokentext.Text
  556. Background.Visible = true
  557. script.Parent.RequestToken.Visible = false
  558. Spotify.error.Visible = true
  559. script.Parent.RequestToken.tokentext.Text = ""
  560. Background.back.playing.Text = " NULL"
  561. Background.back.artist.Text = " NULL"
  562. Background.back.time.Text = " NULL"
  563. Background.back.time2.Text = "NULL "
  564. Background.back.progressbar.progresssize.Size = UDim2.new(0,0,1,0)
  565. end)
  566.  
  567. Background.Features.resettoken.MouseButton1Click:Connect(function()
  568. Background.Visible = false
  569. script.Parent.RequestToken.Visible = true
  570. Spotify.error.Visible = false
  571. script.Parent.RequestToken.tokentext.Text = ""
  572. Background.back.playing.Text = " NULL"
  573. Background.back.artist.Text = " NULL"
  574. Background.back.time.Text = " NULL"
  575. Background.back.time2.Text = "NULL "
  576. Background.back.progressbar.progresssize.Size = UDim2.new(0,0,1,0)
  577. end)
  578.  
  579. Background.Features.keybinds.MouseButton1Click:Connect(function()
  580. script.Parent.Keybinds.Visible = true
  581. end)
  582.  
  583. script.Parent.Keybinds.continuebutton.MouseButton1Click:Connect(function()
  584. script.Parent.Keybinds.Visible = false
  585. end)
  586.  
  587. Background.back.buttons.skip.MouseButton1Click:Connect(function()
  588. pcall(spotify,'https://api.spotify.com/v1/me/player/next','POST',token)
  589. end)
  590.  
  591. Background.back.buttons.previous.MouseButton1Click:Connect(function()
  592. pcall(spotify,'https://api.spotify.com/v1/me/player/previous','POST',token)
  593. end)
  594.  
  595. Background.back.buttons.pauseresume.MouseButton1Click:Connect(function()
  596. if Background.back.buttons.pauseresume.Image == "rbxassetid://4458862490" then
  597. pcall(spotify,'https://api.spotify.com/v1/me/player/pause','PUT',token)
  598. else
  599. pcall(spotify,'https://api.spotify.com/v1/me/player/play','PUT',token)
  600. end
  601. end)
  602.  
  603. local keybindchange = false
  604. local keybindchange2 = false
  605. local keybindchange3 = false
  606. local pause
  607. local skip
  608. local previous
  609. local UserInputService = game:GetService("UserInputService")
  610. UserInputService.InputBegan:connect(function(key)
  611. local z = key.KeyCode == Enum.KeyCode.Unknown and key.UserInputType or key.KeyCode
  612. if not string.find(tostring(z),"MouseButton1") then
  613. if z == pause then
  614. if Background.back.buttons.pauseresume.Image == "rbxassetid://4458862490" then
  615. pcall(spotify,'https://api.spotify.com/v1/me/player/pause','PUT',token)
  616. else
  617. pcall(spotify,'https://api.spotify.com/v1/me/player/play','PUT',token)
  618. end
  619. elseif z == skip then
  620. pcall(spotify,'https://api.spotify.com/v1/me/player/next','POST',token)
  621. elseif z == previous then
  622. pcall(spotify,'https://api.spotify.com/v1/me/player/previous','POST',token)
  623. end
  624. if keybindchange then
  625. keybindchange = false
  626. pause = z
  627. local textcool = string.find(tostring(z),"UserInputType") and 20 or 14
  628. script.Parent.Keybinds.Features.pauseresume.keybindbutton.Text = string.sub(tostring(z),textcool)
  629. if key.KeyCode == Enum.KeyCode.Backspace then
  630. pause = nil
  631. script.Parent.Keybinds.Features.pauseresume.keybindbutton.Text = ""
  632. end
  633. end
  634. if keybindchange2 then
  635. keybindchange2 = false
  636. skip = z
  637. local textcool = string.find(tostring(z),"UserInputType") and 20 or 14
  638. script.Parent.Keybinds.Features.skip.keybindbutton.Text = string.sub(tostring(z),textcool)
  639. if key.KeyCode == Enum.KeyCode.Backspace then
  640. skip = nil
  641. script.Parent.Keybinds.Features.skip.keybindbutton.Text = ""
  642. end
  643. end
  644. if keybindchange3 then
  645. keybindchange3 = false
  646. previous = z
  647. local textcool = string.find(tostring(z),"UserInputType") and 20 or 14
  648. script.Parent.Keybinds.Features.previous.keybindbutton.Text = string.sub(tostring(z),textcool)
  649. if key.KeyCode == Enum.KeyCode.Backspace then
  650. previous = nil
  651. script.Parent.Keybinds.Features.previous.keybindbutton.Text = ""
  652. end
  653. end
  654. end
  655. end)
  656.  
  657. script.Parent.Keybinds.Features.pauseresume.keybindbutton.MouseButton1Click:Connect(function()
  658. keybindchange = true
  659. end)
  660.  
  661. script.Parent.Keybinds.Features.skip.keybindbutton.MouseButton1Click:Connect(function()
  662. keybindchange2 = true
  663. end)
  664.  
  665. script.Parent.Keybinds.Features.previous.keybindbutton.MouseButton1Click:Connect(function()
  666. keybindchange3 = true
  667. end)
  668.  
  669. while wait(0.25) do
  670. pcall(function()
  671. if token ~= "" then
  672. local comply2, returns = pcall(spotify,'https://api.spotify.com/v1/me/player/currently-playing','GET',token)
  673. if comply2 then
  674. local currentsec = math.floor(returns.current/1000)
  675. local maximumsec = math.floor(returns.maximum/1000)
  676. Background.back.playing.Text = " "..returns.title
  677. Background.back.artist.Text = " "..returns.artist
  678. Background.back.time.Text = " "..convertToHMS(currentsec)
  679. Background.back.time2.Text = convertToHMS(maximumsec).." "
  680. Background.back.progressbar.progresssize:TweenSize(UDim2.new(currentsec/maximumsec,0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, .25)
  681. if returns.playing then
  682. Background.back.buttons.pauseresume.Image = "rbxassetid://4458862490"
  683. else
  684. Background.back.buttons.pauseresume.Image = "rbxassetid://4458863290"
  685. end
  686. if returns.artist == "" then
  687. Background.back.artist.Text = " No artist found"
  688. end
  689. Spotify.error:TweenPosition(UDim2.new(0,0,0.8,0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 1)
  690. Spotify.error.Text = ""
  691. pcall(spotify,'https://api.spotify.com/v1/me/player/volume?volume_percent='..tostring(Background.back.volumeslider.volume.Value),'PUT',token)
  692. else
  693. Background.back.playing.Text = " NULL"
  694. Background.back.artist.Text = " NULL"
  695. Background.back.time.Text = " NULL"
  696. Background.back.time2.Text = "NULL "
  697. Background.back.progressbar.progresssize:TweenSize(UDim2.new(0,0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, .25)
  698. Background.back.buttons.pauseresume.Image = "rbxassetid://4458863290"
  699. Spotify.error:TweenPosition(UDim2.new(0,0,1,-25), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 1)
  700. Spotify.error.Text = "Error: The Spotify API returned an error, please reset your token."
  701. end
  702. elseif not script.Parent.RequestToken.Visible then
  703. Spotify.error:TweenPosition(UDim2.new(0,0,1,-25), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 1)
  704. Spotify.error.Text = "Error: The Spotify API returned an error, please reset your token."
  705. end
  706. end)
  707. end
  708. --[[
  709. --get song, artist, length, duration, playing
  710. local comply2, returns = pcall(spotify,'https://api.spotify.com/v1/me/player/currently-playing','GET',token)
  711. for i,v in next, returns do print(i,v) end
  712. print(returns.title)
  713. --set volume
  714. pcall(spotify,'https://api.spotify.com/v1/me/player/volume?volume_percent=100','PUT',token)]]
  715. end
  716. coroutine.wrap(PLHTDN_fake_script)()
  717. local function YKZJVV_fake_script() -- volumeslider.LocalScript
  718. local script = Instance.new('LocalScript', volumeslider)
  719.  
  720. local scrollon = false
  721. local UserInputService = game:GetService("UserInputService")
  722.  
  723. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  724. local heartbeat = game:GetService("RunService").Heartbeat;
  725.  
  726. local scroll = script.Parent
  727. local cfgValue = Instance.new("IntValue",script.Parent)
  728. cfgValue.Name = "volume"
  729. local max = 100
  730. local actualscroll = script.Parent.volumesize
  731.  
  732. cfgValue:GetPropertyChangedSignal('Value'):Connect(function()
  733. local a = cfgValue.Value > max and max or cfgValue.Value
  734. cfgValue.Value = cfgValue.Value > max and max or cfgValue.Value
  735. actualscroll:TweenSize(UDim2.new(a/(max),0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, .05)
  736. if a < 1 then
  737. actualscroll.Size = UDim2.new(0, 1, 1, 0)
  738. end
  739. end)
  740.  
  741. local s, event = pcall(function()
  742. return scroll.MouseEnter
  743. end)
  744.  
  745. if s then
  746. scroll.Active = true;
  747. event:connect(function()
  748. local input = scroll.InputBegan:connect(function(key)
  749. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  750. local objectPosition = mouse.X
  751. while heartbeat:wait() and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  752. scrollon = true
  753. local yes = mouse.X - actualscroll.AbsolutePosition.x
  754. if 0 > yes then
  755. cfgValue.Value = 0
  756. elseif 110 >= yes then
  757. cfgValue.Value = math.floor((yes/110)*max)
  758. else
  759. cfgValue.Value = max
  760. end
  761. end
  762. scrollon = false
  763. end
  764. end)
  765. local leave;
  766. leave = scroll.MouseLeave:connect(function()
  767. input:disconnect();
  768. leave:disconnect();
  769. end)
  770. end)
  771. end
  772. end
  773. coroutine.wrap(YKZJVV_fake_script)()
  774. local function PSRQWF_fake_script() -- togglebutton.LocalScript
  775. local script = Instance.new('LocalScript', togglebutton)
  776.  
  777.  
  778. local open = true
  779. local tweening = false
  780. local TweenService = game:GetService("TweenService")
  781. script.Parent.MouseButton1Click:Connect(function()
  782. if not tweening then
  783. tweening = true
  784. if open then
  785. script.Parent.Parent.Parent:TweenSize(UDim2.new(1,0,0,25), Enum.EasingDirection.Out, Enum.EasingStyle.Quad,.5)
  786. script.Parent.Parent.Parent.back.ZIndex = 5
  787. script.Parent.Parent.Parent.Parent.error.Visible = false
  788. end
  789. if not open then
  790. script.Parent.Parent.Parent:TweenSize(UDim2.new(1,0,1,-25), Enum.EasingDirection.Out, Enum.EasingStyle.Quad,.5)
  791. script.Parent.Parent.Parent.back.ZIndex = 5
  792. end
  793. open = not open
  794. spawn(function()
  795. wait(0.5)
  796. script.Parent.Parent.Parent.back.ZIndex = 1
  797. if open then
  798. script.Parent.Parent.Parent.Parent.error.Visible = true
  799. end
  800. wait(0.25)
  801. tweening = false
  802. end)
  803. end
  804. end)
  805. end
  806. coroutine.wrap(PSRQWF_fake_script)()
  807. --gui to lua btw zzz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement