Advertisement
SkeletalScripts

creamchalace

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