Advertisement
StenHisDirt

t

Apr 8th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.15 KB | None | 0 0
  1. do
  2. local reallybro = game:GetService("CoreGui"):FindFirstChild("Sb2")
  3. if reallybro then reallybro:Destroy() end
  4. end
  5. local Size = 0
  6. local Sb2 = Instance.new("ScreenGui")
  7. Sb2.Name = "Sb2"
  8. Sb2.Parent = game.CoreGui
  9. Sb2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10. local busy = false
  11.  
  12. local library = {}
  13. -- only do this once
  14. function library:CreateInstance(Toggle)-- rgb? or custom color? maybe both idk
  15. if not Toggle then
  16. Toggle = "RightShift"
  17. end
  18. local MainFrame = Instance.new("Frame")
  19. local MainFrame = Instance.new("Frame")
  20. local OpenClose = Instance.new("TextButton")
  21. local SecondFrame = Instance.new("Frame")
  22. local Things = Instance.new("Frame")
  23. local UIGridLayout = Instance.new("UIGridLayout")
  24. local Decor = Instance.new("Frame")
  25. local Frame = Instance.new("Frame")
  26. local Ani3 = Instance.new("TextLabel")
  27. local Decor_2 = Instance.new("TextLabel")
  28. local Decor_3 = Instance.new("TextLabel")
  29. local Discord = Instance.new("ImageButton")
  30. local Decor_4 = Instance.new("Frame")
  31. local BeginLine = Instance.new("Frame")
  32. local Ani1 = Instance.new("Frame")
  33. local Ani2 = Instance.new("Frame")
  34. local OpeningText = Instance.new("TextButton")
  35. local ImageLabel_3 = Instance.new("ImageLabel")
  36.  
  37. MainFrame.Name = "MainFrame"
  38. MainFrame.Parent = Sb2
  39. MainFrame.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  40. MainFrame.BorderSizePixel = 0
  41. MainFrame.Position = UDim2.new(0.453548342, 0,0.33, 0)
  42. MainFrame.Size = UDim2.new(0, 284, 0, 24)
  43.  
  44. Toggled = false
  45. Input = false
  46. game:GetService("UserInputService").InputEnded:Connect(function(Value)
  47. if Value.KeyCode == Enum.KeyCode[Toggle] and not Input then
  48. Toggled = not Toggled
  49. if Toggled then
  50. MainFrame.Visible = false
  51. else
  52. MainFrame.Visible = true
  53. end
  54. end
  55. end)
  56.  
  57. OpenClose.Name = "Open/Close"
  58. OpenClose.Parent = MainFrame
  59. OpenClose.BackgroundColor3 = Color3.new(1, 1, 1)
  60. OpenClose.BackgroundTransparency = 1
  61. OpenClose.Position = UDim2.new(0.913662672, 0, 0, 0)
  62. OpenClose.Size = UDim2.new(0, 24, 0, 24)
  63. OpenClose.Visible = false
  64. OpenClose.Font = Enum.Font.GothamSemibold
  65. OpenClose.Text = "-"
  66. OpenClose.TextColor3 = Color3.new(1, 1, 1)
  67. OpenClose.TextScaled = true
  68. OpenClose.TextSize = 14
  69. OpenClose.TextWrapped = true
  70.  
  71. SecondFrame.Name = "SecondFrame"
  72. SecondFrame.Parent = MainFrame
  73. SecondFrame.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  74. SecondFrame.BorderSizePixel = 0
  75. SecondFrame.Position = UDim2.new(0, 0, 1.125, 0)
  76. SecondFrame.Size = UDim2.new(0, 284, 0, 138) -- (0, 284, 0, 138)
  77.  
  78. Things.Name = "Things"
  79. Things.Parent = SecondFrame
  80. Things.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  81. Things.BorderColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  82. Things.BorderSizePixel = 0
  83. Things.Position = UDim2.new(0.0213319808, 0, 0.0267858095, 0)
  84. Things.Size = UDim2.new(0, 74, 0, 129)
  85.  
  86. UIGridLayout.Parent = Things
  87. UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
  88. UIGridLayout.CellPadding = UDim2.new(0, 5, 0, 1)
  89. UIGridLayout.CellSize = UDim2.new(0, 76, 0, 25)
  90.  
  91.  
  92. Decor.Name = "Decor"
  93. Decor.Parent = SecondFrame
  94. Decor.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  95. Decor.BackgroundTransparency = 1
  96. Decor.BorderSizePixel = 0
  97. Decor.Position = UDim2.new(0.229426429, 0, 0.0267857146, 0)
  98. Decor.Size = UDim2.new(0, 2, 0, 2)
  99.  
  100. Frame.Parent = Decor
  101. Frame.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  102. Frame.BorderSizePixel = 0
  103. Frame.Position = UDim2.new(11.7290039, 0, 0, 0)
  104. Frame.Size = UDim2.new(0, 189, 0, 129)
  105. Frame.Visible = true
  106.  
  107. Ani3.Name = "Ani3"
  108. Ani3.Parent = Decor
  109. Ani3.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  110. Ani3.BackgroundTransparency = 1.000
  111. Ani3.BorderColor3 = Color3.fromRGB(255, 255, 255)
  112. Ani3.BorderSizePixel = 2
  113. Ani3.Position = UDim2.new(12, 0, 4, 0)
  114. Ani3.Size = UDim2.new(0, 187, 0, 45)
  115. Ani3.Font = Enum.Font.GothamSemibold
  116. Ani3.Text = "Credits "
  117. Ani3.TextColor3 = Color3.fromRGB(255, 255, 255)
  118. Ani3.TextSize = 15.000
  119. Ani3.TextYAlignment = Enum.TextYAlignment.Top
  120.  
  121. Decor_2.Name = "Decor"
  122. Decor_2.Parent = Ani3
  123. Decor_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  124. Decor_2.BackgroundTransparency = 1.000
  125. Decor_2.Position = UDim2.new(-0.00260728598, 0, 2.05, 0)
  126. Decor_2.Size = UDim2.new(0, 189, 0, 36)
  127. Decor_2.Font = Enum.Font.GothamSemibold
  128. Decor_2.Text = "Welcome " .. game:GetService("Players").LocalPlayer.Name
  129. Decor_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  130. Decor_2.TextSize = 14.000
  131.  
  132. Decor_3.Name = "Decor"
  133. Decor_3.Parent = Ani3
  134. Decor_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135. Decor_3.BackgroundTransparency = 1.000
  136. Decor_3.Position = UDim2.new(-0.00186234526, 0, 0.539682567, 0)
  137. Decor_3.Size = UDim2.new(0, 189, 0, 19)
  138. Decor_3.Font = Enum.Font.GothamSemibold
  139. Decor_3.Text = "Mezr | Sten "
  140. Decor_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  141. Decor_3.TextSize = 14.000
  142.  
  143. Discord.Name = "Discord"
  144. Discord.Parent = Ani3
  145. Discord.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  146. Discord.BackgroundTransparency = 1.000
  147. Discord.Position = UDim2.new(0.391718507, 0, 1.2507937, 0)
  148. Discord.Size = UDim2.new(0, 43, 0, 43)
  149. Discord.Image = "http://www.roblox.com/asset/?id=4425657471"
  150.  
  151. Decor_4.Name = "Decor"
  152. Decor_4.Parent = Ani3
  153. Decor_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  154. Decor_4.BorderSizePixel = 0
  155. Decor_4.Position = UDim2.new(0.328932345, 0, 0.466666669, 0)
  156. Decor_4.Size = UDim2.new(0, 61, 0, 1)
  157.  
  158.  
  159.  
  160. BeginLine.Name = "BeginLine"
  161. BeginLine.Parent = MainFrame
  162. BeginLine.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  163. BeginLine.BorderSizePixel = 0
  164. BeginLine.Position = UDim2.new(1.94379481e-07, 0, 1, 0)
  165. BeginLine.Size = UDim2.new(0, 284, 0, 3)
  166.  
  167. Ani1.Name = "Ani1"
  168. Ani1.Parent = MainFrame
  169. Ani1.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  170. Ani1.BorderSizePixel = 0
  171. Ani1.Position = UDim2.new(0.287424237, 0, 1.24367523, 0)
  172. Ani1.Size = UDim2.new(0, 202, 0, 135)
  173.  
  174. Ani2.Name = "Ani2"
  175. Ani2.Parent = MainFrame
  176. Ani2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  177. Ani2.BorderSizePixel = 0
  178. Ani2.Position = UDim2.new(0.0184837673, 0, 1.125, 0)
  179. Ani2.Size = UDim2.new(0, 83, 0, 137)
  180.  
  181. OpeningText.Name = "OpeningText"
  182. OpeningText.Parent = MainFrame
  183. OpeningText.BackgroundColor3 = Color3.new(1, 1, 1)
  184. OpeningText.BackgroundTransparency = 1
  185. OpeningText.Position = UDim2.new(0.021, 0, -0.5, 0)
  186. OpeningText.Size = UDim2.new(0, 116, 0, 50)
  187. OpeningText.Font = Enum.Font.GothamSemibold
  188. OpeningText.TextXAlignment = Enum.TextXAlignment.Left
  189. OpeningText.Text = ""
  190. OpeningText.TextColor3 = Color3.new(1, 1, 1)
  191. OpeningText.TextSize = 20
  192.  
  193. ImageLabel_3.Parent = MainFrame
  194. ImageLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  195. ImageLabel_3.BackgroundTransparency = 1.000
  196. ImageLabel_3.Position = UDim2.new(0.324000001, 0, 1.875, 0)
  197. ImageLabel_3.Size = UDim2.new(0, 100, 0, 100)
  198. ImageLabel_3.Image = "http://www.roblox.com/asset/?id=4425657471"
  199.  
  200.  
  201. OpeningText.MouseButton1Click:connect(function()
  202. if Busy == false and Ani3.Visible == false then
  203. Frame1 = game:GetService("CoreGui"):FindFirstChild("Sb2"):FindFirstChild("MainFrame"):FindFirstChild("SecondFrame"):FindFirstChild("Decor"):FindFirstChild("Frame")
  204. for i,v in pairs(game:GetService("CoreGui"):FindFirstChild("Sb2"):FindFirstChild("MainFrame"):FindFirstChild("SecondFrame"):FindFirstChild("Decor"):GetChildren())do
  205. if not v.Name == "Frame" or "Ani3" then
  206. v.Visible = false
  207. end
  208. end
  209. Frame1.Visible = true
  210. Busy = true
  211. Frame1:TweenSize(UDim2.new(0, 0, 0, 129), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  212. wait(0.3)
  213. Frame1:TweenSize(UDim2.new(0, 189, 0, 129), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  214. wait(0.3)
  215. Ani3.Visible = true
  216. Busy = false
  217. end
  218. end)
  219.  
  220.  
  221.  
  222. spawn(function()
  223. if _G.CustomColors == true then
  224. color1 = _G.ColorBackGround
  225. color2 = _G.ColorBorder
  226. color3 = _G.ColorText
  227. for a,b in pairs(Sb2:GetDescendants()) do
  228. if b:IsA("Frame") or b:IsA("TextButton") or b:IsA("ScrollingFrame") or b:IsA("TextBox") then
  229. b.BackgroundColor3 = color2
  230. end
  231. if b:IsA("Frame") or b:IsA("TextButton") or b:IsA("ScrollingFrame") or b:IsA("TextLabel") or b:IsA("TextBox") then
  232. b.BorderColor3 = color1
  233. end
  234. if b:IsA("TextButton") or b:IsA("TextLabel") or b:IsA("TextBox") then
  235. b.TextColor3 = color3
  236. end
  237. if b.Name == "Frame" or b.Name == "AutoFarm" or b.Name == "Misc" or b.Name == "Settings" or b.Name == "Teleports" or b.Name == "Tools" or b.Name == "Things" or b.Name == "MobsTeleport" or b.Name == "MobsAutoFarm" or b.Name == "BeginLine" then
  238. b.BackgroundColor3 = color1
  239. end
  240. end
  241. end
  242. end)
  243. Animation = true
  244.  
  245. spawn(function()
  246. if Animation == true then
  247.  
  248.  
  249.  
  250.  
  251. OpeningText.Text = "|"
  252. wait(0.4)
  253. OpeningText.Text = ""
  254. wait(0.4)
  255. OpeningText.Text = "|"
  256. wait(0.4)
  257. OpeningText.Text = ""
  258. wait(0.4)
  259.  
  260.  
  261.  
  262. sound = Instance.new("Sound", workspace)
  263. sound.SoundId = "rbxassetid://163233363"
  264. sound:Play()
  265.  
  266.  
  267.  
  268.  
  269. OpeningText.Text = "D|"
  270. wait(0.1)
  271. OpeningText.Text = "Di|"
  272. wait(0.1)
  273. OpeningText.Text = "Dir|"
  274. wait(0.1)
  275. OpeningText.Text = "Dirt|"
  276. wait(0.1)
  277. OpeningText.Text = "Dirt |"
  278. wait(0.1)
  279. OpeningText.Text = "Dirt H|"
  280. wait(0.1)
  281. OpeningText.Text = "Dirt Hu|"
  282. wait(0.3)
  283. OpeningText.Text = "Dirt Hub"
  284. sound:Stop()
  285. wait(2)
  286. ImageLabel_3.ImageTransparency = 0
  287. wait()
  288. ImageLabel_3.ImageTransparency = 0.20
  289. wait()
  290. ImageLabel_3.ImageTransparency = 0.40
  291. wait()
  292. ImageLabel_3.ImageTransparency = 0.60
  293. wait()
  294. ImageLabel_3.ImageTransparency = 0.80
  295. wait()
  296. ImageLabel_3.ImageTransparency = 1
  297. wait(.5)
  298. Ani1:TweenSize(UDim2.new(0, 0, 0, 135), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.6,true)
  299. wait(0.6)
  300. Ani1.Visible = false
  301. Ani2:TweenSize(UDim2.new(0, 76, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  302. wait(0.3)
  303. Ani2.Visible = false
  304. OpenClose.Visible = true
  305. else
  306. OpenClose.Visible = true
  307. OpeningText:Destroy()
  308. Ani1:Destroy()
  309. Ani2:Destroy()
  310. end
  311. end)
  312.  
  313. Open = true
  314. function Ani()
  315. if Ani3.Visible == true then
  316. Ani3.Visible = false
  317. end
  318. end
  319. OpenClose.MouseButton1Click:connect(function()
  320. if Open == true and Busy == false then
  321. Busy = true
  322. SecondFrame:TweenSize(UDim2.new(0, 284, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  323. for i,v in pairs(SecondFrame:GetChildren()) do
  324. if v.Visible == true then
  325. v.Visible = false
  326. end
  327. end
  328. OpenClose.Text = "+"
  329. wait(0.3)
  330. Open = false
  331. Busy = false
  332. elseif Open == false and Busy == false then
  333. Busy = true
  334. SecondFrame:TweenSize(UDim2.new(0, 284, 0, 138), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  335. OpenClose.Text = "-"
  336. wait(0.3)
  337. Open = true
  338. Busy = false
  339. for i,v in pairs(SecondFrame:GetChildren()) do
  340. if v.Visible == false then
  341. v.Visible = true
  342. end
  343. end
  344. end
  345. end)
  346. Busy = false
  347.  
  348. spawn(function()
  349. function AssignDraggable(Button)
  350. local dragging = false
  351. local dragStart = 0
  352. local startPos = 0
  353. local dragInput
  354. local function update(input)
  355. local delta = input.Position - dragStart
  356. Button:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y),'Out','Linear',0.08,true)
  357. end
  358. Button.InputBegan:Connect(function(input)
  359. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  360. dragging = true
  361. dragStart = input.Position
  362. startPos = Button.Position
  363.  
  364. repeat wait() until input.UserInputState == Enum.UserInputState.End
  365. dragging = false
  366. end
  367. end)
  368. Button.InputChanged:Connect(function(input)
  369. if input.UserInputType == Enum.UserInputType.MouseMovement then
  370. dragInput = input
  371. end
  372. end)
  373. game:GetService("UserInputService").InputChanged:Connect(function(input)
  374. if input == dragInput and dragging then
  375. update(input)
  376. end
  377. end)
  378. end
  379. AssignDraggable(MainFrame)
  380. end)
  381.  
  382. local GamerLibrary = {}
  383. function GamerLibrary:CreateTab(name)
  384. local MiscB = Instance.new("TextButton")
  385. local Misc = Instance.new("ScrollingFrame")
  386. local FrameTitle = Instance.new("TextLabel")
  387. local FrameLine = Instance.new("Frame")
  388. local Scrol = Instance.new("ScrollingFrame")
  389.  
  390. local UIListLayout = Instance.new("UIListLayout")
  391.  
  392. MiscB.Name = "MiscB"
  393. MiscB.Parent = Things
  394. MiscB.BackgroundColor3 = Color3.new(1, 1, 1)
  395. MiscB.BackgroundTransparency = 1
  396. MiscB.Position = UDim2.new(0, 0, 0.2578125, 0)
  397. MiscB.Size = UDim2.new(0, 76, 0, 22)
  398. MiscB.Font = Enum.Font.GothamSemibold
  399. MiscB.Text = name
  400. MiscB.TextColor3 = Color3.new(1, 1, 1) -- tween the positon of the opening text to the top
  401. MiscB.TextSize = 13
  402.  
  403. Misc.Name = "Misc"
  404. Misc.Parent = Decor
  405. Misc.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  406. Misc.BorderColor3 = Color3.fromRGB(0, 0, 0)
  407. Misc.BorderSizePixel = 0
  408. Misc.Position = UDim2.new(11.5, 0, 3.05175781e-05, 0)
  409. Misc.Size = UDim2.new(0, 189, 0, 128)
  410. Misc.CanvasSize = UDim2.new(0, 0, 0, 0)
  411. Misc.ScrollBarThickness = 5
  412. Misc.Visible = false
  413. FrameTitle.Name = "FrameTitle"
  414. FrameTitle.Parent = Misc
  415. FrameTitle.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  416. FrameTitle.BackgroundTransparency = 1.000
  417. FrameTitle.BorderColor3 = Color3.fromRGB(65, 65, 65)
  418. FrameTitle.Position = UDim2.new(0.0480001196, 0, -0.00534929615, 0)
  419. FrameTitle.Size = UDim2.new(0, 179, 0, 25)
  420. FrameTitle.Font = Enum.Font.GothamSemibold
  421. FrameTitle.Text = name
  422. FrameTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  423. FrameTitle.TextSize = 14.000
  424. FrameTitle.TextXAlignment = Enum.TextXAlignment.Left
  425.  
  426. FrameLine.Name = "FrameLine"
  427. FrameLine.Parent = FrameTitle
  428. FrameLine.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  429. FrameLine.BackgroundTransparency = 0.600
  430. FrameLine.BorderSizePixel = 0
  431. FrameLine.LayoutOrder = 1
  432. FrameLine.Position = UDim2.new(-0.0103159808, 0, 0.992666602, 0)
  433. FrameLine.Size = UDim2.new(0, 1, 0, 97)
  434.  
  435. Scrol.Name = "Scrol"
  436. Scrol.Parent = FrameTitle
  437. Scrol.Active = true
  438. Scrol.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  439. Scrol.BackgroundTransparency = 1.000
  440. Scrol.BorderColor3 = Color3.fromRGB(27, 42, 53)
  441. Scrol.BorderSizePixel = 0
  442. Scrol.LayoutOrder = 2
  443. Scrol.Position = UDim2.new(0, 0, 0.971000969, 0)
  444. Scrol.Size = UDim2.new(0, 179, 0, 97)
  445. Scrol.CanvasSize = UDim2.new(0, 165, 0, 0)
  446. Scrol.ScrollBarThickness = 3
  447. Scrol.BottomImage = ""
  448. Scrol.TopImage = ""
  449. Scrol.MidImage = ""
  450. Scrol.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  451. spawn(function()
  452. while wait() do
  453. Scrol.CanvasSize = UDim2.new(0, 165, 0, Size)
  454. end
  455. end)
  456.  
  457. UIListLayout.Parent = Scrol
  458. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  459.  
  460.  
  461. MiscB.MouseButton1Click:connect(function()
  462. if Busy == false and Misc.Visible == false then
  463. Ani()
  464. Frame1 = game:GetService("CoreGui"):FindFirstChild("Sb2"):FindFirstChild("MainFrame"):FindFirstChild("SecondFrame"):FindFirstChild("Decor"):FindFirstChild("Frame")
  465. for i,v in pairs(game:GetService("CoreGui"):FindFirstChild("Sb2"):FindFirstChild("MainFrame"):FindFirstChild("SecondFrame"):FindFirstChild("Decor"):GetChildren())do
  466. if not v.Name == "Frame" or "Ani3" then
  467. v.Visible = false
  468. end
  469. end
  470. Frame1.Visible = true
  471. Busy = true
  472. Frame1:TweenSize(UDim2.new(0, 0, 0, 129), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  473. wait(0.3)
  474. Frame1:TweenSize(UDim2.new(0, 189, 0, 129), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true)
  475. wait(0.3)
  476. Frame1.Visible = false
  477. Misc.Visible = true
  478. Busy = false
  479. end
  480. end)
  481.  
  482.  
  483.  
  484. local GayLibrary = {}
  485.  
  486. function GayLibrary:CreateButton(name,callback)
  487. local Button = Instance.new("TextButton")
  488. local Line_2 = Instance.new("Frame")
  489.  
  490.  
  491. Button.Name = "Button"
  492. Button.Name = "Button"
  493. Button.Parent = Scrol
  494. Button.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  495. Button.BackgroundTransparency = 1.000
  496. Button.Position = UDim2.new(0, 0, 0.257731944, 0)
  497. Button.Size = UDim2.new(0, 177, 0, 21)
  498. Button.Font = Enum.Font.GothamSemibold
  499. Button.Text = name
  500. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  501. Button.TextSize = 14.000
  502. Button.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  503. Button.TextWrapped = true
  504. Size = Size + 23
  505. Line_2.Name = "Line"
  506. Line_2.Parent = Button
  507. Line_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  508. Line_2.BorderSizePixel = 0
  509. Line_2.Position = UDim2.new(0.0281941034, 0, 0.937779009, 0)
  510. Line_2.Size = UDim2.new(0, 172, 0, 1)
  511.  
  512.  
  513. Button.MouseButton1Click:Connect(function()
  514. callback()
  515.  
  516. end)
  517. end
  518.  
  519. function GayLibrary:CreateToggle(name,callback)
  520.  
  521. local ToggleTitle = Instance.new("TextLabel")
  522. local ToggleButton = Instance.new("TextButton")
  523. local Line = Instance.new("Frame")
  524. ToggleTitle.Name = "ToggleTitle"
  525. ToggleTitle.Parent = Scrol
  526. ToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  527. ToggleTitle.BackgroundTransparency = 1.000
  528. ToggleTitle.Position = UDim2.new(-0.00558659201, 0, 0.030927835, 0)
  529. ToggleTitle.Size = UDim2.new(0, 178, 0, 25)
  530. ToggleTitle.Font = Enum.Font.GothamSemibold
  531. ToggleTitle.Text = " " .. name
  532. ToggleTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  533. ToggleTitle.TextSize = 14.000
  534. ToggleTitle.TextXAlignment = Enum.TextXAlignment.Left
  535. Size = Size + 25
  536. ToggleButton.Name = "ToggleButton"
  537. ToggleButton.Parent = ToggleTitle
  538. ToggleButton.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  539. ToggleButton.BackgroundTransparency = 1.000
  540. ToggleButton.Position = UDim2.new(0.793754101, 0, 0.0266662594, 0)
  541. ToggleButton.Size = UDim2.new(0, 36, 0, 25)
  542. ToggleButton.Font = Enum.Font.GothamSemibold
  543. ToggleButton.Text = "Off"
  544. ToggleButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  545. ToggleButton.TextSize = 15.000
  546. ToggleButton.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  547. ToggleButton.TextWrapped = true
  548.  
  549. Line.Name = "Line"
  550. Line.Parent = ToggleTitle
  551. Line.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  552. Line.BorderSizePixel = 0
  553. Line.Position = UDim2.new(0.0281941276, 0, 0.937778294, 0)
  554. Line.Size = UDim2.new(0, 172, 0, 1)
  555.  
  556. ToggleButton.MouseButton1Click:Connect(function()
  557. if ToggleButton.Text == "Off" then
  558. ToggleButton.Text = "On"
  559. ToggleButton.TextColor3 = Color3.fromRGB(0,255,0)
  560. callback(true)
  561.  
  562. elseif ToggleButton.Text == "On" then
  563. ToggleButton.Text = "Off"
  564. ToggleButton.TextColor3 = Color3.fromRGB(255,0,0)
  565. callback(false)
  566.  
  567. end
  568. end)
  569.  
  570. end
  571.  
  572. function GayLibrary:CreateKeybind(name,defkey,callback)
  573.  
  574. local KeybindTitle = Instance.new("TextLabel")
  575. local Line_4 = Instance.new("Frame")
  576. local KeybindButton = Instance.new("TextButton")
  577. Size = Size + 25
  578. KeybindTitle.Name = "KeybindTitle"
  579. KeybindTitle.Parent = Scrol
  580. KeybindTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  581. KeybindTitle.BackgroundTransparency = 1.000
  582. KeybindTitle.Position = UDim2.new(0, 0, 0.835051537, 0)
  583. KeybindTitle.Size = UDim2.new(0, 178, 0, 25)
  584. KeybindTitle.Font = Enum.Font.GothamSemibold
  585. KeybindTitle.Text = " " .. name
  586. KeybindTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  587. KeybindTitle.TextSize = 14.000
  588. KeybindTitle.TextXAlignment = Enum.TextXAlignment.Left
  589.  
  590. Line_4.Name = "Line"
  591. Line_4.Parent = KeybindTitle
  592. Line_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  593. Line_4.BorderSizePixel = 0
  594. Line_4.Position = UDim2.new(0.0281941276, 0, 0.937778294, 0)
  595. Line_4.Size = UDim2.new(0, 170, 0, 1)
  596.  
  597. KeybindButton.Name = "KeybindButton"
  598. KeybindButton.Parent = KeybindTitle
  599. KeybindButton.BackgroundColor3 = Color3.fromRGB(11, 11, 11)
  600. KeybindButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  601. KeybindButton.Position = UDim2.new(0.793753982, 0, 0.200000003, 0)
  602. KeybindButton.Size = UDim2.new(0, 34, 0, 16)
  603. KeybindButton.Font = Enum.Font.GothamBold
  604. KeybindButton.Text = "K"
  605. KeybindButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  606. KeybindButton.TextSize = 12.000
  607. KeybindButton.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  608. KeybindButton.TextWrapped = true
  609. local enabled = false
  610. local mouse = game.Players.LocalPlayer:GetMouse()
  611.  
  612.  
  613. KeybindButton.MouseButton1Click:connect(function()
  614. KeybindButton.Text = "..."
  615. enabled = true
  616.  
  617.  
  618. mouse.KeyDown:Connect(function(key1)
  619. if enabled == true then
  620. KeybindButton.Text = string.upper(key1)
  621. enabled = false
  622. end
  623. end)
  624.  
  625.  
  626. end)
  627.  
  628.  
  629. local enabled2 = false
  630. mouse.KeyDown:Connect(function(key223)
  631. enabled2 = true
  632. if enabled == false and enabled2 == true then
  633. if key223 == string.lower(KeybindButton.Text) then
  634.  
  635.  
  636. callback()
  637.  
  638.  
  639. end
  640. end
  641. end) end
  642.  
  643. function GayLibrary:CreateSlider(Name,Min,Max,CallBack)
  644. local SliderContainer = Instance.new("Frame")
  645. local SliderTitle = Instance.new("TextLabel")
  646. local ImageLabel = Instance.new("ImageLabel")
  647. local SliderValue = Instance.new("TextLabel")
  648. local ImageButtonSpecial = Instance.new("ImageButton")
  649. local ImageLabel_2 = Instance.new("ImageLabel")
  650. local Line_3 = Instance.new("Frame")
  651. Size = Size + 38
  652. SliderContainer.Name = "SliderContainer"
  653. SliderContainer.Parent = Scrol
  654. SliderContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  655. SliderContainer.BackgroundTransparency = 1.000
  656. SliderContainer.BorderSizePixel = 0
  657. SliderContainer.Position = UDim2.new(0, 0, 0.515464544, 0)
  658. SliderContainer.Size = UDim2.new(0, 172, 0, 35)
  659.  
  660. SliderTitle.Name = "SliderTitle"
  661. SliderTitle.Parent = SliderContainer
  662. SliderTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  663. SliderTitle.BackgroundTransparency = 1.000
  664. SliderTitle.Position = UDim2.new(0.0391061455, 0, 0.091428563, 0)
  665. SliderTitle.Size = UDim2.new(0, 61, 0, 16)
  666. SliderTitle.Font = Enum.Font.GothamSemibold
  667. SliderTitle.Text = " " .. Name
  668. SliderTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  669. SliderTitle.TextSize = 14.000
  670. SliderTitle.TextXAlignment = Enum.TextXAlignment.Left
  671.  
  672. ImageLabel.Parent = SliderTitle
  673. ImageLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  674. ImageLabel.BackgroundTransparency = 1.000
  675. ImageLabel.BorderSizePixel = 0
  676. ImageLabel.Position = UDim2.new(2.227458, 0, 0, 0)
  677. ImageLabel.Size = UDim2.new(0.494619429, 0, 1, 0)
  678. ImageLabel.Image = "rbxassetid://3570695787"
  679. ImageLabel.ImageColor3 = Color3.fromRGB(13, 13, 13)
  680. ImageLabel.ScaleType = Enum.ScaleType.Slice
  681. ImageLabel.SliceCenter = Rect.new(100, 100, 100, 100)
  682. ImageLabel.SliceScale = 0.040
  683.  
  684. SliderValue.Name = "SliderValue"
  685. SliderValue.Parent = ImageLabel
  686. SliderValue.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  687. SliderValue.BackgroundTransparency = 1.000
  688. SliderValue.BorderColor3 = Color3.fromRGB(255, 255, 255)
  689. SliderValue.BorderSizePixel = 0
  690. SliderValue.Position = UDim2.new(-6.70552254e-08, 0, 0.125, 0)
  691. SliderValue.Size = UDim2.new(0, 30, 0, 11)
  692. SliderValue.Font = Enum.Font.GothamSemibold
  693. SliderValue.Text = Min
  694. SliderValue.TextColor3 = Color3.fromRGB(255, 255, 255)
  695. SliderValue.TextSize = 13.000
  696. SliderValue.TextWrapped = true
  697.  
  698. ImageButtonSpecial.Parent = SliderContainer
  699. ImageButtonSpecial.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  700. ImageButtonSpecial.BackgroundTransparency = 1.000
  701. ImageButtonSpecial.BorderSizePixel = 0
  702. ImageButtonSpecial.ClipsDescendants = true
  703. ImageButtonSpecial.Position = UDim2.new(0.0223463196, 0, 0.634286046, 0)
  704. ImageButtonSpecial.Size = UDim2.new(0.994839668, 0, 0.180000022, 0)
  705. ImageButtonSpecial.AutoButtonColor = false
  706. ImageButtonSpecial.Image = "rbxassetid://3570695787"
  707. ImageButtonSpecial.ImageColor3 = Color3.fromRGB(26, 26, 26)
  708. ImageButtonSpecial.ScaleType = Enum.ScaleType.Slice
  709. ImageButtonSpecial.SliceCenter = Rect.new(100, 100, 100, 100)
  710. ImageButtonSpecial.SliceScale = 0.040
  711.  
  712. ImageLabel_2.Parent = ImageButtonSpecial
  713. ImageLabel_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  714. ImageLabel_2.BorderSizePixel = 0
  715. ImageLabel_2.Position = UDim2.new(-0.00116661191, 0, 0, 0)
  716. ImageLabel_2.Size = UDim2.new(0, 0, 0.349999994, 5)
  717. ImageLabel_2.Image = "rbxassetid://3570695787"
  718. ImageLabel_2.ScaleType = Enum.ScaleType.Slice
  719. ImageLabel_2.SliceCenter = Rect.new(100, 100, 100, 100)
  720. ImageLabel_2.SliceScale = 0.040
  721.  
  722. Line_3.Name = "Line"
  723. Line_3.Parent = SliderContainer
  724. Line_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  725. Line_3.BorderSizePixel = 0
  726. Line_3.Position = UDim2.new(0.0229999628, 0, 1, 0)
  727. Line_3.Size = UDim2.new(0, 171, 0, 1)
  728.  
  729. local mouse = game.Players.LocalPlayer:GetMouse()
  730. local uis = game:GetService("UserInputService")
  731. local Value
  732. ImageButtonSpecial.MouseButton1Down:Connect(function()
  733. ImageLabel_2.Size = UDim2.new(0, math.clamp(mouse.X - ImageLabel_2.AbsolutePosition.X, 0, 170), 0, 5)
  734. Value = math.floor((((tonumber(Max) - tonumber(Min)) / 170) * ImageLabel_2.AbsoluteSize.X) + tonumber(Min))
  735. CallBack(Value)
  736. SliderValue.Text = tostring(Value)
  737. move = mouse.Move:Connect(function()
  738. Value = math.floor((((tonumber(Max) - tonumber(Min)) / 170) * ImageLabel_2.AbsoluteSize.X) + tonumber(Min))
  739. CallBack(Value)
  740. SliderValue.Text = tostring(Value)
  741. ImageLabel_2.Size = UDim2.new(0, math.clamp(mouse.X - ImageLabel_2.AbsolutePosition.X, 0, 170), 0, 5)
  742. end)
  743. kill = uis.InputEnded:Connect(function(Mouse)
  744. if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
  745. Value = math.floor((((tonumber(Max) - tonumber(Min)) / 170) * ImageLabel_2.AbsoluteSize.X) + tonumber(Min))
  746. CallBack(Value)
  747. move:Disconnect()
  748. kill:Disconnect()
  749. end
  750. end)
  751. end)
  752.  
  753.  
  754. end
  755.  
  756.  
  757. return GayLibrary;
  758.  
  759. end
  760.  
  761. return GamerLibrary;
  762. end
  763.  
  764. return library;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement