Advertisement
NiceBBMBThai

PEPSI’S UI LIBRARY – VERY CLEAN

Oct 6th, 2021
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. local library = loadstring(game:GetObjects("rbxassetid://7657867786")[1].Source)()
  2. local Wait = library.subs.Wait -- Only returns if the GUI has not been terminated. For 'while Wait() do' loops
  3.  
  4. local PepsisWorld = library:CreateWindow({
  5. Name = "Pepsi's World",
  6. Themeable = {
  7. Info = "Discord Server: VzYTJ7Y"
  8. }
  9. })
  10.  
  11. local GeneralTab = PepsisWorld:CreateTab({
  12. Name = "General"
  13. })
  14. local FarmingSection = GeneralTab:CreateSection({
  15. Name = "Farming"
  16. })
  17. FarmingSection:AddToggle({
  18. Name = "EXP Grinder",
  19. Flag = "FarmingSection_EXPGrinder"
  20. })
  21. FarmingSection:AddToggle({
  22. Name = "Trick Spammer",
  23. Flag = "FarmingSection_TrickSpammer",
  24. Keybind = 1,
  25. Callback = print
  26. })
  27. FarmingSection:AddSlider({
  28. Name = "Trick Rate",
  29. Flag = "FarmingSection_TrickRate",
  30. Value = 0.15,
  31. Precise = 2,
  32. Min = 0,
  33. Max = 1
  34. })
  35. FarmingSection:AddToggle({
  36. Name = "TP To Coins",
  37. Flag = "FarmingSection_TPCoins"
  38. })
  39. FarmingSection:AddToggle({
  40. Name = "Collect Coins",
  41. Flag = "FarmingSection_CollectCoins",
  42. Callback = print
  43. })
  44. FarmingSection:AddSlider({
  45. Name = "Coin Distance",
  46. Flag = "FarmingSection_CoinDistance",
  47. Value = 175,
  48. Min = 0,
  49. Max = 200,
  50. Format = function(Value)
  51. if Value == 0 then
  52. return "Collection Distance: Infinite"
  53. else
  54. return "Collection Distance: " .. tostring(Value)
  55. end
  56. end
  57. })
  58.  
  59. local BoardControlSection = GeneralTab:CreateSection({
  60. Name = "Board Control"
  61. })
  62. BoardControlSection:AddToggle({
  63. Name = "Anti Trip/Ragdoll",
  64. Flag = "BoardControlSection_AntiTripRagdoll",
  65. Callback = print
  66. })
  67. BoardControlSection:AddToggle({
  68. Name = "No Wear & Tear",
  69. Flag = "BoardControlSection_NoWearTear"
  70. })
  71. BoardControlSection:AddToggle({
  72. Name = "No Trick Cooldown",
  73. Flag = "BoardControlSection_NoTrickCooldown",
  74. Callback = print
  75. })
  76. BoardControlSection:AddToggle({
  77. Name = "Extend Combo Timout",
  78. Flag = "BoardControlSection_ExtendComboTimeout"
  79. })
  80. BoardControlSection:AddSlider({
  81. Name = "Timeout Extension",
  82. Flag = "BoardControlSection_CoinDistance",
  83. Value = 3,
  84. Min = 0,
  85. Max = 20,
  86. Format = function(Value)
  87. if Value == 0 then
  88. return "Combo Timeout: Never"
  89. else
  90. return "Combo Timeout: " .. tostring(Value) .. "s"
  91. end
  92. end
  93. })
  94.  
  95. local MiscSection = GeneralTab:CreateSection({
  96. Name = "Misc",
  97. Side = "Right"
  98. })
  99. MiscSection:AddToggle({
  100. Name = "Unlock Gamepasses",
  101. Flag = "MiscSection_UnlockGamepasses",
  102. Callback = print
  103. })
  104. MiscSection:AddToggle({
  105. Name = "Auto Compete",
  106. Flag = "MiscSection_AutoCompete",
  107. Callback = print
  108. })
  109. MiscSection:AddButton({
  110. Name = "Repair Board",
  111. Callback = function()
  112. print("Fixed")
  113. end
  114. })
  115. MiscSection:AddKeybind({
  116. Name = "Test Key",
  117. Callback = print
  118. })
  119. MiscSection:AddToggle({
  120. Name = "Test Toggle/Key",
  121. Keybind = {
  122. Mode = "Dynamic" -- Dynamic means to use the 'hold' method, if the user keeps the button pressed for longer than 0.65 seconds; else use toggle method
  123. },
  124. Callback = print
  125. })
  126.  
  127. local FunSection = GeneralTab:CreateSection({
  128. Name = "Fun Cosmetics"
  129. })
  130. FunSection:AddToggle({
  131. Name = "Ragdoll Assumes Flight",
  132. Flag = "FunSection_AssumesFlight"
  133. })
  134. FunSection:AddToggle({
  135. Name = "Ragdoll On Player Collision",
  136. Flag = "FunSection_RagdollOnPlayerCollision"
  137. })
  138. FunSection:AddToggle({
  139. Name = "Un-Ragdoll When Motionless",
  140. Flag = "FunSection_UnRagdollWhenMotionless"
  141. })
  142. FunSection:AddToggle({
  143. Name = "Extend Ragdoll Duration",
  144. Flag = "FunSection_ExtendRagdollDuration"
  145. })
  146. FunSection:AddSlider({
  147. Name = "Coin Distance",
  148. Flag = "FarmingSection_Coin Distance",
  149. Value = 4,
  150. Min = 0,
  151. Max = 60,
  152. Textbox = true,
  153. Format = function(Value)
  154. if Value == 0 then
  155. return "Ragdoll Extension: Indefinite"
  156. else
  157. return "Ragdoll Extension: " .. tostring(Value) .. "s"
  158. end
  159. end
  160. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement