SkeletalScripts

creamchalace

Oct 19th, 2020 (edited)
1,456
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local win = {}
  2. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Slaxxic") ~= nil then
  3.     game.Players.LocalPlayer.PlayerGui:FindFirstChild("Slaxxic"):Destroy()
  4. end
  5.  
  6. local Slaxxic = Instance.new("ScreenGui")
  7. Slaxxic.Name = "Slaxxic"
  8. Slaxxic.Parent = game.Players.LocalPlayer.PlayerGui
  9. Slaxxic.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10. Slaxxic.ResetOnSpawn = false
  11. -- loader
  12. m=game.Players.LocalPlayer:GetMouse()
  13. function CircleClick(Button, X, Y)
  14.     coroutine.resume(coroutine.create(function()
  15.         Button.ClipsDescendants = true
  16.         local Circle = Instance.new("ImageLabel")
  17.         local UICorner_34 = Instance.new("UICorner")
  18.         Circle.Name = "Circle"
  19.         Circle.Parent = Button
  20.         Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  21.         Circle.BackgroundTransparency = 1.000
  22.         Circle.ZIndex = 10
  23.         Circle.Image = "rbxassetid://266543268"
  24.         Circle.ImageColor3 = Color3.fromRGB(0, 0, 0)
  25.         Circle.ImageTransparency = 0.500
  26.  
  27.         UICorner_34.CornerRadius = UDim.new(0, 6)
  28.         UICorner_34.Parent = Circle
  29.         local NewX = X - Circle.AbsolutePosition.X
  30.         local NewY = Y - Circle.AbsolutePosition.Y
  31.         Circle.Position = UDim2.new(0, NewX, 0, NewY)
  32.         local Size = 0
  33.         if Button.AbsoluteSize.X > Button.AbsoluteSize.Y then
  34.             Size = Button.AbsoluteSize.X
  35.         elseif Button.AbsoluteSize.X < Button.AbsoluteSize.Y then
  36.             Size = Button.AbsoluteSize.Y
  37.         elseif Button.AbsoluteSize.X == Button.AbsoluteSize.Y then                                                                                                                                                                                                                                                                                                                      print("This place uses a model by Come0n.") --please do not remove!
  38.             Size = Button.AbsoluteSize.X
  39.         end
  40.         local Time = 0.5
  41.         Circle:TweenSizeAndPosition(UDim2.new(0, Size, 0, Size), UDim2.new(0.5, -Size/2, 0.5, -Size/2), "Out", "Quad", Time, false, nil)
  42.         for i=1,10 do
  43.             Circle.ImageTransparency = Circle.ImageTransparency + 0.01
  44.             wait(Time/10)
  45.         end
  46.         Circle:Destroy()
  47.     end))
  48. end
  49. local Loader = Instance.new("Frame")
  50. local UICorner = Instance.new("UICorner")
  51. local Fade1 = Instance.new("Frame")
  52. local UICorner_2 = Instance.new("UICorner")
  53. local Fade3 = Instance.new("Frame")
  54. local UICorner_3 = Instance.new("UICorner")
  55. local Fade2 = Instance.new("Frame")
  56. local UICorner_4 = Instance.new("UICorner")
  57. local Fade4 = Instance.new("Frame")
  58. local UICorner_5 = Instance.new("UICorner")
  59. local Fade5 = Instance.new("Frame")
  60. local UICorner_6 = Instance.new("UICorner")
  61. local Fade6 = Instance.new("Frame")
  62. local UICorner_7 = Instance.new("UICorner")
  63. local MainFr = Instance.new("Frame")
  64. local UICorner_8 = Instance.new("UICorner")
  65. local Title = Instance.new("TextLabel")
  66.  
  67. Loader.Name = "Loader"
  68. Loader.Parent = Slaxxic
  69. Loader.AnchorPoint = Vector2.new(0.5, 0.5)
  70. Loader.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  71. Loader.BorderSizePixel = 0
  72. Loader.Position = UDim2.new(0.5, 0, 0.5, 0)
  73. Loader.Size = UDim2.new(0, 303, 0, 46)
  74. Loader.Visible = false
  75. Loader.ZIndex = 2
  76.  
  77. UICorner.CornerRadius = UDim.new(0.0599999987, 0)
  78. UICorner.Parent = Loader
  79.  
  80. Fade1.Name = "Fade1"
  81. Fade1.Parent = Loader
  82. Fade1.AnchorPoint = Vector2.new(0.5, 0.5)
  83. Fade1.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  84. Fade1.BackgroundTransparency = 0.100
  85. Fade1.BorderSizePixel = 0
  86. Fade1.Position = UDim2.new(0.5, 0, 0.5, 0)
  87. Fade1.Size = UDim2.new(1.00666666, 0, 1.00999999, 0)
  88.  
  89. UICorner_2.CornerRadius = UDim.new(0, 6)
  90. UICorner_2.Parent = Fade1
  91.  
  92. Fade3.Name = "Fade3"
  93. Fade3.Parent = Loader
  94. Fade3.AnchorPoint = Vector2.new(0.5, 0.5)
  95. Fade3.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  96. Fade3.BackgroundTransparency = 0.300
  97. Fade3.BorderSizePixel = 0
  98. Fade3.Position = UDim2.new(0.5, 0, 0.5, 0)
  99. Fade3.Size = UDim2.new(1.01999998, 0, 1.02999997, 0)
  100.  
  101. UICorner_3.CornerRadius = UDim.new(0, 6)
  102. UICorner_3.Parent = Fade3
  103.  
  104. Fade2.Name = "Fade2"
  105. Fade2.Parent = Loader
  106. Fade2.AnchorPoint = Vector2.new(0.5, 0.5)
  107. Fade2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  108. Fade2.BackgroundTransparency = 0.200
  109. Fade2.BorderSizePixel = 0
  110. Fade2.Position = UDim2.new(0.5, 0, 0.5, 0)
  111. Fade2.Size = UDim2.new(1.01333332, 0, 1.01999998, 0)
  112.  
  113. UICorner_4.CornerRadius = UDim.new(0, 6)
  114. UICorner_4.Parent = Fade2
  115.  
  116. Fade4.Name = "Fade4"
  117. Fade4.Parent = Loader
  118. Fade4.AnchorPoint = Vector2.new(0.5, 0.5)
  119. Fade4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  120. Fade4.BackgroundTransparency = 0.400
  121. Fade4.BorderSizePixel = 0
  122. Fade4.Position = UDim2.new(0.5, 0, 0.5, 0)
  123. Fade4.Size = UDim2.new(1.02666664, 0, 1.03999996, 0)
  124.  
  125. UICorner_5.CornerRadius = UDim.new(0, 6)
  126. UICorner_5.Parent = Fade4
  127.  
  128. Fade5.Name = "Fade5"
  129. Fade5.Parent = Loader
  130. Fade5.AnchorPoint = Vector2.new(0.5, 0.5)
  131. Fade5.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  132. Fade5.BackgroundTransparency = 0.500
  133. Fade5.BorderSizePixel = 0
  134. Fade5.Position = UDim2.new(0.5, 0, 0.5, 0)
  135. Fade5.Size = UDim2.new(1.0333333, 0, 1.04999995, 0)
  136.  
  137. UICorner_6.CornerRadius = UDim.new(0, 6)
  138. UICorner_6.Parent = Fade5
  139.  
  140. Fade6.Name = "Fade6"
  141. Fade6.Parent = Loader
  142. Fade6.AnchorPoint = Vector2.new(0.5, 0.5)
  143. Fade6.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  144. Fade6.BackgroundTransparency = 0.600
  145. Fade6.BorderSizePixel = 0
  146. Fade6.Position = UDim2.new(0.5, 0, 0.5, 0)
  147. Fade6.Size = UDim2.new(1.03999996, 0, 1.05999994, 0)
  148.  
  149. UICorner_7.CornerRadius = UDim.new(0, 6)
  150. UICorner_7.Parent = Fade6
  151.  
  152. MainFr.Name = "MainFr"
  153. MainFr.Parent = Loader
  154. MainFr.AnchorPoint = Vector2.new(0.5, 0.5)
  155. MainFr.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  156. MainFr.BorderSizePixel = 0
  157. MainFr.ClipsDescendants = true
  158. MainFr.Position = UDim2.new(0.5, 0, 0.5, 0)
  159. MainFr.Size = UDim2.new(1.00666666, 0, 1.00999999, 0)
  160.  
  161. UICorner_8.CornerRadius = UDim.new(0, 6)
  162. UICorner_8.Parent = MainFr
  163.  
  164. Title.Name = "Title"
  165. Title.Parent = MainFr
  166. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  167. Title.BackgroundTransparency = 1.000
  168. Title.BorderSizePixel = 0
  169. Title.AnchorPoint = Vector2.new(0.5,0.5)
  170. Title.Position = UDim2.new(0.5, 0, 0.5, 0)
  171. Title.Size = UDim2.new(1, 0, 0.4, 0)
  172. Title.ZIndex = 3
  173. Title.Font = Enum.Font.ArialBold
  174. Title.Text = ""
  175. Title.TextColor3 = Color3.fromRGB(230, 230, 230)
  176. Title.TextSize = 26.000
  177. Title.TextStrokeColor3 = Color3.fromRGB(150, 150, 150)
  178. Title.TextXAlignment = Enum.TextXAlignment.Center
  179. local Img = Instance.new("ImageLabel")
  180. Img.Name = "BG"
  181. Img.BackgroundColor3 = Color3.fromRGB(38,38,38)
  182. Img.Size = UDim2.new(1,0,3,0)
  183. Img.Position = UDim2.new(0, 0, -2.175, 0)
  184. Img.ZIndex = 1
  185. Img.Parent = MainFr
  186. Img.BorderSizePixel = 0
  187. Img.Visible = true
  188. Img.Image = "rbxassetid://4370337241"
  189. Img.ImageColor3 = Color3.fromRGB(90,90,90)
  190. Img.ScaleType = "Tile"
  191. Img.TileSize = UDim2.new(0.06,0,0.12,0)
  192. Img.SliceScale = 1
  193. local function whenTweenCompleted(state)
  194.  
  195.     if state == Enum.TweenStatus.Completed then --if the tween actually completed and not interrupted, but you don't need this if you set override to false like we did
  196.  
  197.         Img.Position = UDim2.new(0, 0, -2.175, 0)
  198.         Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1.5, false, whenTweenCompleted)
  199.     end
  200. end
  201. spawn(function()
  202.     Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1.5, false, whenTweenCompleted)
  203. end)
  204. Loader.MainFr.Size = UDim2.new(0,0,0,0)
  205. Loader.Visible =true   
  206. Loader.Size = UDim2.new(0,0,0,0)
  207. Loader.ClipsDescendants = true
  208. Loader.ClipsDescendants = false
  209. game:GetService("TweenService"):Create(Loader, TweenInfo.new(0.6), {Size = UDim2.new(0, 303, 0, 46)}):Play()
  210. game:GetService("TweenService"):Create(Loader.MainFr, TweenInfo.new(0.5), {Size = UDim2.new(1,2,1,2)}):Play()
  211.  
  212. wait(0.1)
  213. local text = "Slaxx Hub | ".. _G.GameName
  214. if string.len(text) > 20 then Title.TextSize = 22 elseif string.len(text) > 30 then Title.TextSize = 18 end
  215. for i = 1,#text,1 do
  216.     Title.Text = string.sub(text,1,i)
  217.     wait(0.05)
  218. end
  219. wait(2.2-0.8)
  220. game:GetService("TweenService"):Create(Loader, TweenInfo.new(0.4), {Size = UDim2.new(0,303,0,0),Position = UDim2.new(0.5,0,0.55,0)}):Play()
  221. game:GetService("TweenService"):Create(Loader.MainFr, TweenInfo.new(0.3), {Size = UDim2.new(1,2,0,0)}):Play()
  222. wait(0.1)
  223. Loader.ClipsDescendants = true
  224. wait(0.5)
  225. local pressed = false
  226. -- choose loader
  227. local Login = Instance.new("Frame")
  228. local UICorner_16 = Instance.new("UICorner")
  229. local Fade3_2 = Instance.new("Frame")
  230. local UICorner_17 = Instance.new("UICorner")
  231. local Fade2_2 = Instance.new("Frame")
  232. local UICorner_18 = Instance.new("UICorner")
  233. local Fade4_2 = Instance.new("Frame")
  234. local UICorner_19 = Instance.new("UICorner")
  235. local Fade5_2 = Instance.new("Frame")
  236. local UICorner_20 = Instance.new("UICorner")
  237. local Fade6_2 = Instance.new("Frame")
  238. local UICorner_21 = Instance.new("UICorner")
  239. local MainFr_2 = Instance.new("Frame")
  240. local UICorner_22 = Instance.new("UICorner")
  241. local Title_2 = Instance.new("TextLabel")
  242. local FreeLoader = Instance.new("TextButton")
  243. local UICorner_33 = Instance.new("UICorner")
  244. local PaidLoader = Instance.new("TextButton")
  245. local UICorner_35 = Instance.new("UICorner")
  246. Login.Name = "Login"
  247. Login.Parent = Slaxxic
  248. Login.AnchorPoint = Vector2.new(0.5, 0.5)
  249. Login.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  250. Login.BorderSizePixel = 0
  251. Login.Position = UDim2.new(0.5, 0, 0.4, 0)
  252. Login.Size = UDim2.new(0, 354, 0, 0)
  253. Login.Visible = false
  254. Login.ZIndex = 2
  255.  
  256. UICorner_16.CornerRadius = UDim.new(0.0599999987, 0)
  257. UICorner_16.Parent = Login
  258.  
  259. Fade3_2.Name = "Fade3"
  260. Fade3_2.Parent = Login
  261. Fade3_2.AnchorPoint = Vector2.new(0.5, 0.5)
  262. Fade3_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  263. Fade3_2.BackgroundTransparency = 0.300
  264. Fade3_2.BorderSizePixel = 0
  265. Fade3_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  266. Fade3_2.Size = UDim2.new(1,4,1,4)
  267.  
  268. UICorner_17.CornerRadius = UDim.new(0, 6)
  269. UICorner_17.Parent = Fade3_2
  270.  
  271. Fade2_2.Name = "Fade2"
  272. Fade2_2.Parent = Login
  273. Fade2_2.AnchorPoint = Vector2.new(0.5, 0.5)
  274. Fade2_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  275. Fade2_2.BackgroundTransparency = 0.200
  276. Fade2_2.BorderSizePixel = 0
  277. Fade2_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  278. Fade2_2.Size = UDim2.new(1,2,1,2)
  279.  
  280. UICorner_18.CornerRadius = UDim.new(0, 6)
  281. UICorner_18.Parent = Fade2_2
  282.  
  283. Fade4_2.Name = "Fade4"
  284. Fade4_2.Parent = Login
  285. Fade4_2.AnchorPoint = Vector2.new(0.5, 0.5)
  286. Fade4_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  287. Fade4_2.BackgroundTransparency = 0.400
  288. Fade4_2.BorderSizePixel = 0
  289. Fade4_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  290. Fade4_2.Size = UDim2.new(1,6,1,6)
  291.  
  292. UICorner_19.CornerRadius = UDim.new(0, 6)
  293. UICorner_19.Parent = Fade4_2
  294.  
  295. Fade5_2.Name = "Fade5"
  296. Fade5_2.Parent = Login
  297. Fade5_2.AnchorPoint = Vector2.new(0.5, 0.5)
  298. Fade5_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  299. Fade5_2.BackgroundTransparency = 0.500
  300. Fade5_2.BorderSizePixel = 0
  301. Fade5_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  302. Fade5_2.Size = UDim2.new(1,8,1,8)
  303.  
  304. UICorner_20.CornerRadius = UDim.new(0, 6)
  305. UICorner_20.Parent = Fade5_2
  306.  
  307. Fade6_2.Name = "Fade6"
  308. Fade6_2.Parent = Login
  309. Fade6_2.AnchorPoint = Vector2.new(0.5, 0.5)
  310. Fade6_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  311. Fade6_2.BackgroundTransparency = 0.600
  312. Fade6_2.BorderSizePixel = 0
  313. Fade6_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  314. Fade6_2.Size = UDim2.new(1,10,1,10)
  315.  
  316. UICorner_21.CornerRadius = UDim.new(0, 6)
  317. UICorner_21.Parent = Fade6_2
  318.  
  319. MainFr_2.Name = "MainFr"
  320. MainFr_2.Parent = Login
  321. MainFr_2.AnchorPoint = Vector2.new(0.5, 0.5)
  322. MainFr_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  323. MainFr_2.BorderSizePixel = 0
  324. MainFr_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  325. MainFr_2.Size = UDim2.new(0, 356, 0, 299)
  326.  
  327. UICorner_22.CornerRadius = UDim.new(0, 6)
  328. UICorner_22.Parent = MainFr_2
  329.  
  330. Title_2.Name = "Title"
  331. Title_2.Parent = MainFr_2
  332. Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  333. Title_2.BackgroundTransparency = 1.000
  334. Title_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  335. Title_2.BorderSizePixel = 0
  336. Title_2.Position = UDim2.new(0, 0, 0, 0)
  337. Title_2.Size = UDim2.new(1, 0, 0.4, 0)
  338. Title_2.ZIndex = 3
  339. Title_2.Font = Enum.Font.ArialBold
  340. Title_2.Text = "Slaxx Hub Type"
  341. Title_2.TextColor3 = Color3.fromRGB(230, 230, 230)
  342. Title_2.TextSize = 26.000
  343. Title_2.TextStrokeColor3 = Color3.fromRGB(150, 150, 150)
  344. Title_2.TextXAlignment = Enum.TextXAlignment.Center
  345.  
  346. FreeLoader.Name = "FreeLoader"
  347. FreeLoader.Parent = MainFr_2
  348. FreeLoader.BackgroundColor3 = Color3.fromRGB(0, 255, 127)
  349. FreeLoader.BorderColor3 = Color3.fromRGB(0, 0, 0)
  350. FreeLoader.BorderSizePixel = 0
  351. FreeLoader.Position = UDim2.new(0.213068187, 0, 0.287585586, 0)
  352. FreeLoader.Size = UDim2.new(0.568181813, 0, 0.198412701, 0)
  353. FreeLoader.ZIndex = 2
  354. FreeLoader.AutoButtonColor = false
  355. FreeLoader.Font = Enum.Font.GothamBold
  356. FreeLoader.Text = "FREE LOADER"
  357. FreeLoader.TextColor3 = Color3.fromRGB(0, 0, 0)
  358. FreeLoader.TextSize = 24.000
  359.  
  360. UICorner_33.CornerRadius = UDim.new(0, 6)
  361. UICorner_33.Parent = FreeLoader
  362.  
  363.  
  364. PaidLoader.Name = "PaidLoader"
  365. PaidLoader.Parent = MainFr_2
  366. PaidLoader.BackgroundColor3 = Color3.fromRGB(255, 255, 76)
  367. PaidLoader.BorderColor3 = Color3.fromRGB(0, 0, 0)
  368. PaidLoader.BorderSizePixel = 0
  369. PaidLoader.Position = UDim2.new(0.213068187, 0, 0.632395089, 0)
  370. PaidLoader.Size = UDim2.new(0.568181813, 0, 0.198412701, 0)
  371. PaidLoader.ZIndex = 2
  372. PaidLoader.AutoButtonColor = false
  373. PaidLoader.Font = Enum.Font.GothamBold
  374. PaidLoader.Text = "PREMIUM LOADER"
  375. PaidLoader.TextColor3 = Color3.fromRGB(0, 0, 0)
  376. PaidLoader.TextSize = 23.000
  377.  
  378. UICorner_35.CornerRadius = UDim.new(0, 6)
  379. UICorner_35.Parent = PaidLoader
  380. Login.Visible = true
  381. Login.ClipsDescendants = true
  382. game:GetService("TweenService"):Create(Login, TweenInfo.new(0.6), {Size = UDim2.new(0,354,0,140),Position = UDim2.new(0.5, 0, 0.5, 0)}):Play()
  383. game:GetService("TweenService"):Create(MainFr_2, TweenInfo.new(0.5), {Size = UDim2.new(1,2,1,2)}):Play()
  384. wait(0.4)
  385. Login.ClipsDescendants = false
  386. MainFr_2.ClipsDescendants = true
  387. local Img = Instance.new("ImageLabel")
  388. Img.Name = "BG"
  389. Img.BackgroundColor3 = Color3.fromRGB(38,38,38)
  390. Img.Size = UDim2.new(1,0,3,0)
  391. Img.Position = UDim2.new(0, 0, -2, 0)
  392. Img.ZIndex = 1
  393. Img.Parent = MainFr_2
  394. Img.BorderSizePixel = 0
  395. Img.Visible = true
  396. Img.Image = "rbxassetid://4370337241"
  397. Img.ImageColor3 = Color3.fromRGB(90,90,90)
  398. Img.ScaleType = "Tile"
  399. Img.TileSize = UDim2.new(0.06,0,0.03,0)
  400. Img.SliceScale = 1
  401. local function whenTweenCompleted(state)
  402.  
  403.     if state == Enum.TweenStatus.Completed then --if the tween actually completed and not interrupted, but you don't need this if you set override to false like we did
  404.  
  405.         Img.Position = UDim2.new(0, 0, -2, 0)
  406.         Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 2.5, false, whenTweenCompleted)
  407.     end
  408. end
  409. spawn(function()
  410.     Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 2.5, false, whenTweenCompleted)
  411. end)
  412. m=game.Players.LocalPlayer:GetMouse()
  413. FreeLoader.MouseButton1Down:connect(function()
  414.     CircleClick(FreeLoader, m.X, m.Y)
  415.     FreeLoader.Parent.Parent.ClipsDescendants = true
  416.     game:GetService("TweenService"):Create(FreeLoader.Parent.Parent, TweenInfo.new(0.4), {Size = UDim2.new(0,354,0,0)}):Play()
  417.     game:GetService("TweenService"):Create(FreeLoader.Parent.Parent.MainFr, TweenInfo.new(0.3), {Size = UDim2.new(1,2,0,0)}):Play()
  418.     wait(0.3)
  419.     win.Version = true
  420.     pressed = true
  421. end)
  422. m=game.Players.LocalPlayer:GetMouse()
  423. PaidLoader.MouseButton1Down:connect(function()
  424.     CircleClick(PaidLoader, m.X, m.Y)
  425.     PaidLoader.Parent.Parent.ClipsDescendants = true
  426.     game:GetService("TweenService"):Create(PaidLoader.Parent.Parent, TweenInfo.new(0.4), {Size = UDim2.new(0,354,0,0)}):Play()
  427.     game:GetService("TweenService"):Create(PaidLoader.Parent.Parent.MainFr, TweenInfo.new(0.3), {Size = UDim2.new(1,2,0,0)}):Play()
  428.     wait(0.3)
  429.     win.Version = true
  430.     pressed = true
  431. end)
  432. -- library
  433. repeat wait() until pressed == true
  434. local Main = Instance.new("Frame")
  435. local dragger = {};
  436. local mouse        = game:GetService("Players").LocalPlayer:GetMouse();
  437. local inputService = game:GetService('UserInputService');
  438. local heartbeat    = game:GetService("RunService").Heartbeat;
  439. -- // credits to Ririchi / Inori for this cute drag function :)
  440. function dragger.new(frame)
  441.     local s, event = pcall(function()
  442.         return frame.MouseEnter
  443.     end)
  444.  
  445.     if s then
  446.         frame.Active = true;
  447.  
  448.         event:connect(function()
  449.             local input = frame.InputBegan:connect(function(key)
  450.                 if key.UserInputType == Enum.UserInputType.MouseButton1 then
  451.                     local objectPosition = Vector2.new(mouse.X - Main .AbsolutePosition.X, mouse.Y - Main .AbsolutePosition.Y);
  452.                     while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  453.                         pcall(function()
  454.                             Main :TweenPosition(UDim2.new(0, mouse.X - objectPosition.X, 0, mouse.Y - objectPosition.Y), 'Out', 'Linear', 0.1, true);
  455.                         end)
  456.                     end
  457.                 end
  458.             end)
  459.  
  460.             local leave;
  461.             leave = frame.MouseLeave:connect(function()
  462.                 input:disconnect();
  463.                 leave:disconnect();
  464.             end)
  465.         end)
  466.     end
  467. end
  468. local toggled = true
  469. local pos = UDim2.new(0.4,0,0.35,0)
  470. game:GetService('UserInputService').InputBegan:connect(function(key, gpe)
  471.     if (not gpe) then
  472.         if key.KeyCode == Enum.KeyCode.RightShift then
  473.             toggled = not toggled;
  474.             if toggled then
  475.                 pos = Main.Position
  476.                 Main:TweenPosition(UDim2.new(0.5,0,2,0), (toggled and 'Out' or 'In'), 'Quad', 0.15, true)
  477.                 wait();
  478.             else
  479.                 Main:TweenPosition(pos, (toggled and 'Out' or 'In'), 'Quad', 0.15, true)
  480.             end
  481.         end
  482.     end
  483. end)
  484. local Fade1_3 = Instance.new("Frame")
  485. local UICorner_37 = Instance.new("UICorner")
  486. local Fade3_4 = Instance.new("Frame")
  487. local UICorner_38 = Instance.new("UICorner")
  488. local Fade2_4 = Instance.new("Frame")
  489. local UICorner_39 = Instance.new("UICorner")
  490. local Fade4_4 = Instance.new("Frame")
  491. local UICorner_40 = Instance.new("UICorner")
  492. local Fade5_4 = Instance.new("Frame")
  493. local UICorner_41 = Instance.new("UICorner")
  494. local Fade6_4 = Instance.new("Frame")
  495. local UICorner_42 = Instance.new("UICorner")
  496. local MainFr_3 = Instance.new("Frame")
  497. local Top_3 = Instance.new("Frame")
  498. dragger.new(Top_3)
  499. local UICorner_43 = Instance.new("UICorner")
  500. local Title_3 = Instance.new("TextLabel")
  501. local Fix_3 = Instance.new("Frame")
  502. local Mini = Instance.new("ImageButton")
  503. local CatList = Instance.new("ScrollingFrame")
  504. local UIListLayout = Instance.new("UIListLayout")
  505. local UIPadding_2 = Instance.new("UIPadding")
  506.  
  507. Main.Name = "Main"
  508. Main.Parent = Slaxxic
  509. Main.AnchorPoint = Vector2.new(0, 0)
  510. Main.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  511. Main.BorderSizePixel = 0
  512. Main.Position = UDim2.new(0.4, 0, 0.35, 0)
  513. Main.Size = UDim2.new(0, 405, 0, 297)
  514. Main.ZIndex = 2
  515.  
  516. Fade1_3.Name = "Fade1"
  517. Fade1_3.Parent = Main
  518. Fade1_3.AnchorPoint = Vector2.new(0.5, 0.5)
  519. Fade1_3.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  520. Fade1_3.BackgroundTransparency = 0.100
  521. Fade1_3.BorderSizePixel = 0
  522. Fade1_3.Position = UDim2.new(0.5, 0, 0.5, 0)
  523. Fade1_3.Size = UDim2.new(0, 407, 0, 299)
  524.  
  525. UICorner_37.CornerRadius = UDim.new(0, 6)
  526. UICorner_37.Parent = Fade1_3
  527.  
  528. Fade3_4.Name = "Fade3"
  529. Fade3_4.Parent = Main
  530. Fade3_4.AnchorPoint = Vector2.new(0.5, 0.5)
  531. Fade3_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  532. Fade3_4.BackgroundTransparency = 0.300
  533. Fade3_4.BorderSizePixel = 0
  534. Fade3_4.Position = UDim2.new(0.5, 0, 0.5, 0)
  535. Fade3_4.Size = UDim2.new(0, 411, 0, 304)
  536.  
  537. UICorner_38.CornerRadius = UDim.new(0, 6)
  538. UICorner_38.Parent = Fade3_4
  539.  
  540. Fade2_4.Name = "Fade2"
  541. Fade2_4.Parent = Main
  542. Fade2_4.AnchorPoint = Vector2.new(0.5, 0.5)
  543. Fade2_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  544. Fade2_4.BackgroundTransparency = 0.200
  545. Fade2_4.BorderSizePixel = 0
  546. Fade2_4.Position = UDim2.new(0.5, 0, 0.5, 0)
  547. Fade2_4.Size = UDim2.new(0, 409, 0, 301)
  548.  
  549. UICorner_39.CornerRadius = UDim.new(0, 6)
  550. UICorner_39.Parent = Fade2_4
  551.  
  552. Fade4_4.Name = "Fade4"
  553. Fade4_4.Parent = Main
  554. Fade4_4.AnchorPoint = Vector2.new(0.5, 0.5)
  555. Fade4_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  556. Fade4_4.BackgroundTransparency = 0.400
  557. Fade4_4.BorderSizePixel = 0
  558. Fade4_4.Position = UDim2.new(0.5, 0, 0.5, 0)
  559. Fade4_4.Size = UDim2.new(0, 413, 0, 306)
  560.  
  561. UICorner_40.CornerRadius = UDim.new(0, 6)
  562. UICorner_40.Parent = Fade4_4
  563.  
  564. Fade5_4.Name = "Fade5"
  565. Fade5_4.Parent = Main
  566. Fade5_4.AnchorPoint = Vector2.new(0.5, 0.5)
  567. Fade5_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  568. Fade5_4.BackgroundTransparency = 0.500
  569. Fade5_4.BorderSizePixel = 0
  570. Fade5_4.Position = UDim2.new(0.5, 0, 0.5, 0)
  571. Fade5_4.Size = UDim2.new(0, 415, 0, 308)
  572.  
  573. UICorner_41.CornerRadius = UDim.new(0, 6)
  574. UICorner_41.Parent = Fade5_4
  575.  
  576. Fade6_4.Name = "Fade6"
  577. Fade6_4.Parent = Main
  578. Fade6_4.AnchorPoint = Vector2.new(0.5, 0.5)
  579. Fade6_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  580. Fade6_4.BackgroundTransparency = 0.600
  581. Fade6_4.BorderSizePixel = 0
  582. Fade6_4.Position = UDim2.new(0.5, 0, 0.5, 0)
  583. Fade6_4.Size = UDim2.new(0, 417, 0, 311)
  584.  
  585. UICorner_42.CornerRadius = UDim.new(0.0599999987, 0)
  586. UICorner_42.Parent = Fade6_4
  587.  
  588. MainFr_3.Name = "MainFr"
  589. MainFr_3.Parent = Main
  590. MainFr_3.AnchorPoint = Vector2.new(0.5, 0.5)
  591. MainFr_3.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  592. MainFr_3.BackgroundTransparency = 1.000
  593. MainFr_3.BorderSizePixel = 0
  594. MainFr_3.ClipsDescendants = true
  595. MainFr_3.Position = UDim2.new(0.5, 0, 0.5, 0)
  596. MainFr_3.Size = UDim2.new(0, 407, 0, 299)
  597.  
  598. Top_3.Name = "Top"
  599. Top_3.Parent = MainFr_3
  600. Top_3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  601. Top_3.BorderSizePixel = 0
  602. Top_3.Size = UDim2.new(0, 407, 0, 41)
  603. Top_3.ZIndex = 2
  604.  
  605. UICorner_43.CornerRadius = UDim.new(0.0599999987, 0)
  606. UICorner_43.Parent = Top_3
  607.  
  608. Title_3.Name = "Title"
  609. Title_3.Parent = Top_3
  610. Title_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  611. Title_3.BackgroundTransparency = 1.000
  612. Title_3.BorderSizePixel = 0
  613. Title_3.Position = UDim2.new(0.0359999612, 0, 0, 0)
  614. Title_3.Size = UDim2.new(0, 204, 0, 34)
  615. Title_3.ZIndex = 3
  616. Title_3.Font = Enum.Font.ArialBold
  617. Title_3.Text = "Slaxx Hub"
  618. Title_3.TextColor3 = Color3.fromRGB(230, 230, 230)
  619. Title_3.TextSize = 26.000
  620. Title_3.TextStrokeColor3 = Color3.fromRGB(150, 150, 150)
  621. Title_3.TextXAlignment = Enum.TextXAlignment.Left
  622.  
  623. Fix_3.Name = "Fix"
  624. Fix_3.Parent = Top_3
  625. Fix_3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  626. Fix_3.BorderSizePixel = 0
  627. Fix_3.Position = UDim2.new(0, 0, 0.657142878, 0)
  628. Fix_3.Size = UDim2.new(0, 407, 0, 12)
  629.  
  630. Mini.Name = "Mini"
  631. Mini.Parent = Top_3
  632. Mini.Active = false
  633. Mini.BackgroundTransparency = 1.000
  634. Mini.Position = UDim2.new(0.912, 0, 0, 0)
  635. Mini.Rotation = -90.000
  636. Mini.Selectable = false
  637. Mini.Size = UDim2.new(0, 34, 0, 34)
  638. Mini.ZIndex = 3
  639. Mini.Image = "rbxassetid://4370337241"
  640. Mini.ImageColor3 = Color3.fromRGB(230, 230, 230)
  641. Mini.ScaleType = Enum.ScaleType.Fit
  642.  
  643. CatList.Name = "CatList"
  644. CatList.Parent = MainFr_3
  645. CatList.Active = true
  646. CatList.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  647. CatList.BackgroundTransparency = 1.000
  648. CatList.BorderSizePixel = 0
  649. CatList.Position = UDim2.new(0, 0, 0.135379657, 0)
  650. CatList.Size = UDim2.new(0, 140, 0, 299)
  651. CatList.ZIndex = 5
  652. CatList.CanvasSize = UDim2.new(0, 0, 1, 0)
  653. CatList.ScrollBarThickness = 0
  654.  
  655. UIListLayout.Parent = CatList
  656. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  657. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  658. UIListLayout.Padding = UDim.new(0, 7)
  659.  
  660. UIPadding_2.Parent = CatList
  661. UIPadding_2.PaddingTop = UDim.new(0, 4)
  662. local Categories = Instance.new("Frame")
  663. Categories.Name = "Categories"
  664. Categories.Parent = MainFr_3
  665. Categories.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  666. Categories.BackgroundTransparency = 1.000
  667. Categories.BorderSizePixel = 0
  668. Categories.ClipsDescendants = true
  669. Categories.Position = UDim2.new(0.345771223, 0, 0.138888866, 0)
  670. Categories.Size = UDim2.new(0, 261, 0, 261)
  671. Categories.ZIndex = 5
  672.  
  673.  
  674. function win:Category(Name)
  675.     local Category = Instance.new("TextButton")
  676.     local UICorner_44 = Instance.new("UICorner")
  677.     local BGFixS2 = Instance.new("Frame")
  678.     local BGFixS1 = Instance.new("Frame")
  679.     local Category_2 = Instance.new("ScrollingFrame")
  680.     local UIListLayout_2 = Instance.new("UIListLayout")
  681.     local UIPadding_3 = Instance.new("UIPadding")
  682.  
  683.     Category.Name = Name
  684.     Category.Parent = CatList
  685.     Category.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  686.     Category.BorderSizePixel = 0
  687.     Category.ClipsDescendants = true
  688.     Category.Position = UDim2.new(0.0364754722, 0, 0.0142572355, 0)
  689.     Category.Size = UDim2.new(0, 120, 0, 28)
  690.     Category.AutoButtonColor = false
  691.     Category.Font = Enum.Font.ArialBold
  692.     Category.Text = Name
  693.     Category.TextColor3 = Color3.fromRGB(230, 230, 230)
  694.     Category.TextSize = 14.000
  695.  
  696.     UICorner_44.CornerRadius = UDim.new(0, 6)
  697.     UICorner_44.Parent = Category
  698.     Category.MouseButton1Click:Connect(function()
  699.         CircleClick(Category, m.X, m.Y)
  700.     end)
  701.     BGFixS2.Name = "BGFixS2"
  702.     BGFixS2.Parent = MainFr_3
  703.     BGFixS2.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  704.     BGFixS2.BorderSizePixel = 0
  705.     BGFixS2.Position = UDim2.new(0.300507516, 0, 0.151252627, 0)
  706.     BGFixS2.Size = UDim2.new(0, 19, 0, 254)
  707.     BGFixS2.ZIndex = 4
  708.  
  709.     BGFixS1.Name = "BGFixS1"
  710.     BGFixS1.Parent = MainFr_3
  711.     BGFixS1.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  712.     BGFixS1.BorderSizePixel = 0
  713.     BGFixS1.Position = UDim2.new(0, 0, 0.138888896, 0)
  714.     BGFixS1.Size = UDim2.new(0, 140, 0, 10)
  715.     BGFixS1.ZIndex = 4
  716.     local UICorner_62 = Instance.new("UICorner")
  717.     UICorner_62.CornerRadius = UDim.new(0.0599999987, 0)
  718.     UICorner_62.Parent = MainFr_3
  719.     local BGFix = Instance.new("Frame")
  720.     local UICorner_63 = Instance.new("UICorner")
  721.     BGFix.Name = "BGFix"
  722.     BGFix.Parent = MainFr_3
  723.     BGFix.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  724.     BGFix.BorderSizePixel = 0
  725.     BGFix.Position = UDim2.new(0, 0, 0.138888896, 0)
  726.     BGFix.Size = UDim2.new(0, 140, 0, 299)
  727.     BGFix.ZIndex = 4
  728.  
  729.     UICorner_63.CornerRadius = UDim.new(0.0599999987, 0)
  730.     UICorner_63.Parent = BGFix
  731.     Category_2.Name = Name
  732.     Category_2.Visible = false
  733.     Category_2.Parent = Categories
  734.     Category_2.CanvasSize = UDim2.new(0,0,0,0)
  735.     Category_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  736.     Category_2.BackgroundTransparency = 1.000
  737.     Category_2.BorderSizePixel = 0
  738.     Category_2.Selectable = false
  739.     Category_2.Size = UDim2.new(1, 0, 1, 0)
  740.     Category_2.ZIndex = 6
  741.     Category_2.ScrollBarThickness = 6
  742.  
  743.     UIListLayout_2.Parent = Category_2
  744.     UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Right
  745.     UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  746.     UIListLayout_2.Padding = UDim.new(0, 10)
  747.  
  748.     UIPadding_3.Parent = Category_2
  749.     UIPadding_3.PaddingRight = UDim.new(0, 6)
  750.     UIPadding_3.PaddingTop = UDim.new(0, 6)
  751.     local cat = {}
  752.     function cat:Section(nAme)
  753.         local Section = Instance.new("Frame")
  754.         local UICorner_46 = Instance.new("UICorner")
  755.         local UIListLayout_3 = Instance.new("UIListLayout")
  756.         local SectionTitle = Instance.new("TextLabel")
  757.         Section.Name = nAme
  758.         Section.Parent = Category_2
  759.         Section.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
  760.         Section.BorderSizePixel = 0
  761.         Section.Position = UDim2.new(0.0536398478, 0, -0.977011502, 0)
  762.         Section.Selectable = true
  763.         Section.Size = UDim2.new(0, 241, 0,32)
  764.         Section.ZIndex = 4
  765.  
  766.         UICorner_46.CornerRadius = UDim.new(0, 6)
  767.         UICorner_46.Parent = Section
  768.  
  769.         UIListLayout_3.Parent = Section
  770.         UIListLayout_3.HorizontalAlignment = Enum.HorizontalAlignment.Center
  771.         UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  772.         UIListLayout_3.Padding = UDim.new(0, 6)
  773.  
  774.         SectionTitle.Name = "SectionTitle"
  775.         SectionTitle.Parent = Section
  776.         SectionTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  777.         SectionTitle.BackgroundTransparency = 1.000
  778.         SectionTitle.Position = UDim2.new(0, 0, 4.51443469e-08, 0)
  779.         SectionTitle.Size = UDim2.new(1, 0, 0, 24)
  780.         SectionTitle.ZIndex = 6
  781.         SectionTitle.Font = Enum.Font.ArialBold
  782.         SectionTitle.Text = "  "..nAme
  783.         SectionTitle.TextColor3 = Color3.fromRGB(230, 230, 230)
  784.         SectionTitle.TextSize = 16.000
  785.         SectionTitle.TextXAlignment = Enum.TextXAlignment.Left
  786.         Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,36+6)
  787.         local sect = {}
  788.         function sect:Label(naMe)
  789.             local Label = Instance.new("TextLabel")
  790.             local UICorner_47 = Instance.new("UICorner")
  791.             Label.Name = naMe
  792.             Label.Text = naMe
  793.             Label.Parent = Section
  794.             Label.Active = true
  795.             Label.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  796.             Label.BorderSizePixel = 0
  797.             Label.Position = UDim2.new(-0.627096713, 0, 0.6834324, 0)
  798.             Label.Selectable = true
  799.             Label.Size = UDim2.new(1, -12, 0, 32)
  800.             Label.ZIndex = 5
  801.             Label.Font = Enum.Font.ArialBold
  802.             Label.TextColor3 = Color3.fromRGB(230, 230, 230)
  803.             Label.TextSize = 12.000
  804.  
  805.             UICorner_47.CornerRadius = UDim.new(0, 6)
  806.             UICorner_47.Parent = Label
  807.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
  808.             Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
  809.         end
  810.         function sect:Button(naMe,callback)
  811.             callback = callback or function() end
  812.             local Button = Instance.new("TextButton")
  813.             local UICorner_48 = Instance.new("UICorner")
  814.             Button.Name = naMe
  815.             Button.Text = naMe
  816.             Button.Parent = Section
  817.             Button.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  818.             Button.BorderSizePixel = 0
  819.             Button.Position = UDim2.new(0, 0, 0.208999932, 0)
  820.             Button.Size = UDim2.new(1, -12, 0, 32)
  821.             Button.ZIndex = 5
  822.             Button.AutoButtonColor = false
  823.             Button.Font = Enum.Font.ArialBold
  824.             Button.TextColor3 = Color3.fromRGB(230, 230, 230)
  825.             Button.TextSize = 12.000
  826.  
  827.             UICorner_48.CornerRadius = UDim.new(0, 6)
  828.             UICorner_48.Parent = Button
  829.             Button.MouseButton1Click:Connect(function()
  830.                 CircleClick(Button,m.X,m.Y)
  831.                 callback()
  832.             end)
  833.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
  834.             Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
  835.         end
  836.         function sect:Toggle(naMe,callback)
  837.             callback = callback or function(tog) end
  838.             local Toggle_2 = Instance.new("TextButton")
  839.             local UICorner_49 = Instance.new("UICorner")
  840.             local BGToggle = Instance.new("Frame")
  841.             local Tog1 = Instance.new("TextLabel")
  842.             local UICorner_50 = Instance.new("UICorner")
  843.             local UICorner_51 = Instance.new("UICorner")
  844.             Toggle_2.Name = naMe
  845.             Toggle_2.Parent = Section
  846.             Toggle_2.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  847.             Toggle_2.BorderSizePixel = 0
  848.             Toggle_2.Position = UDim2.new(-0.602200449, 0, 0.689280331, 0)
  849.             Toggle_2.Size = UDim2.new(1, -12, 0, 32)
  850.             Toggle_2.ZIndex = 5
  851.             Toggle_2.AutoButtonColor = false
  852.             Toggle_2.Font = Enum.Font.ArialBold
  853.             Toggle_2.Text = "  "..naMe
  854.             Toggle_2.TextColor3 = Color3.fromRGB(230, 230, 230)
  855.             Toggle_2.TextSize = 12.000
  856.             Toggle_2.TextXAlignment = Enum.TextXAlignment.Left
  857.  
  858.             UICorner_49.CornerRadius = UDim.new(0, 6)
  859.             UICorner_49.Parent = Toggle_2
  860.  
  861.             BGToggle.Name = "BGToggle"
  862.             BGToggle.Parent = Toggle_2
  863.             BGToggle.AnchorPoint = Vector2.new(0, 0.5)
  864.             BGToggle.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
  865.             BGToggle.BorderSizePixel = 0
  866.             BGToggle.Position = UDim2.new(0.785733581, 0, 0.5, 0)
  867.             BGToggle.Size = UDim2.new(0, 40, 0, 17)
  868.             BGToggle.ZIndex = 7
  869.  
  870.             Tog1.Name = "Tog1"
  871.             Tog1.Parent = BGToggle
  872.             Tog1.Active = true
  873.             Tog1.AnchorPoint = Vector2.new(0, 0.5)
  874.             Tog1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  875.             Tog1.Position = UDim2.new(0, 0, 0.5, 0)
  876.             Tog1.Selectable = true
  877.             Tog1.Size = UDim2.new(0.479999989, 0, 1, -2)
  878.             Tog1.Font = Enum.Font.SourceSans
  879.             Tog1.Text = " "
  880.             Tog1.TextColor3 = Color3.fromRGB(0, 0, 0)
  881.             Tog1.TextSize = 14.000
  882.  
  883.             UICorner_50.CornerRadius = UDim.new(0, 4)
  884.             UICorner_50.Parent = Tog1
  885.  
  886.             UICorner_51.CornerRadius = UDim.new(0, 6)
  887.             UICorner_51.Parent = BGToggle
  888.             local togged = false
  889.             Toggle_2.MouseButton1Click:Connect(function()
  890.                 if togged == false then
  891.                     togged = true
  892.                     game.TweenService:Create(Tog1, TweenInfo.new(0.3), {Position = UDim2.new(0.5,0,0.5, 0)}):Play()
  893.                 else
  894.                     togged = false
  895.                     game.TweenService:Create(Tog1, TweenInfo.new(0.3), {Position = UDim2.new(0,0,0.5, 0)}):Play()
  896.                 end
  897.                 callback(togged)
  898.             end)
  899.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
  900.             Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
  901.         end
  902.         function sect:Box(naMe,callback)
  903.             callback = callback or function(txt) end
  904.             local Box = Instance.new("TextButton")
  905.             local UICorner_52 = Instance.new("UICorner")
  906.             local TextBox = Instance.new("TextBox")
  907.             local UICorner_53 = Instance.new("UICorner")
  908.             Box.Name = naMe
  909.             Box.Parent = Section
  910.             Box.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  911.             Box.BorderSizePixel = 0
  912.             Box.Position = UDim2.new(-0.577304184, 0, 0.668153584, 0)
  913.             Box.Size = UDim2.new(1, -12, 0, 32)
  914.             Box.ZIndex = 5
  915.             Box.AutoButtonColor = false
  916.             Box.Font = Enum.Font.ArialBold
  917.             Box.Text = "  "..naMe
  918.             Box.TextColor3 = Color3.fromRGB(230, 230, 230)
  919.             Box.TextSize = 12.000
  920.             Box.TextXAlignment = Enum.TextXAlignment.Left
  921.  
  922.             UICorner_52.CornerRadius = UDim.new(0, 6)
  923.             UICorner_52.Parent = Box
  924.  
  925.             TextBox.Parent = Box
  926.             TextBox.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
  927.             TextBox.Position = UDim2.new(0.711999893, 0, 0.218999863, 0)
  928.             TextBox.Size = UDim2.new(0, 56, 0, 19)
  929.             TextBox.Font = Enum.Font.ArialBold
  930.             TextBox.Text = ""
  931.             TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  932.             TextBox.TextSize = 12.000
  933.             TextBox.TextWrapped = true
  934.  
  935.             UICorner_53.CornerRadius = UDim.new(0, 4)
  936.             UICorner_53.Parent = TextBox
  937.             TextBox.Focused:Connect(function()
  938.                 game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Size = UDim2.new(0, 98,0, 19)}):Play()
  939.                 game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Position = UDim2.new(0.529, 0,0.219,0)}):Play()
  940.             end)
  941.             TextBox.FocusLost:Connect(function()
  942.                 game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Size = UDim2.new(0, 56,0, 19)}):Play()
  943.                 game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Position = UDim2.new(0.712, 0,0.219,0)}):Play()
  944.                 callback(TextBox.Text)
  945.             end)
  946.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
  947.             Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
  948.         end
  949.         function sect:Bind(naMe,keyboardOnly,callback)
  950.             callback = callback or function(e)end
  951.             keyboardOnly = keyboardOnly or true
  952.             local Keybind = Instance.new("TextButton")
  953.             local UICorner_54 = Instance.new("UICorner")
  954.             local Bind = Instance.new("TextLabel")
  955.             local UICorner_55 = Instance.new("UICorner")
  956.             Keybind.Name = naMe
  957.             Keybind.Parent = Section
  958.             Keybind.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  959.             Keybind.BorderSizePixel = 0
  960.             Keybind.Position = UDim2.new(-0.577304184, 0, 0.668153584, 0)
  961.             Keybind.Size = UDim2.new(1, -12, 0, 32)
  962.             Keybind.ZIndex = 5
  963.             Keybind.AutoButtonColor = false
  964.             Keybind.Font = Enum.Font.ArialBold
  965.             Keybind.Text = "  "..naMe
  966.             Keybind.TextColor3 = Color3.fromRGB(230, 230, 230)
  967.             Keybind.TextSize = 12.000
  968.             Keybind.TextXAlignment = Enum.TextXAlignment.Left
  969.  
  970.             UICorner_54.CornerRadius = UDim.new(0, 6)
  971.             UICorner_54.Parent = Keybind
  972.  
  973.             Bind.Name = "Bind"
  974.             Bind.Parent = Keybind
  975.             Bind.Active = true
  976.             Bind.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
  977.             Bind.Position = UDim2.new(0.711790383, 0, 0.21875, 0)
  978.             Bind.Selectable = true
  979.             Bind.Size = UDim2.new(0, 56, 0, 19)
  980.             Bind.Font = Enum.Font.ArialBold
  981.             Bind.Text = ""
  982.             Bind.TextColor3 = Color3.fromRGB(255, 255, 255)
  983.             Bind.TextSize = 12.000
  984.             Bind.TextWrapped = true
  985.  
  986.             UICorner_55.CornerRadius = UDim.new(0, 4)
  987.             UICorner_55.Parent = Bind
  988.             local banned = {
  989.                 Return = true;
  990.                 Space = true;
  991.                 Tab = true;
  992.                 Unknown = true;
  993.                 RightShift = true;
  994.                 A = true;
  995.                 S = true;
  996.                 D = true;
  997.                 W = true;
  998.             }
  999.             local shortNames = {
  1000.                 RightControl = 'RightCtrl';
  1001.                 LeftControl = 'LeftCtrl';
  1002.                 LeftShift = 'LShift';
  1003.                 MouseButton1 = "Mouse1";
  1004.                 MouseButton2 = "Mouse2";
  1005.             }
  1006.  
  1007.             local allowed = {
  1008.                 MouseButton1 = true;
  1009.                 MouseButton2 = true;
  1010.             }      
  1011.  
  1012.             local Binding =false
  1013.             local key = ""
  1014.             local Mouse  = game.Players.LocalPlayer:GetMouse()
  1015.             local UserInputService = game:GetService('UserInputService')
  1016.             Keybind.MouseButton1Click:Connect(function()
  1017.                 game:GetService("TweenService"):Create(Bind,TweenInfo.new(0.3),{TextColor3 = Color3.fromRGB(229, 196, 30)}):Play()
  1018.                 Binding = true
  1019.                 Bind.Text = "..."
  1020.                 local a, b = game:GetService('UserInputService').InputBegan:wait();
  1021.                 local name = tostring(a.KeyCode.Name);
  1022.                 local typeName = tostring(a.UserInputType.Name);
  1023.                 if (a.UserInputType ~= Enum.UserInputType.Keyboard and (allowed[a.UserInputType.Name]) and (not keyboardOnly)) or (a.KeyCode and (not banned[a.KeyCode.Name])) then
  1024.                     local name = (a.UserInputType ~= Enum.UserInputType.Keyboard and a.UserInputType.Name or a.KeyCode.Name);
  1025.                     Bind.Text = shortNames[name] or name:lower();
  1026.                     wait(0.1)  
  1027.                     key = name
  1028.                     callback(key)
  1029.                     Binding = false;
  1030.                     game:GetService("TweenService"):Create(Bind,TweenInfo.new(0.3),{TextColor3 = Color3.fromRGB(255,255,255)}):Play()
  1031.                 end
  1032.             end)
  1033.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
  1034.             Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
  1035.         end
  1036.         function sect:Slider(naMe,min,default,max,callback)
  1037.             callback = callback or function(b) end
  1038.             local Slider = Instance.new("TextButton")
  1039.             local UICorner_56 = Instance.new("UICorner")
  1040.             local Title_4 = Instance.new("TextLabel")
  1041.             local Number = Instance.new("TextLabel")
  1042.             local BG = Instance.new("TextButton")
  1043.             local UICorner_57 = Instance.new("UICorner")
  1044.             local Inner = Instance.new("TextButton")
  1045.             local UICorner_58 = Instance.new("UICorner")
  1046.             Slider.Name = naMe
  1047.             Slider.Parent = Section
  1048.             Slider.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  1049.             Slider.BorderSizePixel = 0
  1050.             Slider.Position = UDim2.new(0.0248962659, 0, 0.836051643, 0)
  1051.             Slider.Size = UDim2.new(1, -12, 0, 53)
  1052.             Slider.ZIndex = 5
  1053.             Slider.AutoButtonColor = false
  1054.             Slider.Font = Enum.Font.ArialBold
  1055.             Slider.Text = ""
  1056.             Slider.TextColor3 = Color3.fromRGB(230, 230, 230)
  1057.             Slider.TextSize = 12.000
  1058.             Slider.TextXAlignment = Enum.TextXAlignment.Left
  1059.             Slider.TextYAlignment = Enum.TextYAlignment.Top
  1060.  
  1061.             UICorner_56.CornerRadius = UDim.new(0, 6)
  1062.             UICorner_56.Parent = Slider
  1063.  
  1064.             Title_4.Name = "Title"
  1065.             Title_4.Parent = Slider
  1066.             Title_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1067.             Title_4.BackgroundTransparency = 1.000
  1068.             Title_4.BorderSizePixel = 0
  1069.             Title_4.Size = UDim2.new(0, 229, 0, 20)
  1070.             Title_4.Font = Enum.Font.ArialBold
  1071.             Title_4.Text = "  "..naMe
  1072.             Title_4.TextColor3 = Color3.fromRGB(230, 230, 230)
  1073.             Title_4.TextSize = 12.000
  1074.             Title_4.TextXAlignment = Enum.TextXAlignment.Left
  1075.  
  1076.             Number.Name = "Number"
  1077.             Number.Parent = Slider
  1078.             Number.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1079.             Number.BackgroundTransparency = 1.000
  1080.             Number.Position = UDim2.new(0.869576395, 0, -3.0932037e-07, 0)
  1081.             Number.Size = UDim2.new(0, 29, 0, 20)
  1082.             Number.Font = Enum.Font.ArialBold
  1083.             Number.Text = default
  1084.             Number.TextColor3 = Color3.fromRGB(255, 255, 255)
  1085.             Number.TextSize = 14.000
  1086.  
  1087.             BG.Name = "BG"
  1088.             BG.Parent = Slider
  1089.             BG.Active = false
  1090.             BG.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
  1091.             BG.ClipsDescendants = true
  1092.             BG.Position = UDim2.new(0.0262008738, 0, 0.52706182, 0)
  1093.             BG.Selectable = false
  1094.             BG.Size = UDim2.new(0, 213, 0, 10)
  1095.             BG.ZIndex = 6
  1096.             BG.AutoButtonColor = false
  1097.             BG.Text = ""
  1098.  
  1099.             UICorner_57.CornerRadius = UDim.new(0, 4)
  1100.             UICorner_57.Parent = BG
  1101.  
  1102.             Inner.Name = "Inner"
  1103.             Inner.Parent = BG
  1104.             Inner.Active = false
  1105.             Inner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1106.             Inner.Selectable = false
  1107.             Inner.Size = UDim2.new(0, 0, 1, 0)
  1108.             Inner.ZIndex = 7
  1109.             Inner.AutoButtonColor = false
  1110.             Inner.Text = ""
  1111.  
  1112.             UICorner_58.CornerRadius = UDim.new(0, 4)
  1113.             UICorner_58.Parent = Inner
  1114.             local mouse = game.Players.LocalPlayer:GetMouse()
  1115.             local uis = game:GetService("UserInputService")
  1116.             local Value;
  1117.             local down = false
  1118.             if default ~= min then
  1119.                 game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(default/max, 0, 0, 10)}):Play()
  1120.             end
  1121.             local function Activate()
  1122.                 spawn(function()
  1123.                     down = true
  1124.                     Value = math.floor((((tonumber(max) - tonumber(min)) / 213) * Inner.AbsoluteSize.X) +tonumber(min)) or 0
  1125.                     pcall(function()
  1126.                         callback(Value)
  1127.                     end)
  1128.                     Number.Text = Value    
  1129.                     game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(0, math.clamp(mouse.X - Inner.AbsolutePosition.X, 0, 213), 0, 10)}):Play()
  1130.  
  1131.                     while game:GetService("RunService").RenderStepped:wait() and down do
  1132.                         Value = math.floor((((tonumber(max) - tonumber(min)) / 213) * Inner.AbsoluteSize.X) +tonumber(min)) or 0
  1133.                         Number.Text = Value              
  1134.                         pcall(function()
  1135.                             callback(Value)
  1136.                         end)
  1137.                         game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(0, math.clamp(mouse.X - Inner.AbsolutePosition.X, 0, 213), 0, 10)}):Play()
  1138.                     end
  1139.                 end)
  1140.             end
  1141.             Inner.MouseButton1Down:Connect(function()
  1142.                 Activate()
  1143.             end)
  1144.             BG.MouseButton1Down:Connect(function()
  1145.                 Activate()
  1146.             end)
  1147.             uis.InputEnded:connect(function(key)
  1148.                 if key.UserInputType == Enum.UserInputType.MouseButton1 and down then
  1149.                     down = false
  1150.                     Value = math.floor((((tonumber(max) - tonumber(min)) / 213) * Inner.AbsoluteSize.X) +tonumber(min)) or 0
  1151.                     Number.Text = Value    
  1152.                     pcall(function()
  1153.                         callback(Value)
  1154.                     end)
  1155.                     game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(0, math.clamp(mouse.X - Inner.AbsolutePosition.X, 0, 213), 0, 10)}):Play()
  1156.                 end        
  1157.             end)
  1158.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,53+6)
  1159.             Section.Size = Section.Size + UDim2.new(0,0,0,53+6)
  1160.         end
  1161.         function sect:Dropdown(naMe,opts,callback)
  1162.             opts=opts or {"No","options","Selected!","kThxSlaxxF"}
  1163.             callback = callback or function(c) end
  1164.             local Dropdown = Instance.new("TextButton")
  1165.             local UICorner_59 = Instance.new("UICorner")
  1166.             local Mini_2 = Instance.new("ImageButton")
  1167.             local Title_4 = Instance.new("TextLabel")
  1168.             local Drop = Instance.new("Frame")
  1169.             local UICorner_60 = Instance.new("UICorner")
  1170.             local Scroll = Instance.new("ScrollingFrame")
  1171.             local UIListLayout_4 = Instance.new("UIListLayout")
  1172.             local UIPadding_4 = Instance.new("UIPadding")
  1173.  
  1174.  
  1175.             Dropdown.Name = naMe
  1176.             Dropdown.Parent = Section
  1177.             Dropdown.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  1178.             Dropdown.BorderSizePixel = 0
  1179.             Dropdown.Position = UDim2.new(-0.602200449, 0, 0.689280331, 0)
  1180.             Dropdown.Size = UDim2.new(1, -12, 0, 32)
  1181.             Dropdown.ZIndex = 5
  1182.             Dropdown.AutoButtonColor = false
  1183.             Dropdown.Font = Enum.Font.ArialBold
  1184.             Dropdown.Text = "  "
  1185.             Dropdown.TextColor3 = Color3.fromRGB(230, 230, 230)
  1186.             Dropdown.TextSize = 12.000
  1187.             Dropdown.TextXAlignment = Enum.TextXAlignment.Left
  1188.  
  1189.             UICorner_59.CornerRadius = UDim.new(0, 6)
  1190.             UICorner_59.Parent = Dropdown
  1191.  
  1192.             Mini_2.Name = "Mini"
  1193.             Mini_2.Parent = Dropdown
  1194.             Mini_2.Active = false
  1195.             Mini_2.BackgroundTransparency = 1.000
  1196.             Mini_2.Position = UDim2.new(0.856475949, 0, 0, 0)
  1197.             Mini_2.Selectable = false
  1198.             Mini_2.Size = UDim2.new(0, 32, 0, 32)
  1199.             Mini_2.ZIndex = 6
  1200.             Mini_2.Image = "rbxassetid://4370337241"
  1201.             Mini_2.ImageColor3 = Color3.fromRGB(230, 230, 230)
  1202.             Mini_2.ScaleType = Enum.ScaleType.Fit
  1203.             Title_4.Name = "Title"
  1204.             Title_4.Parent = Dropdown
  1205.             Title_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1206.             Title_4.BackgroundTransparency = 1.000
  1207.             Title_4.BorderSizePixel = 0
  1208.             Title_4.Size = UDim2.new(0, 229, 0, 20)
  1209.             Title_4.Font = Enum.Font.ArialBold
  1210.             Title_4.Text = "  "..naMe
  1211.             Title_4.TextColor3 = Color3.fromRGB(230, 230, 230)
  1212.             Title_4.TextSize = 12.000
  1213.             Title_4.TextXAlignment = Enum.TextXAlignment.Left
  1214.  
  1215.             Drop.Name = "Drop"
  1216.             Drop.Parent = Dropdown
  1217.             Drop.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
  1218.             Drop.BorderSizePixel = 0
  1219.             Drop.ClipsDescendants = true
  1220.             Drop.Position = UDim2.new(0, 0, 0.2252706182, 0)
  1221.             Drop.Size = UDim2.new(1, 0, 0, 0)
  1222.             Drop.ZIndex = 20
  1223.  
  1224.             UICorner_60.CornerRadius = UDim.new(0, 6)
  1225.             UICorner_60.Parent = Drop
  1226.  
  1227.             Scroll.Name = "Scroll"
  1228.             Scroll.Parent = Drop
  1229.             Scroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1230.             Scroll.BackgroundTransparency = 1.000
  1231.             Scroll.BorderSizePixel = 0
  1232.             Scroll.Selectable = false
  1233.             Scroll.Size = UDim2.new(1, 0, 1, 0)
  1234.             Scroll.ZIndex = 21
  1235.             Scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  1236.             Scroll.ScrollBarThickness = 6
  1237.  
  1238.             UIListLayout_4.Parent = Scroll
  1239.             UIListLayout_4.HorizontalAlignment = Enum.HorizontalAlignment.Center
  1240.             UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  1241.             UIListLayout_4.Padding = UDim.new(0, 2)
  1242.  
  1243.             UIPadding_4.Parent = Scroll
  1244.             UIPadding_4.PaddingTop = UDim.new(0, 2)
  1245.  
  1246.  
  1247.             local ena = false
  1248.             local def = Title_4.Text
  1249.             local old = Title_4.Text
  1250.             local br = Category_2.CanvasSize
  1251.             local cr = Dropdown.Size
  1252.             local dr = Section.Size
  1253.             local function getcurrentsize()
  1254.                 dr = Section.Size
  1255.                 br = Category_2.CanvasSize
  1256.             end
  1257.             for i,v in pairs(opts) do
  1258.                 local Button_2 = Instance.new("TextButton")
  1259.                 local UICorner_61 = Instance.new("UICorner")
  1260.                 Button_2.Name = "Button"
  1261.                 Button_2.Parent = Scroll
  1262.                 Button_2.BackgroundColor3 = Color3.fromRGB(25, 24, 25)
  1263.                 Button_2.BorderSizePixel = 0
  1264.                 Button_2.Position = UDim2.new(0, 0, 0.208999932, 0)
  1265.                 Button_2.Size = UDim2.new(1, -12, 0, 32)
  1266.                 Button_2.ZIndex = 5
  1267.                 Button_2.AutoButtonColor = false
  1268.                 Button_2.Font = Enum.Font.ArialBold
  1269.                 Button_2.Text = v
  1270.                 Button_2.TextColor3 = Color3.fromRGB(230, 230, 230)
  1271.                 Button_2.TextSize = 12.000
  1272.  
  1273.                 UICorner_61.CornerRadius = UDim.new(0, 6)
  1274.                 UICorner_61.Parent = Button_2
  1275.                 Scroll.CanvasSize = Scroll.CanvasSize + UDim2.new(0,0,0,32+2)
  1276.             end
  1277.             Dropdown.MouseButton1Click:Connect(function()
  1278.                 if ena == false then
  1279.                     getcurrentsize()
  1280.                     ena = true
  1281.                     old = Dropdown.Text
  1282.                     game.TweenService:Create(Mini, TweenInfo.new(0.3), {Rotation = -90}):Play()
  1283.                     game.TweenService:Create(Drop, TweenInfo.new(0.3), {Size = UDim2.new(1, 0,0, 106)}):Play()
  1284.                     game.TweenService:Create(Dropdown, TweenInfo.new(0.3), {Size = UDim2.new(1, -12, 0, 106+32)}):Play()
  1285.  
  1286.                     Title_4.Text = "  ..."
  1287.                     Section.Size = dr + UDim2.new(0,0,0,111)
  1288.                     Category_2.CanvasSize = br+ UDim2.new(0,0,0,111)
  1289.                     for i,v in pairs(Scroll:GetChildren()) do
  1290.                         if v:IsA("TextButton") then
  1291.                             v.MouseButton1Click:Connect(function()
  1292.                                 ena = false
  1293.                                 game.TweenService:Create(Mini, TweenInfo.new(0.3), {Rotation = 0}):Play()
  1294.                                 game.TweenService:Create(Drop, TweenInfo.new(0.3), {Size = UDim2.new(1, 0,0, 0)}):Play()
  1295.                                 callback(v.Text)
  1296.                                 Title_4.Text = def..": "..v.Text
  1297.                                 local cooldown = false
  1298.  
  1299.                                 CircleClick(v,m.X,m.Y)
  1300.                                 Section.Size = dr
  1301.                                 Category_2.CanvasSize = br
  1302.                                 Dropdown.Size = cr
  1303.  
  1304.  
  1305.                             end)
  1306.                         end
  1307.                     end
  1308.                 else
  1309.                     ena = false
  1310.                     game.TweenService:Create(Mini, TweenInfo.new(0.3), {Rotation = 0}):Play()
  1311.                     game.TweenService:Create(Drop, TweenInfo.new(0.3), {Size = UDim2.new(1, 0,0, 0)}):Play()
  1312.                     game.TweenService:Create(Dropdown, TweenInfo.new(0.3), {Size = UDim2.new(1, -12, 0, 32)}):Play()
  1313.                     Section.Size = dr
  1314.                     Category_2.CanvasSize = br
  1315.                     Title_4.Text = old
  1316.                 end
  1317.             end)
  1318.             Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
  1319.             Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
  1320.         end
  1321.         return sect;
  1322.     end
  1323.     return cat;
  1324. end
  1325. function win:Sort()
  1326.     for i,v in pairs(CatList:GetChildren()) do
  1327.         if v:IsA("TextButton") then
  1328.             v.MouseButton1Click:Connect(function()
  1329.                 for i1,v1 in pairs(Categories:GetChildren()) do
  1330.                     v1.Visible = false
  1331.                     if v1.Name == v.Text then
  1332.                         v1.Visible = true
  1333.                     end
  1334.                 end
  1335.                 for i2,v2 in pairs(CatList:GetChildren()) do
  1336.                     if v2:IsA("TextButton") then
  1337.                         game:GetService("TweenService"):Create(v2, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}):Play()
  1338.                     end
  1339.                 end
  1340.                 game:GetService("TweenService"):Create(v, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(90,90,90)}):Play()
  1341.             end)
  1342.         end
  1343.     end
  1344. end
  1345. function win:SetTop(thing)
  1346.     for i1,v1 in pairs(Categories:GetChildren()) do
  1347.         if v1.Name == thing then
  1348.             for i2,v2 in pairs(CatList:GetChildren()) do
  1349.                 if v2:IsA("TextButton") then
  1350.                     game:GetService("TweenService"):Create(v2, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}):Play()
  1351.                 end
  1352.             end
  1353.             game:GetService("TweenService"):Create(CatList[thing], TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(90,90,90)}):Play()
  1354.             v1.Visible = true
  1355.         end
  1356.     end
  1357. end
  1358.  
  1359. return win;
RAW Paste Data