jayayyyy

xdsadasdsad

Dec 13th, 2021 (edited)
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.93 KB | None | 0 0
  1. do
  2. local ui = game:GetService("CoreGui"):FindFirstChild("NBTxTP Lib")
  3. if ui then
  4. ui:Destroy()
  5. end
  6. end
  7.  
  8.  
  9.  
  10. local UserInputService = game:GetService("UserInputService")
  11. local TweenService = game:GetService("TweenService")
  12. local RunService = game:GetService("RunService")
  13. local LocalPlayer = game:GetService("Players").LocalPlayer
  14. local Mouse = LocalPlayer:GetMouse()
  15.  
  16. local Atomlib = Instance.new("ScreenGui")
  17.  
  18. Atomlib.Name = "NBTxTP Lib"
  19. Atomlib.Parent = game:GetService("CoreGui")
  20. Atomlib.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22.  
  23.  
  24. local function MakeDraggable(topbarobject, object)
  25. local Dragging = nil
  26. local DragInput = nil
  27. local DragStart = nil
  28. local StartPosition = nil
  29.  
  30. local function Update(input)
  31. local Delta = input.Position - DragStart
  32. local pos =
  33. UDim2.new(
  34. StartPosition.X.Scale,
  35. StartPosition.X.Offset + Delta.X,
  36. StartPosition.Y.Scale,
  37. StartPosition.Y.Offset + Delta.Y
  38. )
  39. local Tween = TweenService:Create(object, TweenInfo.new(0.2), {Position = pos})
  40. Tween:Play()
  41. end
  42.  
  43. topbarobject.InputBegan:Connect(
  44. function(input)
  45. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  46. Dragging = true
  47. DragStart = input.Position
  48. StartPosition = object.Position
  49.  
  50. input.Changed:Connect(
  51. function()
  52. if input.UserInputState == Enum.UserInputState.End then
  53. Dragging = false
  54. end
  55. end
  56. )
  57. end
  58. end
  59. )
  60.  
  61. topbarobject.InputChanged:Connect(
  62. function(input)
  63. if
  64. input.UserInputType == Enum.UserInputType.MouseMovement or
  65. input.UserInputType == Enum.UserInputType.Touch
  66. then
  67. DragInput = input
  68. end
  69. end
  70. )
  71.  
  72. UserInputService.InputChanged:Connect(
  73. function(input)
  74. if input == DragInput and Dragging then
  75. Update(input)
  76. end
  77. end
  78. )
  79. end
  80.  
  81.  
  82. local create = {}
  83.  
  84.  
  85. function create:Win()
  86.  
  87. local fs = false
  88. local currentservertoggled = ""
  89. local Main = Instance.new("Frame")
  90.  
  91. Main.Name = "Main"
  92. Main.Parent = Atomlib
  93. Main.BackgroundColor3 = Color3.fromRGB(19 , 19, 19)
  94. Main.BorderSizePixel = 0
  95. Main.Position = UDim2.new(0.5, 0, 0.5 , 0)
  96. Main.Size = UDim2.new(0, 0, 0, 0)
  97. Main.ClipsDescendants = true
  98. Main.AnchorPoint = Vector2.new(0.5, 0.5)
  99.  
  100. local Logo = Instance.new("ImageLabel")
  101.  
  102.  
  103. Logo.Name = "Logo"
  104. Logo.Parent = Main
  105. Logo.AnchorPoint = Vector2.new(0.5, 0.5)
  106. Logo.Position = UDim2.new(0.1, 0, 0.08, 0)
  107. Logo.BackgroundColor3 = Color3.fromRGB(19, 19, 19)
  108. Logo.BorderColor3 = Color3.fromRGB(27, 42, 53)
  109. Logo.BorderSizePixel = 0
  110. Logo.Size = UDim2.new(0, 56, 0, 56)
  111. Logo.Image = "https://www.roblox.com/library/8249222657/omgkyler"
  112.  
  113. local PageTap = Instance.new("Frame")
  114. local UIGradient_PageTap = Instance.new("UIGradient")
  115.  
  116. PageTap.Name = "PageTap"
  117. PageTap.Parent = Main
  118. PageTap.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  119. PageTap.BackgroundTransparency = 1
  120. PageTap.BorderSizePixel = 0
  121. PageTap.Position = UDim2.new(0.189873412, 0, 0, 0)
  122. PageTap.Size = UDim2.new(0, 320, 0, 56)
  123.  
  124. UIGradient_PageTap.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(230, 0, 39)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 35, 138))}
  125. UIGradient_PageTap.Parent = PageTap
  126.  
  127.  
  128. local ScolTap = Instance.new("ScrollingFrame")
  129. local UIListLayout_ScolTap = Instance.new("UIListLayout")
  130. local UIPadding_ScolTap = Instance.new("UIPadding")
  131.  
  132. ScolTap.Name = "ScolTap"
  133. ScolTap.Parent = PageTap
  134. ScolTap.Active = true
  135. ScolTap.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. ScolTap.BackgroundTransparency = 1
  137. ScolTap.BorderSizePixel = 0
  138. ScolTap.Size = UDim2.new(0, 320, 0, 56)
  139. ScolTap.CanvasSize = UDim2.new(0.5, 0, 0, 0)
  140. ScolTap.ScrollBarThickness = 3
  141. ScolTap.ScrollBarImageColor3 = Color3.fromRGB(235, 235, 235)
  142.  
  143. UIListLayout_ScolTap.Parent = ScolTap
  144. UIListLayout_ScolTap.FillDirection = Enum.FillDirection.Horizontal
  145. UIListLayout_ScolTap.SortOrder = Enum.SortOrder.LayoutOrder
  146. UIListLayout_ScolTap.Padding = UDim.new(0, 5)
  147.  
  148. UIPadding_ScolTap.Parent = ScolTap
  149. UIPadding_ScolTap.PaddingTop = UDim.new(0, 6)
  150.  
  151.  
  152. local pagesFolder = Instance.new("Folder")
  153.  
  154. pagesFolder.Name = "pagesFolder"
  155. pagesFolder.Parent = Main
  156.  
  157. MakeDraggable(Main,Main)
  158. local tween = game:GetService("TweenService")
  159. local library = {currenttab = '',toggledui = false}
  160. tween:Create(Main,TweenInfo.new(0.4,Enum.EasingStyle.Back),{Size = UDim2.new(0, 395, 0, 395)}):Play()
  161.  
  162.  
  163. game:GetService("UserInputService").InputBegan:Connect(function(input)
  164. if input.KeyCode == Enum.KeyCode.RightControl then
  165. if library.toggledui == false then
  166. library.toggledui = true
  167. tween:Create(Main,TweenInfo.new(0.4,Enum.EasingStyle.Back,Enum.EasingDirection.In),{Size = UDim2.new(0, 0, 0, 0)}):Play()
  168. else
  169. library.toggledui = false
  170. tween:Create(Main,TweenInfo.new(0.4,Enum.EasingStyle.Back),{Size = UDim2.new(0, 395, 0, 395)}):Play()
  171. end
  172. end
  173. end)
  174.  
  175.  
  176. local tap = {}
  177.  
  178. function tap:addtap(text)
  179.  
  180. local TextButton_Tap = Instance.new("TextButton")
  181.  
  182. TextButton_Tap.Parent = ScolTap
  183. TextButton_Tap.Name = "TextButton_Tap"
  184. TextButton_Tap.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  185. TextButton_Tap.BackgroundTransparency = 1
  186. TextButton_Tap.Position = UDim2.new(0.0151898731, 0, 0.132352948, 0)
  187. TextButton_Tap.Size = UDim2.new(0, 75, 0, 50)
  188. TextButton_Tap.Font = Enum.Font.GothamSemibold
  189. TextButton_Tap.TextColor3 = Color3.fromRGB(155, 155, 155)
  190. TextButton_Tap.TextSize = 10.000
  191. TextButton_Tap.TextWrapped = true
  192. TextButton_Tap.Text = text
  193.  
  194.  
  195.  
  196. local TextLabel_Tap = Instance.new("TextLabel")
  197.  
  198. TextLabel_Tap.Parent = TextButton_Tap
  199. TextLabel_Tap.Name = "TextLabel_Tap"
  200. TextLabel_Tap.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  201. TextLabel_Tap.AnchorPoint = Vector2.new(0.5, 0.5)
  202. TextLabel_Tap.Position = UDim2.new(0.52, 0, 0.8, 0)
  203. TextLabel_Tap.Size = UDim2.new(0, 0, 0, 0)
  204. TextLabel_Tap.Font = Enum.Font.SourceSans
  205. TextLabel_Tap.Text = " "
  206. TextLabel_Tap.TextColor3 = Color3.fromRGB(255, 0, 95)
  207. TextLabel_Tap.TextSize = 14.000
  208. TextLabel_Tap.BorderSizePixel = 0
  209.  
  210.  
  211.  
  212. local MainFramePage = Instance.new("Frame")
  213.  
  214.  
  215. MainFramePage.Name = "MainFramePage"
  216. MainFramePage.Parent = pagesFolder
  217. MainFramePage.BackgroundColor3 = Color3.fromRGB(19, 19, 19)
  218. MainFramePage.BorderSizePixel = 0
  219. MainFramePage.Position = UDim2.new(0, 0, 0.141772151, 0)
  220. MainFramePage.Size = UDim2.new(0, 395, 0, 339)
  221. MainFramePage.Visible = false
  222.  
  223.  
  224.  
  225. local FramePage = Instance.new("Frame")
  226. local ScolPage = Instance.new("ScrollingFrame")
  227. local MainPage = Instance.new("Frame")
  228. local UIGridLayout_MainPage = Instance.new("UIGridLayout")
  229. local UIListLayout_MainPage = Instance.new("UIListLayout")
  230. local UIPadding_MainPage = Instance.new("UIPadding")
  231.  
  232. --Properties:
  233.  
  234. FramePage.Name = "FramePage"
  235. FramePage.Parent = MainFramePage
  236. FramePage.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  237. FramePage.BorderSizePixel = 0
  238. FramePage.ClipsDescendants = true
  239. FramePage.Position = UDim2.new(0, 0, 0.02359882, 0)
  240. FramePage.Size = UDim2.new(0, 395, 0, 331)
  241. FramePage.Visible = true
  242.  
  243. ScolPage.Name = "ScolPage"
  244. ScolPage.Parent = FramePage
  245. ScolPage.Active = true
  246. ScolPage.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  247. ScolPage.BorderSizePixel = 0
  248. ScolPage.Size = UDim2.new(0, 395, 0, 324)
  249. ScolPage.ScrollBarThickness = 3
  250. ScolPage.ScrollBarImageColor3 = Color3.fromRGB(255, 0, 125)
  251.  
  252. MainPage.Name = "MainPage"
  253. MainPage.Parent = ScolPage
  254. MainPage.BackgroundTransparency = 1
  255. MainPage.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  256. MainPage.BorderSizePixel = 0
  257. MainPage.Size = UDim2.new(0, 395, 0, 324)
  258.  
  259. UIGridLayout_MainPage.Parent = MainPage
  260. UIGridLayout_MainPage.SortOrder = Enum.SortOrder.LayoutOrder
  261. UIGridLayout_MainPage.CellPadding = UDim2.new(0, 20, 0, 10)
  262. UIGridLayout_MainPage.CellSize = UDim2.new(0, 170, 0, 295)
  263.  
  264. UIListLayout_MainPage.Parent = MainPage
  265. UIListLayout_MainPage.SortOrder = Enum.SortOrder.LayoutOrder
  266. UIListLayout_MainPage.Padding = UDim.new(0, 5)
  267.  
  268. UIPadding_MainPage.Parent = MainPage
  269. UIPadding_MainPage.PaddingLeft = UDim.new(0, 16)
  270. UIPadding_MainPage.PaddingTop = UDim.new(0, 10)
  271.  
  272.  
  273. TextButton_Tap.MouseButton1Click:connect(function ( )
  274. currentservertoggled = MainPage.Name
  275. for i, v in next, pagesFolder:GetChildren() do
  276. if v.Name == "MainFramePage" then
  277. -- TweenService:Create(
  278. -- fucklib,
  279. -- TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  280. -- {BackgroundTransparency = 0}
  281. -- ):Play()
  282. v.Visible = false
  283.  
  284. end
  285.  
  286. MainFramePage.Visible = true
  287. -- wait(0.125)
  288. -- TweenService:Create(
  289. -- fucklib,
  290. -- TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  291. -- {BackgroundTransparency = 1}
  292. -- ):Play()
  293. -- MainPage:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), "In", "Quad", 0.15, true)
  294. end
  295.  
  296. for i ,v in next , ScolTap:GetChildren() do
  297. if v:IsA("TextButton") then
  298. TweenService:Create(
  299. v.TextLabel_Tap,
  300. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  301. {Size = UDim2.new(0, 0, 0, 0)}
  302. ):Play()
  303. TweenService:Create(
  304. v,
  305. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  306. {TextColor3 = Color3.fromRGB(155, 155, 155)}
  307. ):Play()
  308.  
  309.  
  310. end
  311. TweenService:Create(
  312. TextLabel_Tap,
  313. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  314. {Size = UDim2.new(0, 50, 0, 2)}
  315. ):Play()
  316. TweenService:Create(
  317. TextButton_Tap,
  318. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  319. {TextColor3 = Color3.fromRGB(255, 255, 255)}
  320. ):Play()
  321. end
  322. end)
  323.  
  324.  
  325.  
  326. if fs == false then
  327. TweenService:Create(
  328. TextLabel_Tap,
  329. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  330. {Size = UDim2.new(0, 50, 0, 2)}
  331. ):Play()
  332. TweenService:Create(
  333. TextButton_Tap,
  334. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  335. {TextColor3 = Color3.fromRGB(255, 255, 255)}
  336. ):Play()
  337.  
  338. MainFramePage.Visible = true
  339. MainFramePage.Name = text .. "Server"
  340. fs = true
  341. end
  342.  
  343. local page = {}
  344.  
  345. function page:addpage()
  346.  
  347. local Page = Instance.new("Frame")
  348. local ScolPage2 = Instance.new("ScrollingFrame")
  349.  
  350.  
  351. Page.Name = "Page"
  352. Page.Parent = MainPage
  353. Page.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  354. Page.BorderSizePixel = 0
  355. Page.Position = UDim2.new(0.51645571, 0, 0.0526315793, 0)
  356. Page.Size = UDim2.new(0, 178, 0, 262)
  357.  
  358. ScolPage2.Name = "ScolPage"
  359. ScolPage2.Parent = Page
  360. ScolPage2.Active = true
  361. ScolPage2.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  362. ScolPage2.BorderSizePixel = 0
  363. ScolPage2.Size = UDim2.new(0, 185, 0, 298)
  364. ScolPage2.ScrollBarThickness = 3
  365. ScolPage2.ScrollBarImageColor3 = Color3.fromRGB(235, 235, 235)
  366.  
  367.  
  368. local UIListLayout_ScolPage2 = Instance.new("UIListLayout")
  369.  
  370. UIListLayout_ScolPage2.Parent = ScolPage2
  371. UIListLayout_ScolPage2.SortOrder = Enum.SortOrder.LayoutOrder
  372. UIListLayout_ScolPage2.Padding = UDim.new(0, 7)
  373.  
  374.  
  375. local UIPadding_ScolPage2 = Instance.new("UIPadding")
  376.  
  377. UIPadding_ScolPage2.Parent = ScolPage2
  378. UIPadding_ScolPage2.PaddingLeft = UDim.new(0,15)
  379. UIPadding_ScolPage2.PaddingTop = UDim.new(0, 15)
  380.  
  381. game:GetService("RunService").Stepped:Connect(function ()
  382. pcall(function ()
  383. ScolTap.CanvasSize = UDim2.new(0,UIListLayout_ScolTap.AbsoluteContentSize.X ,0,0)
  384. ScolPage.CanvasSize = UDim2.new(0,0,0,UIGridLayout_MainPage.AbsoluteContentSize.Y + 20 )
  385. ScolPage2.CanvasSize = UDim2.new(0,0,0,UIListLayout_ScolPage2.AbsoluteContentSize.Y+ 30 )
  386. end)
  387. end)
  388.  
  389.  
  390. local ems = {}
  391.  
  392. function ems:Button(text,callback)
  393.  
  394.  
  395.  
  396. local ToggleFrame = Instance.new("Frame")
  397.  
  398. ToggleFrame.Name = "ToggleFrame"
  399. ToggleFrame.Parent = ScolPage2
  400. ToggleFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  401. ToggleFrame.BorderSizePixel = 0
  402. ToggleFrame.BackgroundTransparency = 1
  403. ToggleFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  404. ToggleFrame.Size = UDim2.new(0, 155, 0, 22)
  405.  
  406. local emsTextButton = Instance.new("TextButton")
  407.  
  408. emsTextButton.Parent = ToggleFrame
  409. emsTextButton.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
  410. emsTextButton.BackgroundTransparency = 1
  411. emsTextButton.AnchorPoint = Vector2.new(0.5, 0.5)
  412. emsTextButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  413. emsTextButton.Size = UDim2.new(1, 0, 0.8, 0)
  414. emsTextButton.Font = Enum.Font.GothamSemibold
  415. emsTextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  416. emsTextButton.TextSize = 13.000
  417. emsTextButton.TextWrapped = true
  418. emsTextButton.Text = ""
  419. emsTextButton.BorderSizePixel = 0
  420. emsTextButton.AutoButtonColor = false
  421.  
  422. local TextButton_Pageframe_Uiconner = Instance.new("UICorner")
  423.  
  424. TextButton_Pageframe_Uiconner.CornerRadius = UDim.new(0, 3)
  425. TextButton_Pageframe_Uiconner.Name = ""
  426. TextButton_Pageframe_Uiconner.Parent = ToggleFrame
  427.  
  428. local TextLabel_emsTextButton = Instance.new("TextLabel")
  429.  
  430. TextLabel_emsTextButton.Parent = emsTextButton
  431. TextLabel_emsTextButton.Name = "TextLabel_emsTextButton"
  432. TextLabel_emsTextButton.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  433. TextLabel_emsTextButton.AnchorPoint = Vector2.new(0.5, 0.5)
  434. TextLabel_emsTextButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  435. TextLabel_emsTextButton.Size = UDim2.new(0, 0, 0, 0)
  436. TextLabel_emsTextButton.Font = Enum.Font.GothamSemibold
  437. TextLabel_emsTextButton.Text = text
  438. TextLabel_emsTextButton.TextColor3 = Color3.fromRGB(255, 0, 95)
  439. TextLabel_emsTextButton.TextSize = 10.000
  440. TextLabel_emsTextButton.BorderSizePixel = 0
  441.  
  442. local MheeFrameStroke = Instance.new("UIStroke",ToggleFrame)
  443.  
  444. MheeFrameStroke.Thickness = 1
  445. MheeFrameStroke.LineJoinMode = Enum.LineJoinMode.Round
  446. MheeFrameStroke.Color = Color3.fromRGB(255, 0, 95)
  447. MheeFrameStroke.Transparency = 0
  448.  
  449. emsTextButton.MouseButton1Click:Connect(function()
  450. TweenService:Create(
  451. TextLabel_emsTextButton,
  452. TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  453. {TextSize =5} -- UDim2.new(0, 128, 0, 25)
  454. ):Play()
  455. wait(0.1)
  456. TweenService:Create(
  457. TextLabel_emsTextButton,
  458. TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  459. {TextSize = 10} -- UDim2.new(0, 128, 0, 25)
  460. ):Play()
  461. pcall(callback)
  462. end)
  463.  
  464.  
  465. emsTextButton.MouseEnter:Connect(function ( )
  466. -- if joincheck.check1 == false then
  467.  
  468. TweenService:Create(
  469. emsTextButton,
  470. TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  471. {BackgroundColor3 = Color3.fromRGB(255, 0, 95)} -- UDim2.new(0, 128, 0, 25)
  472. ):Play()
  473. -- end
  474. -- joincheck = not joincheck
  475. -- callback(joincheck)
  476. end)
  477. emsTextButton.MouseLeave:Connect(function ( )
  478.  
  479. TweenService:Create(
  480. emsTextButton,
  481. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  482. {BackgroundColor3 = Color3.fromRGB(255, 0, 95)} -- UDim2.new(0, 128, 0, 25)
  483. ):Play()
  484. end)
  485. end
  486.  
  487. function ems:Button1(text,callback)
  488.  
  489. local ToggleFrame1 = Instance.new("Frame")
  490.  
  491. ToggleFrame1.Name = "ToggleFrame"
  492. ToggleFrame1.Parent = ScolPage2
  493. ToggleFrame1.BackgroundColor3 = Color3.fromRGB(255, 0 ,95)
  494. ToggleFrame1.BorderSizePixel = 0
  495. ToggleFrame1.BackgroundTransparency = 0
  496. ToggleFrame1.Position = UDim2.new(0.5, 0, 0.5, 0)
  497. ToggleFrame1.Size = UDim2.new(0, 155, 0, 22)
  498.  
  499. local emsTextButton1 = Instance.new("TextButton")
  500.  
  501. emsTextButton1.Parent = ToggleFrame1
  502. emsTextButton1.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
  503. emsTextButton1.BackgroundTransparency = 1
  504. emsTextButton1.AnchorPoint = Vector2.new(0.5, 0.5)
  505. emsTextButton1.Position = UDim2.new(0.5, 0, 0.5, 0)
  506. emsTextButton1.Size = UDim2.new(1, 0, 0.8, 0)
  507. emsTextButton1.Font = Enum.Font.GothamSemibold
  508. emsTextButton1.TextColor3 = Color3.fromRGB(255, 255, 255)
  509. emsTextButton1.TextSize = 13.000
  510. emsTextButton1.TextWrapped = true
  511. emsTextButton1.Text = ""
  512. emsTextButton1.BorderSizePixel = 0
  513. emsTextButton1.AutoButtonColor = false
  514.  
  515. local TextButton_Pageframe_Uiconner1 = Instance.new("UICorner")
  516.  
  517. TextButton_Pageframe_Uiconner1.CornerRadius = UDim.new(0, 3)
  518. TextButton_Pageframe_Uiconner1.Name = ""
  519. TextButton_Pageframe_Uiconner1.Parent = ToggleFrame1
  520.  
  521. local TextLabel_emsTextButton1 = Instance.new("TextLabel")
  522.  
  523. TextLabel_emsTextButton1.Parent = emsTextButton1
  524. TextLabel_emsTextButton1.Name = "TextLabel_emsTextButton"
  525. TextLabel_emsTextButton1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  526. TextLabel_emsTextButton1.AnchorPoint = Vector2.new(0.5, 0.5)
  527. TextLabel_emsTextButton1.Position = UDim2.new(0.5, 0, 0.5, 0)
  528. TextLabel_emsTextButton1.Size = UDim2.new(0, 0, 0, 0)
  529. TextLabel_emsTextButton1.Font = Enum.Font.GothamSemibold
  530. TextLabel_emsTextButton1.Text = text
  531. TextLabel_emsTextButton1.TextColor3 = Color3.fromRGB(255, 255 ,255)
  532. TextLabel_emsTextButton1.TextSize = 10.000
  533. TextLabel_emsTextButton1.BorderSizePixel = 0
  534.  
  535. local MheeFrameStroke1 = Instance.new("UIStroke",ToggleFrame1)
  536.  
  537. MheeFrameStroke1.Thickness = 1
  538. MheeFrameStroke1.LineJoinMode = Enum.LineJoinMode.Round
  539. MheeFrameStroke1.Color = Color3.fromRGB(255, 0 ,95)
  540. MheeFrameStroke1.Transparency = 0
  541.  
  542. emsTextButton1.MouseButton1Click:Connect(function()
  543. TweenService:Create(
  544. TextLabel_emsTextButton1,
  545. TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  546. {TextSize =5} -- UDim2.new(0, 128, 0, 25)
  547. ):Play()
  548. wait(0.1)
  549. TweenService:Create(
  550. TextLabel_emsTextButton1,
  551. TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  552. {TextSize = 10} -- UDim2.new(0, 128, 0, 25)
  553. ):Play()
  554. pcall(callback)
  555. end)
  556.  
  557.  
  558. emsTextButton1.MouseEnter:Connect(function ( )
  559. -- if joincheck.check1 == false then
  560.  
  561. TweenService:Create(
  562. emsTextButton1,
  563. TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  564. {BackgroundColor3 = Color3.fromRGB(255, 255, 255)} -- UDim2.new(0, 128, 0, 25)
  565. ):Play()
  566. -- end
  567. -- joincheck = not joincheck
  568. -- callback(joincheck)
  569. end)
  570. emsTextButton1.MouseLeave:Connect(function ( )
  571.  
  572. TweenService:Create(
  573. emsTextButton1,
  574. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  575. {BackgroundColor3 = Color3.fromRGB(255, 255, 255)} -- UDim2.new(0, 128, 0, 25)
  576. ):Play()
  577. end)
  578. end
  579.  
  580. function ems:Toggle(text,de,callback)
  581.  
  582. local togdoc = {boolen = false ; }
  583. local ToggleFrame = Instance.new("Frame")
  584.  
  585. ToggleFrame.Name = "ToggleFrame"
  586. ToggleFrame.Parent = ScolPage2
  587. ToggleFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  588. ToggleFrame.BorderSizePixel = 0
  589. ToggleFrame.BackgroundTransparency = 1
  590. ToggleFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  591. ToggleFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  592. ToggleFrame.Size = UDim2.new(0, 10, 0, 30)
  593.  
  594. local ToggleButton = Instance.new("TextButton")
  595.  
  596. ToggleButton.Parent = ToggleFrame
  597. ToggleButton.BackgroundColor3 = Color3.fromRGB( 0, 0, 60)
  598. ToggleButton.BackgroundTransparency = 1
  599. ToggleButton.AnchorPoint = Vector2.new(0, 0.5)
  600. ToggleButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  601. ToggleButton.Size = UDim2.new(0, 155, 0, 25)
  602. ToggleButton.Font = Enum.Font.GothamSemibold
  603. ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  604. ToggleButton.TextSize = 13.000
  605. ToggleButton.TextWrapped = false
  606. ToggleButton.Text = ""
  607. ToggleButton.BorderSizePixel = 0
  608. ToggleButton.AutoButtonColor = false
  609. ToggleButton.ClipsDescendants = true
  610.  
  611. local ToggleButton2 = Instance.new("TextButton")
  612.  
  613. ToggleButton2.Parent = ToggleFrame
  614. ToggleButton2.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  615. ToggleButton2.BackgroundTransparency = 1
  616. ToggleButton2.AnchorPoint = Vector2.new(0.5, 0.5)
  617. ToggleButton2.Position = UDim2.new(1, 0, 0.45, 0)
  618. ToggleButton2.Size = UDim2.new(0, 20, 0, 20)
  619. ToggleButton2.Font = Enum.Font.GothamSemibold
  620. ToggleButton2.TextColor3 = Color3.fromRGB(255, 255, 255)
  621. ToggleButton2.TextSize = 13.000
  622. ToggleButton2.TextWrapped = false
  623. ToggleButton2.Text = ""
  624. ToggleButton2.BorderSizePixel = 0
  625.  
  626.  
  627. local TextLabelToggle = Instance.new("TextLabel")
  628.  
  629. TextLabelToggle.Parent = ToggleButton
  630. TextLabelToggle.Name = "TextLabelToggle"
  631. TextLabelToggle.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  632. TextLabelToggle.AnchorPoint = Vector2.new(0.5, 0.5)
  633. TextLabelToggle.Position = UDim2.new(0.64, 0, 0.4, 0)
  634. TextLabelToggle.Size = UDim2.new(0, 150, 0, 40)
  635. TextLabelToggle.Font = Enum.Font.GothamBold
  636. TextLabelToggle.Text = tostring(text)
  637. TextLabelToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  638. TextLabelToggle.TextSize = 11.000
  639. TextLabelToggle.BorderSizePixel = 0
  640. TextLabelToggle.TextScaled = true
  641. TextLabelToggle.BackgroundTransparency = 1
  642. TextLabelToggle.TextXAlignment = Enum.TextXAlignment.Left
  643. local resizetext2 = Instance.new("UITextSizeConstraint",TextLabelToggle)
  644. resizetext2.MaxTextSize = 11
  645.  
  646. local TextButton_2_Toggle = Instance.new("TextButton")
  647.  
  648. TextButton_2_Toggle.Parent = ToggleButton2
  649. TextButton_2_Toggle.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  650. TextButton_2_Toggle.BorderColor3 = Color3.fromRGB(249, 53, 139)
  651. TextButton_2_Toggle.BorderSizePixel = 0
  652. TextButton_2_Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
  653. TextButton_2_Toggle.Position = UDim2.new(0.5, 0, 0.5, 0)
  654. TextButton_2_Toggle.Size = UDim2.new(0, 19, 0, 19)
  655. TextButton_2_Toggle.Font = Enum.Font.SourceSans
  656. TextButton_2_Toggle.Text = " "
  657. TextButton_2_Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  658. TextButton_2_Toggle.TextSize = 12.000
  659. TextButton_2_Toggle.AutoButtonColor = false
  660.  
  661. local TextButton_3_Toggle = Instance.new("TextButton")
  662.  
  663.  
  664. TextButton_3_Toggle.Parent = TextButton_2_Toggle
  665. TextButton_3_Toggle.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  666. TextButton_3_Toggle.BorderColor3 = Color3.fromRGB(255, 0, 95)
  667. TextButton_3_Toggle.BorderSizePixel = 0
  668. TextButton_3_Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
  669. TextButton_3_Toggle.Position = UDim2.new(0.5, 0, 0.5, 0)
  670. TextButton_3_Toggle.Size = UDim2.new(0, 17, 0, 17)
  671. TextButton_3_Toggle.Font = Enum.Font.SourceSans
  672. TextButton_3_Toggle.Text = " "
  673. TextButton_3_Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  674. TextButton_3_Toggle.TextSize = 12.000
  675. TextButton_3_Toggle.AutoButtonColor = false
  676.  
  677. local ImageLabel_Toggle = Instance.new("ImageButton")
  678.  
  679.  
  680. ImageLabel_Toggle.Parent = TextButton_2_Toggle
  681. ImageLabel_Toggle.BackgroundTransparency = 1
  682. ImageLabel_Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  683. ImageLabel_Toggle.Size = UDim2.new(0, 0, 0, 0)
  684. ImageLabel_Toggle.Image = "rbxassetid://5880482965"
  685. ImageLabel_Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
  686. ImageLabel_Toggle.Position = UDim2.new(0.47, 0, 0.5, 0)
  687.  
  688.  
  689. local FrameToggle = Instance.new("UICorner")
  690.  
  691. FrameToggle.CornerRadius = UDim.new(0, 4)
  692. FrameToggle.Name = ""
  693. FrameToggle.Parent = emsTextButton
  694.  
  695. local FrameToggle1 = Instance.new("UICorner")
  696.  
  697. FrameToggle1.CornerRadius = UDim.new(0, 4)
  698. FrameToggle1.Name = ""
  699. FrameToggle1.Parent = TextButton_2_Toggle
  700.  
  701. local FrameToggle2 = Instance.new("UICorner")
  702.  
  703. FrameToggle2.CornerRadius = UDim.new(0, 4)
  704. FrameToggle2.Name = ""
  705. FrameToggle2.Parent = ImageLabel_Toggle
  706.  
  707. local FrameToggle3 = Instance.new("UICorner")
  708.  
  709. FrameToggle3.CornerRadius = UDim.new(0, 4)
  710. FrameToggle3.Name = ""
  711. FrameToggle3.Parent = TextButton_3_Toggle
  712.  
  713. TextButton_3_Toggle.MouseButton1Click:Connect(function ( )
  714. if togdoc.boolen ==false then
  715. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  716. wait(0.1)
  717. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 23, 0, 23), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  718. else
  719. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  720. wait(0.1)
  721. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  722. -- ImageLabel_Toggle.Visible = false
  723. end
  724. togdoc.boolen = not togdoc.boolen
  725. pcall(callback,togdoc.boolen)
  726. end)
  727.  
  728. ImageLabel_Toggle.MouseButton1Click:Connect(function ( )
  729. if togdoc.boolen ==false then
  730. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  731. wait(0.1)
  732. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 23, 0, 23), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  733. else
  734. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  735. wait(0.1)
  736. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  737. -- ImageLabel_Toggle.Visible = false
  738. end
  739. togdoc.boolen = not togdoc.boolen
  740. pcall(callback,togdoc.boolen)
  741. end)
  742.  
  743. TextButton_2_Toggle.MouseButton1Click:Connect(function ( )
  744. if togdoc.boolen ==false then
  745. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  746. wait(0.1)
  747. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 19, 0, 19), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  748. else
  749. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  750. wait(0.1)
  751. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  752. -- ImageLabel_Toggle.Visible = false
  753. end
  754. togdoc.boolen = not togdoc.boolen
  755. pcall(callback,togdoc.boolen)
  756. end)
  757.  
  758.  
  759. ToggleButton.MouseButton1Click:Connect(function ( )
  760. if togdoc.boolen ==false then
  761. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  762. wait(0.1)
  763. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 19, 0, 19), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  764. else
  765. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  766. wait(0.1)
  767. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  768. -- ImageLabel_Toggle.Visible = false
  769. end
  770. togdoc.boolen = not togdoc.boolen
  771. pcall(callback,togdoc.boolen)
  772. end)
  773.  
  774. if de == true then
  775. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 27, 0, 27), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  776. wait(0.1)
  777. ImageLabel_Toggle:TweenSizeAndPosition(UDim2.new(0, 19, 0, 19), UDim2.new(0.5, 0, 0.5, 0), "In", "Bounce", 0.1, true)
  778. togdoc.boolen = not togdoc.boolen
  779. pcall(callback,togdoc.boolen)
  780. end
  781. end
  782.  
  783. function ems:DropDown(text,text2,list,callback)
  784.  
  785.  
  786. local checkdrop = {checkscol = false ; }
  787. local DropFrame = Instance.new("Frame")
  788. local dropfuc = {}
  789.  
  790. DropFrame.Name = "DropFrame"
  791. DropFrame.Parent = ScolPage2
  792. DropFrame.BackgroundColor3 = Color3.fromRGB(255, 0 ,95)
  793. DropFrame.BorderSizePixel = 0
  794. DropFrame.BackgroundTransparency = 1
  795. DropFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  796. DropFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  797. DropFrame.Size = UDim2.new(0, 155, 0, 45)
  798. DropFrame.BackgroundTransparency = 1
  799. DropFrame.ClipsDescendants = true
  800.  
  801. local TextLabelDrop = Instance.new("TextLabel")
  802.  
  803. TextLabelDrop.Parent = DropFrame
  804. TextLabelDrop.Name = "TextLabelDrop"
  805. TextLabelDrop.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  806. TextLabelDrop.BackgroundTransparency = 1
  807. TextLabelDrop.AnchorPoint = Vector2.new(0.5, 0.5)
  808. TextLabelDrop.Position = UDim2.new(0.5, 0, 0.2, 0)
  809. TextLabelDrop.Size = UDim2.new(0, 155, 0, 15)
  810. TextLabelDrop.Font = Enum.Font.GothamSemibold
  811. TextLabelDrop.Text = text
  812. TextLabelDrop.TextColor3 = Color3.fromRGB(255, 255, 255)
  813. TextLabelDrop.TextSize = 10.000
  814. TextLabelDrop.BorderSizePixel = 0
  815. TextLabelDrop.ClipsDescendants = true
  816.  
  817. local FrameDrop = Instance.new("Frame")
  818.  
  819. FrameDrop.Name = "FrameDrop"
  820. FrameDrop.Parent = DropFrame
  821. FrameDrop.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  822. FrameDrop.BorderSizePixel = 0
  823. FrameDrop.BackgroundTransparency = 1
  824. FrameDrop.AnchorPoint = Vector2.new(0.5, 0.5)
  825. FrameDrop.Position = UDim2.new(0.5, 0, 0.75, 0)
  826. FrameDrop.Size = UDim2.new(0, 155, 0, 27)
  827. FrameDrop.BackgroundTransparency = 0
  828. FrameDrop.ClipsDescendants = true
  829.  
  830. local DropButton = Instance.new("TextButton")
  831.  
  832. DropButton.Parent = FrameDrop
  833. DropButton.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  834. DropButton.BackgroundTransparency = 1
  835. DropButton.AnchorPoint = Vector2.new(0.5, 0.5)
  836. DropButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  837. DropButton.Size = UDim2.new(0, 155, 0, 24)
  838. DropButton.Font = Enum.Font.GothamSemibold
  839. DropButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  840. DropButton.TextSize = 11.000
  841. DropButton.TextWrapped = true
  842. DropButton.Text = ""
  843. DropButton.BorderSizePixel = 0
  844. DropButton.AutoButtonColor = false
  845. DropButton.ClipsDescendants = true
  846.  
  847. local TextLabelDrop2 = Instance.new("TextLabel")
  848.  
  849. TextLabelDrop2.Parent = DropButton
  850. TextLabelDrop2.Name = "TextLabelDrop"
  851. TextLabelDrop2.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  852. TextLabelDrop2.BackgroundTransparency = 1
  853. TextLabelDrop2.AnchorPoint = Vector2.new(0.5, 0.5)
  854. TextLabelDrop2.Position = UDim2.new(0.5, 0, 0.5, 0)
  855. TextLabelDrop2.Size = UDim2.new(0, 155, 0, 22)
  856. TextLabelDrop2.Font = Enum.Font.GothamSemibold
  857. TextLabelDrop2.Text = text2.." : "
  858. TextLabelDrop2.TextColor3 = Color3.fromRGB(255, 255, 255)
  859. TextLabelDrop2.TextSize = 10.000
  860. TextLabelDrop2.BorderSizePixel = 0
  861. TextLabelDrop2.ClipsDescendants = true
  862.  
  863. local DropConer = Instance.new("UICorner")
  864.  
  865. DropConer.CornerRadius = UDim.new(0, 4)
  866. DropConer.Name = ""
  867. DropConer.Parent = DropButton
  868.  
  869. local DropConer1 = Instance.new("UICorner")
  870.  
  871. DropConer1.CornerRadius = UDim.new(0, 4)
  872. DropConer1.Name = ""
  873. DropConer1.Parent = FrameDrop
  874.  
  875.  
  876.  
  877. local TextButton_Dropdown = Instance.new("TextButton")
  878.  
  879. TextButton_Dropdown.Parent = DropButton
  880. TextButton_Dropdown.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  881. TextButton_Dropdown.BorderSizePixel = 0
  882. TextButton_Dropdown.Size = UDim2.new(0, 22, 0, 24)
  883. TextButton_Dropdown.Font = Enum.Font.SourceSans
  884. TextButton_Dropdown.Text = " "
  885. TextButton_Dropdown.TextColor3 = Color3.fromRGB(0, 0, 0)
  886. TextButton_Dropdown.TextSize = 14.000
  887. TextButton_Dropdown.AutoButtonColor = false
  888. TextButton_Dropdown.AnchorPoint = Vector2.new(0.5, 0.5)
  889. TextButton_Dropdown.Position = UDim2.new(0.91, 0, 0.5, 0)
  890.  
  891. local DropConer2 = Instance.new("UICorner")
  892.  
  893. DropConer2.CornerRadius = UDim.new(0, 4)
  894. DropConer2.Name = ""
  895. DropConer2.Parent = TextButton_Dropdown
  896.  
  897. local DropArbt_listimage = Instance.new("ImageButton")
  898.  
  899. DropArbt_listimage.Parent = TextButton_Dropdown
  900. DropArbt_listimage.BackgroundTransparency = 1
  901. DropArbt_listimage.AnchorPoint = Vector2.new(0.5, 0.5)
  902. DropArbt_listimage.Position = UDim2.new(0.5, 0, 0.5, 0)
  903. DropArbt_listimage.BorderSizePixel = 0
  904. DropArbt_listimage.Size = UDim2.new(0, 20, 0, 20)
  905. DropArbt_listimage.Image = "http://www.roblox.com/asset/?id=6031091004"
  906.  
  907. local ListFrame = Instance.new("Frame")
  908.  
  909. ListFrame.Name = "ListFrame"
  910. ListFrame.Parent = ScolPage2
  911. ListFrame.BackgroundColor3 = Color3.fromRGB(255, 0 ,95)
  912. ListFrame.BorderSizePixel = 0
  913. ListFrame.BackgroundTransparency = 1
  914. ListFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  915. ListFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  916. ListFrame.Size = UDim2.new(0, 155, 0, 0)
  917. ListFrame.BorderSizePixel = 0
  918. ListFrame.ClipsDescendants = true
  919. ListFrame.Visible = false
  920.  
  921. local ScolPage_list = Instance.new("ScrollingFrame")
  922.  
  923.  
  924. local UIListLayout_MainPage_list = Instance.new("UIListLayout")
  925. local UIPadding_MainPage_list = Instance.new("UIPadding")
  926.  
  927.  
  928. ScolPage_list.Name = "ScolPage_list"
  929. ScolPage_list.Parent = ListFrame
  930. ScolPage_list.Active = true
  931. ScolPage_list.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  932. ScolPage_list.BorderSizePixel = 0
  933. ScolPage_list.Size = UDim2.new(0, 155, 0, 0)
  934. ScolPage_list.ScrollBarThickness = 3
  935. ScolPage_list.AnchorPoint = Vector2.new(0.5, 0.5)
  936. ScolPage_list.Position = UDim2.new(0.5, 0, 0.5, 0)
  937. ScolPage_list.ClipsDescendants = true
  938. ScolPage_list.ScrollBarImageColor3 = Color3.fromRGB(235, 235, 235)
  939. ScolPage_list.ScrollBarImageColor3 = Color3.fromRGB(235, 235, 235)
  940.  
  941. UIListLayout_MainPage_list.Parent = ScolPage_list
  942. UIListLayout_MainPage_list.SortOrder = Enum.SortOrder.LayoutOrder
  943. UIListLayout_MainPage_list.Padding = UDim.new(0, 5)
  944.  
  945. UIPadding_MainPage_list.Parent = ScolPage_list
  946. UIPadding_MainPage_list.PaddingLeft = UDim.new(0, 0)
  947. UIPadding_MainPage_list.PaddingTop = UDim.new(0, 0)
  948.  
  949.  
  950. local DropConer4 = Instance.new("UICorner")
  951.  
  952. DropConer4.CornerRadius = UDim.new(0, 4)
  953. DropConer4.Name = ""
  954. DropConer4.Parent = ListFrame
  955.  
  956. local framesize = 50
  957. local count = 0
  958. for i , v in pairs(list) do
  959. count = count + 1
  960.  
  961. if count == 1 then
  962. framesize = 50
  963. elseif count == 2 then
  964. framesize = 70
  965. elseif count >= 3 then
  966. framesize = 150
  967. end
  968.  
  969. local listDropButton = Instance.new("TextButton")
  970.  
  971. listDropButton.Parent = ScolPage_list
  972. listDropButton.BackgroundColor3 = Color3.fromRGB(15, 15 ,15)
  973. listDropButton.BorderSizePixel = 0
  974. listDropButton.Size = UDim2.new(0, 155, 0, 24)
  975. listDropButton.Font = Enum.Font.GothamSemibold
  976. listDropButton.Text = tostring(v)
  977. listDropButton.TextColor3 = Color3.fromRGB(255, 20, 95)
  978. listDropButton.TextSize = 11.000
  979. listDropButton.AutoButtonColor = false
  980. listDropButton.AnchorPoint = Vector2.new(0.5, 0.5)
  981. listDropButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  982.  
  983. listDropButton.MouseButton1Click:Connect(function()
  984. TweenService:Create(
  985. ListFrame,
  986. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  987. {Size = UDim2.new(0, 155, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  988. ):Play()
  989. TweenService:Create(
  990. ScolPage_list,
  991. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  992. {Size = UDim2.new(0, 155, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  993. ):Play()
  994. repeat
  995. wait()
  996. until ScolPage_list.Size == UDim2.new(0, 155, 0, 0)
  997. ListFrame.Visible = false
  998. TextLabelDrop2.Text = text2.." : "..tostring(v)
  999. callback(v)
  1000. end
  1001. )
  1002.  
  1003. listDropButton.MouseEnter:Connect(function ()
  1004. TweenService:Create(
  1005. listDropButton,
  1006. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1007. {BackgroundColor3 = Color3.fromRGB(25, 25, 25)} -- UDim2.new(0, 128, 0, 25)
  1008. ):Play()
  1009. end)
  1010. listDropButton.MouseLeave:Connect(function ()
  1011. TweenService:Create(
  1012. listDropButton,
  1013. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1014. {BackgroundColor3 = Color3.fromRGB(15, 15, 15)} -- UDim2.new(0, 128, 0, 25)
  1015. ):Play()
  1016. end)
  1017.  
  1018. ScolPage_list.CanvasSize = UDim2.new(0,0,0,UIListLayout_MainPage_list.AbsoluteContentSize.Y + 10)
  1019.  
  1020.  
  1021.  
  1022. end
  1023.  
  1024. DropArbt_listimage.MouseButton1Click:Connect(function()
  1025. if checkdrop.checkscol == false then
  1026. ListFrame.Visible = true
  1027. TweenService:Create(
  1028. DropArbt_listimage,
  1029. TweenInfo.new(0.3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
  1030. {Rotation = -180}
  1031. ):Play()
  1032. TweenService:Create(
  1033. ListFrame,
  1034. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1035. {Size = UDim2.new(0, 155, 0, framesize)} -- UDim2.new(0, 128, 0, 25)
  1036. ):Play()
  1037. TweenService:Create(
  1038. ScolPage_list,
  1039. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1040. {Size = UDim2.new(0, 155, 0, framesize)} -- UDim2.new(0, 128, 0, 25)
  1041. ):Play()
  1042.  
  1043. else
  1044. TweenService:Create(
  1045. DropArbt_listimage,
  1046. TweenInfo.new(0.3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
  1047. {Rotation = 0}
  1048. ):Play()
  1049. TweenService:Create(
  1050. ListFrame,
  1051. TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1052. {Size = UDim2.new(0, 155, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  1053. ):Play()
  1054. TweenService:Create(
  1055. ScolPage_list,
  1056. TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1057. {Size = UDim2.new(0, 155, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  1058. ):Play()
  1059. repeat
  1060. wait()
  1061. until ScolPage_list.Size == UDim2.new(0, 155, 0, 0)
  1062. ListFrame.Visible = false
  1063. end
  1064. checkdrop.checkscol = not checkdrop.checkscol
  1065. pcall(callback, checkdrop.checkscol )
  1066. end)
  1067.  
  1068.  
  1069. DropButton.MouseButton1Click:Connect(function()
  1070. if checkdrop.checkscol == false then
  1071. ListFrame.Visible = true
  1072. TweenService:Create(
  1073. DropArbt_listimage,
  1074. TweenInfo.new(0.3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
  1075. {Rotation = -180}
  1076. ):Play()
  1077. TweenService:Create(
  1078. ListFrame,
  1079. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1080. {Size = UDim2.new(0, 155, 0, framesize)} -- UDim2.new(0, 128, 0, 25)
  1081. ):Play()
  1082. TweenService:Create(
  1083. ScolPage_list,
  1084. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1085. {Size = UDim2.new(0, 155, 0, framesize)} -- UDim2.new(0, 128, 0, 25)
  1086. ):Play()
  1087.  
  1088. else
  1089. TweenService:Create(
  1090. DropArbt_listimage,
  1091. TweenInfo.new(0.3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
  1092. {Rotation = 0}
  1093. ):Play()
  1094. TweenService:Create(
  1095. ListFrame,
  1096. TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1097. {Size = UDim2.new(0, 155, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  1098. ):Play()
  1099. TweenService:Create(
  1100. ScolPage_list,
  1101. TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1102. {Size = UDim2.new(0, 155, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  1103. ):Play()
  1104. repeat
  1105. wait()
  1106. until ScolPage_list.Size == UDim2.new(0, 155, 0, 0)
  1107. ListFrame.Visible = false
  1108. end
  1109. checkdrop.checkscol = not checkdrop.checkscol
  1110. pcall(callback, checkdrop.checkscol )
  1111. end)
  1112.  
  1113. function dropfuc:Add(text2)
  1114.  
  1115. local listDropButton = Instance.new("TextButton")
  1116.  
  1117. listDropButton.Parent = ScolPage_list
  1118. listDropButton.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  1119. listDropButton.BorderSizePixel = 0
  1120. listDropButton.Size = UDim2.new(0, 155, 0, 24)
  1121. listDropButton.Font = Enum.Font.GothamSemibold
  1122. listDropButton.Text = tostring(text2)
  1123. listDropButton.TextColor3 = Color3.fromRGB(255, 0, 95)
  1124. listDropButton.TextSize = 11.000
  1125. listDropButton.AutoButtonColor = false
  1126. listDropButton.AnchorPoint = Vector2.new(0.5, 0.5)
  1127. listDropButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  1128.  
  1129.  
  1130.  
  1131. listDropButton.MouseButton1Click:Connect(function()
  1132. TweenService:Create(
  1133. ListFrame,
  1134. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1135. {Size = UDim2.new(0, 140, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  1136. ):Play()
  1137. TweenService:Create(
  1138. ScolPage_list,
  1139. TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1140. {Size = UDim2.new(0, 140, 0, 0)} -- UDim2.new(0, 128, 0, 25)
  1141. ):Play()
  1142. repeat
  1143. wait()
  1144. until ScolPage_list.Size == UDim2.new(0, 140, 0, 0)
  1145. ListFrame.Visible = false
  1146. TextLabelDrop2.Text = text.." : "..tostring(text2)
  1147. callback(text2)
  1148. end
  1149. )
  1150.  
  1151. listDropButton.MouseEnter:Connect(function ()
  1152. TweenService:Create(
  1153. listDropButton,
  1154. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1155. {BackgroundColor3 = Color3.fromRGB(25, 25, 25)} -- UDim2.new(0, 128, 0, 25)
  1156. ):Play()
  1157. end)
  1158. listDropButton.MouseLeave:Connect(function ()
  1159. TweenService:Create(
  1160. listDropButton,
  1161. TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1162. {BackgroundColor3 = Color3.fromRGB(15, 15, 15)} -- UDim2.new(0, 128, 0, 25)
  1163. ):Play()
  1164. end)
  1165.  
  1166. ScolPage_list.CanvasSize = UDim2.new(0,0,0,UIListLayout_MainPage_list.AbsoluteContentSize.Y + 10)
  1167.  
  1168.  
  1169. end
  1170.  
  1171. function dropfuc:Clear()
  1172. for i, v in next, ScolPage_list:GetChildren() do
  1173. if v:IsA("TextButton") then
  1174. v:Destroy()
  1175.  
  1176. end
  1177. ScolPage_list.CanvasSize = UDim2.new(0,0,0,UIListLayout_MainPage_list.AbsoluteContentSize.Y + 10)
  1178. end
  1179.  
  1180. end
  1181. return dropfuc
  1182. end
  1183.  
  1184. function ems:Slder(text,min,max,de,callback)
  1185. local SliderFunc = {}
  1186. local SliderFrame = Instance.new("Frame")
  1187.  
  1188.  
  1189. SliderFrame.Name = "SliderFrame"
  1190. SliderFrame.Parent = ScolPage2
  1191. SliderFrame.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1192. SliderFrame.BorderSizePixel = 0
  1193. SliderFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  1194. SliderFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  1195. SliderFrame.Size = UDim2.new(0, 155, 0, 50)
  1196. SliderFrame.BackgroundTransparency = 1
  1197. SliderFrame.ClipsDescendants = true
  1198.  
  1199. local fakeclick = Instance.new("TextButton",SliderFrame)
  1200.  
  1201. fakeclick.BackgroundColor3 = Color3.fromRGB(15,15,15)
  1202. fakeclick.BorderSizePixel = 0
  1203. fakeclick.Size = UDim2.new(1, 0, 1, 0)
  1204. fakeclick.Font = Enum.Font.GothamSemibold
  1205. fakeclick.Text = ""
  1206. fakeclick.TextColor3 = Color3.fromRGB(255, 255, 255)
  1207. fakeclick.Transparency = 1
  1208. fakeclick.TextSize = 10.000
  1209. fakeclick.AutoButtonColor = false
  1210. fakeclick.AnchorPoint = Vector2.new(0.5, 0.5)
  1211. fakeclick.Position = UDim2.new(0.5, 0, 0.3, 0)
  1212.  
  1213. local Conner_SliderFrame1 = Instance.new("UICorner")
  1214.  
  1215. Conner_SliderFrame1.CornerRadius = UDim.new(0, 5)
  1216. Conner_SliderFrame1.Name = ""
  1217. Conner_SliderFrame1.Parent = SliderFrame
  1218.  
  1219. local SlisFrameStroke = Instance.new("UIStroke",SliderFrame)
  1220.  
  1221. SlisFrameStroke.Thickness = 1
  1222. SlisFrameStroke.LineJoinMode = Enum.LineJoinMode.Round
  1223. SlisFrameStroke.Color = Color3.fromRGB(255, 0, 95)
  1224. SlisFrameStroke.Transparency = 0
  1225. local TalabelSlider = Instance.new("TextLabel")
  1226.  
  1227. TalabelSlider.Parent = SliderFrame
  1228. TalabelSlider.Name = "TalabelSlider"
  1229. TalabelSlider.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  1230. TalabelSlider.BackgroundTransparency = 1
  1231. TalabelSlider.AnchorPoint = Vector2.new(0.5, 0.5)
  1232. TalabelSlider.Position = UDim2.new(0.5, 0, 0.2, 0)
  1233. TalabelSlider.Size = UDim2.new(0, 145, 0, 20)
  1234. TalabelSlider.Font = Enum.Font.GothamSemibold
  1235. TalabelSlider.Text = text
  1236. TalabelSlider.TextColor3 = Color3.fromRGB(255, 255, 255)
  1237. TalabelSlider.TextSize = 11.000
  1238. TalabelSlider.BorderSizePixel = 0
  1239. TalabelSlider.ClipsDescendants = true
  1240. TalabelSlider.TextXAlignment = Enum.TextXAlignment.Left
  1241.  
  1242.  
  1243. local ValueFrame = Instance.new("Frame")
  1244.  
  1245. ValueFrame.Name = "ValueFrame"
  1246. ValueFrame.Parent = SliderFrame
  1247. ValueFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  1248. ValueFrame.BorderSizePixel = 0
  1249. ValueFrame.BackgroundTransparency = 0
  1250. ValueFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1251. ValueFrame.Position = UDim2.new(0.5, 0, 0.7, 0)
  1252. ValueFrame.Size = UDim2.new(0, 145, 0, 20)
  1253. ValueFrame.BackgroundTransparency = 1
  1254. ValueFrame.ClipsDescendants = true
  1255.  
  1256. local SecValue = Instance.new("Frame")
  1257.  
  1258. SecValue.Name = "SecValue"
  1259. SecValue.Parent = ValueFrame
  1260. SecValue.BackgroundColor3 = Color3.fromRGB(155, 155, 155)
  1261. SecValue.BorderSizePixel = 0
  1262. SecValue.BackgroundTransparency = 0
  1263. SecValue.AnchorPoint = Vector2.new(0.5, 0.5)
  1264. SecValue.Position = UDim2.new(0.5, 0, 0.5, 0)
  1265. SecValue.Size = UDim2.new(0, 135, 0, 4)
  1266. SecValue.BackgroundTransparency = 0
  1267. SecValue.ClipsDescendants = false
  1268.  
  1269.  
  1270. local MainValue = Instance.new("Frame")
  1271.  
  1272. MainValue.Name = "MainValue"
  1273. MainValue.Parent = SecValue
  1274. MainValue.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  1275. MainValue.BorderSizePixel = 0
  1276. MainValue.BackgroundTransparency = 0
  1277. -- MainValue.AnchorPoint = Vector2.new(0.5, 0.5)
  1278. MainValue.Position = UDim2.new(0., 0, 0., 0)
  1279. MainValue.Size = UDim2.new((de or 0) / max, 0, 0, 4)
  1280. MainValue.BackgroundTransparency = 0
  1281. MainValue.ClipsDescendants = false
  1282.  
  1283.  
  1284. local ConneValue = Instance.new("Frame")
  1285.  
  1286. ConneValue.Name = "ConneValue"
  1287. ConneValue.Parent = SecValue
  1288. ConneValue.BackgroundColor3 = Color3.fromRGB(255,255, 255)
  1289. ConneValue.Size = UDim2.new(0, 10, 0, 10)
  1290. ConneValue.BackgroundTransparency = 0
  1291. ConneValue.BorderSizePixel = 0
  1292. ConneValue.AnchorPoint = Vector2.new(0.5, 0.5)
  1293. ConneValue.Position = UDim2.new((de or 0)/max, 0.5, 0.5,0.5, 0)
  1294. ConneValue.ClipsDescendants = false
  1295.  
  1296. local Conner_Conne = Instance.new("UICorner")
  1297.  
  1298. Conner_Conne.CornerRadius = UDim.new(0, 10)
  1299. Conner_Conne.Name = ""
  1300. Conner_Conne.Parent = ConneValue
  1301.  
  1302.  
  1303. local ScolDown_Uiconner2 = Instance.new("UICorner")
  1304.  
  1305. ScolDown_Uiconner2.CornerRadius = UDim.new(0, 8)
  1306. ScolDown_Uiconner2.Name = ""
  1307. ScolDown_Uiconner2.Parent = MainValue
  1308.  
  1309. local ScolDown_Uiconner3 = Instance.new("UICorner")
  1310.  
  1311. ScolDown_Uiconner3.CornerRadius = UDim.new(0, 8)
  1312. ScolDown_Uiconner3.Name = ""
  1313. ScolDown_Uiconner3.Parent = SecValue
  1314.  
  1315.  
  1316.  
  1317. local ShowValueFarm = Instance.new("Frame")
  1318.  
  1319. ShowValueFarm.Name = "ShowValueFarm"
  1320. ShowValueFarm.Parent = SliderFrame
  1321. ShowValueFarm.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  1322. ShowValueFarm.Size = UDim2.new(0, 50, 0, 14)
  1323. ShowValueFarm.BackgroundTransparency = 1
  1324. ShowValueFarm.BorderSizePixel = 0
  1325. ShowValueFarm.AnchorPoint = Vector2.new(0.5, 0.5)
  1326. ShowValueFarm.Position = UDim2.new(0.80, 0, 0.28, 0)
  1327. ShowValueFarm.ClipsDescendants = false
  1328.  
  1329. local MheeFrameStroke1 = Instance.new("UIStroke",ShowValueFarm)
  1330.  
  1331. MheeFrameStroke1.Thickness = 1
  1332. MheeFrameStroke1.LineJoinMode = Enum.LineJoinMode.Round
  1333. MheeFrameStroke1.Color = Color3.fromRGB(255, 0, 95)
  1334. MheeFrameStroke1.Transparency = 0
  1335.  
  1336. local CustomValue = Instance.new("TextBox")
  1337.  
  1338. CustomValue.Parent = ShowValueFarm
  1339. CustomValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1340. CustomValue.BorderSizePixel = 0
  1341. CustomValue.ClipsDescendants = true
  1342. CustomValue.AnchorPoint = Vector2.new(0.5, 0.5)
  1343. CustomValue.Position = UDim2.new(0.5, 0, 0.5, 0)
  1344. CustomValue.Size = UDim2.new(0, 145, 0, 26)
  1345. CustomValue.Font = Enum.Font.GothamSemibold
  1346. CustomValue.PlaceholderColor3 = Color3.fromRGB(222, 222, 222)
  1347. CustomValue.PlaceholderText = ""
  1348. CustomValue.Text = tostring(de and math.floor((de / max) * (max - min) + min) or 0)
  1349. CustomValue.TextColor3 = Color3.fromRGB(255, 255, 255)
  1350. CustomValue.TextSize = 9.000
  1351. CustomValue.BackgroundTransparency = 1
  1352.  
  1353. local ScolDown_Uiconner3222 = Instance.new("UICorner")
  1354.  
  1355. ScolDown_Uiconner3222.CornerRadius = UDim.new(0, 4)
  1356. ScolDown_Uiconner3222.Name = ""
  1357. ScolDown_Uiconner3222.Parent = ShowValueFarm
  1358. local function move(input)
  1359. local pos =
  1360. UDim2.new(
  1361. math.clamp((input.Position.X - SecValue.AbsolutePosition.X) / SecValue.AbsoluteSize.X, 0, 1),
  1362. 0,
  1363. 0.5,
  1364. 0
  1365. )
  1366. local pos1 =
  1367. UDim2.new(
  1368. math.clamp((input.Position.X - SecValue.AbsolutePosition.X) / SecValue.AbsoluteSize.X, 0, 1),
  1369. 0,
  1370. 0,
  1371. 5
  1372. )
  1373.  
  1374. MainValue:TweenSize(pos1, "Out", "Sine", 0.2, true)
  1375.  
  1376. ConneValue:TweenPosition(pos, "Out", "Sine", 0.2, true)
  1377. local value = math.floor(((pos.X.Scale * max) / max) * (max - min) + min)
  1378. CustomValue.Text = tostring(value)
  1379. callback(value)
  1380.  
  1381. end
  1382. local dragging = false
  1383. ConneValue.InputBegan:Connect(
  1384. function(input)
  1385. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1386. dragging = true
  1387.  
  1388. end
  1389. end
  1390. )
  1391. ConneValue.InputEnded:Connect(
  1392. function(input)
  1393. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1394. dragging = false
  1395.  
  1396. end
  1397. end
  1398. )
  1399.  
  1400.  
  1401. ValueFrame.InputBegan:Connect(
  1402. function(input)
  1403. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1404. dragging = true
  1405.  
  1406. end
  1407. end
  1408. )
  1409. ValueFrame.InputEnded:Connect(
  1410. function(input)
  1411. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1412. dragging = false
  1413.  
  1414. end
  1415. end
  1416. )
  1417.  
  1418.  
  1419. game:GetService("UserInputService").InputChanged:Connect(
  1420. function(input)
  1421. if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  1422. move(input)
  1423. end
  1424. end
  1425. )
  1426. CustomValue.FocusLost:Connect(function()
  1427. MainValue:TweenSize(UDim2.new((CustomValue.Text or 0) / max, 0, 0, 5), "Out", "Sine", 0.2, true)
  1428. ConneValue:TweenPosition(UDim2.new((CustomValue.Text or 0)/max, 0,0.5, 0) , "Out", "Sine", 0.2, true)
  1429. CustomValue.Text = tostring(CustomValue.Text and math.floor((CustomValue.Text / max) * (max - min) + min) )
  1430. pcall(callback,tonumber( CustomValue.Text))
  1431. -- if CustomValue.Text == "" then
  1432.  
  1433. -- MainValue:TweenSize(UDim2.new((CustomValue.PlaceholderText or 0) / max, 0, 0, 2), "Out", "Sine", 0.2, true)
  1434. -- ConneValue:TweenPosition(UDim2.new((CustomValue.PlaceholderText or 0)/max, 0,0, 0) , "Out", "Sine", 0.2, true)
  1435. -- CustomValue.Text = tostring(CustomValue.PlaceholderText and math.floor(( CustomValue.PlaceholderText / max) * (max - min) + min) or 0)
  1436. -- pcall(callback,CustomValue.PlaceholderText )
  1437. -- end
  1438. end)
  1439.  
  1440. function SliderFunc:change(tochange)
  1441. MainValue:TweenSize(UDim2.new((tochange or 0) / max, 0, 0, 5), "Out", "Sine", 0.2, true)
  1442. ConneValue:TweenPosition(UDim2.new((tochange or 0)/max, 0,0.5, 0) , "Out", "Sine", 0.2, true)
  1443. CustomValue.Text = tostring(tochange and math.floor((CustomValue.Text / max) * (max - min) + min) )
  1444. pcall(callback, tonumber(tochange))
  1445. end
  1446. return SliderFunc
  1447.  
  1448. end
  1449.  
  1450. function ems:Ti(text)
  1451. local tiframe = Instance.new("Frame")
  1452.  
  1453. tiframe.Name = "tiframe"
  1454. tiframe.Parent = ScolPage2
  1455. tiframe.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1456. tiframe.BackgroundTransparency = 1
  1457. tiframe.BorderSizePixel = 0
  1458. tiframe.ClipsDescendants = true
  1459. tiframe.AnchorPoint = Vector2.new(0.5, 0.5)
  1460. tiframe.Position = UDim2.new(0.5, 0, 0.5, 0)
  1461. tiframe.Size = UDim2.new(0, 155, 0, 20)
  1462.  
  1463. local lineframe = Instance.new("TextLabel")
  1464.  
  1465. lineframe.Parent = tiframe
  1466. lineframe.BackgroundColor3 = Color3.fromRGB(255, 0 ,95)
  1467. lineframe.BackgroundTransparency = 0
  1468. lineframe.AnchorPoint = Vector2.new(0.6, 0.5)
  1469. lineframe.Position = UDim2.new(0., 0, 0.4, 0)
  1470. lineframe.BorderSizePixel = 0
  1471. lineframe.Size = UDim2.new(0, 40, 0, 1)
  1472. lineframe.Font = Enum.Font.GothamSemibold
  1473. lineframe.TextColor3 = Color3.fromRGB(255, 255, 255)
  1474. lineframe.TextSize = 13.000
  1475. lineframe.Text = ""
  1476.  
  1477. local lineframe2 = Instance.new("TextLabel")
  1478.  
  1479. lineframe2.Parent = tiframe
  1480. lineframe2.BackgroundColor3 = Color3.fromRGB(255, 0, 95)
  1481. lineframe2.BackgroundTransparency = 0
  1482. lineframe2.AnchorPoint = Vector2.new(0.5, 0.5)
  1483. lineframe2.Position = UDim2.new(1, 0, 0.4, 0)
  1484. lineframe2.BorderSizePixel = 0
  1485. lineframe2.Size = UDim2.new(0, 40, 0, 1)
  1486. lineframe2.Font = Enum.Font.GothamSemibold
  1487. lineframe2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1488. lineframe2.TextSize = 11.000
  1489. lineframe2.Text = ""
  1490.  
  1491. local lineframe3 = Instance.new("TextLabel")
  1492.  
  1493. lineframe3.Parent = tiframe
  1494. lineframe3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1495. lineframe3.BackgroundTransparency = 1
  1496. lineframe3.AnchorPoint = Vector2.new(0.5, 0.5)
  1497. lineframe3.Position = UDim2.new(0.5, 0, 0.5, 0)
  1498. lineframe3.BorderSizePixel = 0
  1499. lineframe3.Size = UDim2.new(0, 130, 0, 20)
  1500. lineframe3.Font = Enum.Font.GothamSemibold
  1501. lineframe3.Text = tostring(text)
  1502. lineframe3.TextColor3 = Color3.fromRGB(255, 100, 150)
  1503. lineframe3.TextSize = 12.000
  1504. end
  1505.  
  1506. function ems:Label(text)
  1507.  
  1508. local labelfuc = {}
  1509. local Labelxd = Instance.new("TextLabel")
  1510.  
  1511. Labelxd.Parent = ScolPage2
  1512. Labelxd.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1513. Labelxd.BackgroundTransparency = 1
  1514. Labelxd.AnchorPoint = Vector2.new(0.5, 0.5)
  1515. Labelxd.Position = UDim2.new(0.5, 0, 0.8, 0)
  1516. Labelxd.BorderSizePixel = 0
  1517. Labelxd.Size = UDim2.new(0, 155, 0, 13)
  1518. Labelxd.Font = Enum.Font.GothamSemibold
  1519. Labelxd.Text = tostring(text)
  1520. Labelxd.TextColor3 = Color3.fromRGB(255, 255, 255)
  1521. Labelxd.TextSize = 12.000
  1522.  
  1523. function labelfuc:Change(text2)
  1524. Labelxd.Text = tostring(text2)
  1525. end
  1526. return labelfuc
  1527. end
  1528.  
  1529. return ems
  1530. end
  1531. return page
  1532. end
  1533. return tap
  1534. end
  1535. return create
Add Comment
Please, Sign In to add comment