Advertisement
TrickedUp

YBA Script

Aug 22nd, 2021
21,571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.44 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local OpenFrame = Instance.new("Frame")
  8. local Close = Instance.new("TextButton")
  9. local UICorner = Instance.new("UICorner")
  10. local UICorner_2 = Instance.new("UICorner")
  11. local OPSCRIPT = Instance.new("TextButton")
  12. local UICorner_3 = Instance.new("UICorner")
  13. local ESPBeLike = Instance.new("TextButton")
  14. local UICorner_4 = Instance.new("UICorner")
  15. local Imagineusingaautofarm = Instance.new("TextButton")
  16. local UICorner_5 = Instance.new("UICorner")
  17. local YBALabel = Instance.new("TextLabel")
  18. local UICorner_6 = Instance.new("UICorner")
  19. local Open = Instance.new("TextButton")
  20. local UICorner_7 = Instance.new("UICorner")
  21. local Credits = Instance.new("TextLabel")
  22. local UICorner_8 = Instance.new("UICorner")
  23.  
  24. --Properties:
  25.  
  26. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  27. ScreenGui.ResetOnSpawn = false
  28.  
  29. OpenFrame.Name = "OpenFrame"
  30. OpenFrame.Parent = ScreenGui
  31. OpenFrame.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  32. OpenFrame.Position = UDim2.new(0.378170609, 0, 0.306976736, 0)
  33. OpenFrame.Size = UDim2.new(0, 291, 0, 145)
  34. OpenFrame.Visible = false
  35. OpenFrame.Active = true
  36.  
  37. Close.Name = "Close"
  38. Close.Parent = OpenFrame
  39. Close.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  40. Close.Position = UDim2.new(0.945017159, 0, 0, 0)
  41. Close.Size = UDim2.new(0, 16, 0, 17)
  42. Close.Font = Enum.Font.SourceSansBold
  43. Close.Text = "X"
  44. Close.TextColor3 = Color3.fromRGB(255, 0, 0)
  45. Close.TextSize = 14.000
  46.  
  47. UICorner.Parent = Close
  48.  
  49. UICorner_2.Parent = OpenFrame
  50.  
  51. OPSCRIPT.Name = "OP SCRIPT"
  52. OPSCRIPT.Parent = OpenFrame
  53. OPSCRIPT.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  54. OPSCRIPT.Position = UDim2.new(0.0859106481, 0, 0.255172431, 0)
  55. OPSCRIPT.Size = UDim2.new(0, 106, 0, 36)
  56. OPSCRIPT.Font = Enum.Font.Code
  57. OPSCRIPT.Text = "YBA Script"
  58. OPSCRIPT.TextColor3 = Color3.fromRGB(255, 255, 255)
  59. OPSCRIPT.TextSize = 14.000
  60. OPSCRIPT.MouseButton1Down:connect(function()
  61. loadstring(game:HttpGet("https://raw.githubusercontent.com/NukeVsCity/crackupdated2021/main/xenonus1"))()
  62. end)
  63.  
  64. UICorner_3.Parent = OPSCRIPT
  65.  
  66. ESPBeLike.Name = "ESP Be Like"
  67. ESPBeLike.Parent = OpenFrame
  68. ESPBeLike.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  69. ESPBeLike.Position = UDim2.new(0.549828172, 0, 0.255172431, 0)
  70. ESPBeLike.Size = UDim2.new(0, 106, 0, 36)
  71. ESPBeLike.Font = Enum.Font.Code
  72. ESPBeLike.Text = "YBA Item ESP"
  73. ESPBeLike.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. ESPBeLike.TextSize = 14.000
  75. ESPBeLike.MouseButton1Down:connect(function()
  76. -- Krnl support made possible by Egg Salad (v3rm)
  77. if not pcall(function() return syn.protect_gui end) then
  78. syn = {}
  79. syn.protect_gui = function(egg)
  80. egg.Parent = game.CoreGui
  81. end
  82. end
  83.  
  84. loadstring(game:HttpGet("https://gist.githubusercontent.com/Chrrxs/d2dfdcde75c2d11b173aa664c0a6b755/raw/YBA%2520Item%2520ESP.lua"))()
  85. end)
  86.  
  87.  
  88. UICorner_4.Parent = ESPBeLike
  89.  
  90. Imagineusingaautofarm.Name = "Imagine using a auto farm"
  91. Imagineusingaautofarm.Parent = OpenFrame
  92. Imagineusingaautofarm.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  93. Imagineusingaautofarm.Position = UDim2.new(0.0859106481, 0, 0.606896579, 0)
  94. Imagineusingaautofarm.Size = UDim2.new(0, 106, 0, 36)
  95. Imagineusingaautofarm.Font = Enum.Font.Code
  96. Imagineusingaautofarm.Text = "YBA Auto Farm"
  97. Imagineusingaautofarm.TextColor3 = Color3.fromRGB(255, 255, 255)
  98. Imagineusingaautofarm.TextSize = 14.000
  99. Imagineusingaautofarm.MouseButton1Down:connect(function()
  100. loadstring(game:HttpGet("https://raw.githubusercontent.com/kolgie/YBA-GUI/main/yba-gui-obfuscated.lua"))()
  101. end)
  102.  
  103. UICorner_5.Parent = Imagineusingaautofarm
  104.  
  105. YBALabel.Name = "YBA Label"
  106. YBALabel.Parent = OpenFrame
  107. YBALabel.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  108. YBALabel.Position = UDim2.new(0.295532644, 0, 0, 0)
  109. YBALabel.Size = UDim2.new(0, 125, 0, 26)
  110. YBALabel.Font = Enum.Font.Code
  111. YBALabel.Text = "YBA Gui"
  112. YBALabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  113. YBALabel.TextSize = 14.000
  114.  
  115. UICorner_6.Parent = YBALabel
  116.  
  117. Open.Name = "Open"
  118. Open.Parent = ScreenGui
  119. Open.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  120. Open.Position = UDim2.new(0.0146041503, 0, 0.893023252, 0)
  121. Open.Size = UDim2.new(0, 200, 0, 50)
  122. Open.Font = Enum.Font.SourceSansBold
  123. Open.Text = "Open"
  124. Open.TextColor3 = Color3.fromRGB(255, 255, 255)
  125. Open.TextSize = 39.000
  126.  
  127. UICorner_7.Parent = Open
  128.  
  129. Credits.Name = "Credits"
  130. Credits.Parent = ScreenGui
  131. Credits.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  132. Credits.Size = UDim2.new(0, 314, 0, 26)
  133. Credits.Font = Enum.Font.Code
  134. Credits.Text = "Made By: Don't_Talk#7336 And TrickedUp#6492"
  135. Credits.TextColor3 = Color3.fromRGB(255, 255, 255)
  136. Credits.TextSize = 14.000
  137.  
  138. UICorner_8.Parent = Credits
  139.  
  140. -- Scripts:
  141.  
  142. local function INXBE_fake_script() -- Close.Close Script
  143. local script = Instance.new('LocalScript', Close)
  144.  
  145. script.Parent.MouseButton1Click:Connect(function()
  146. script.Parent.Parent.Visible = false
  147. end)
  148. end
  149. coroutine.wrap(INXBE_fake_script)()
  150. local function WRRMA_fake_script() -- OpenFrame.Soft Drag
  151. local script = Instance.new('LocalScript', OpenFrame)
  152.  
  153. local UIS = game:GetService('UserInputService')
  154. local frame = script.Parent
  155. local dragToggle = nil
  156. local dragSpeed = 0.25
  157. local dragStart = nil
  158. local startPos = nil
  159.  
  160. local function updateInput(input)
  161. local delta = input.Position - dragStart
  162. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  163. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  164. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  165. end
  166.  
  167. frame.InputBegan:Connect(function(input)
  168. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  169. dragToggle = true
  170. dragStart = input.Position
  171. startPos = frame.Position
  172. input.Changed:Connect(function()
  173. if input.UserInputState == Enum.UserInputState.End then
  174. dragToggle = false
  175. end
  176. end)
  177. end
  178. end)
  179.  
  180. UIS.InputChanged:Connect(function(input)
  181. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  182. if dragToggle then
  183. updateInput(input)
  184. end
  185. end
  186. end)
  187. end
  188. coroutine.wrap(WRRMA_fake_script)()
  189. local function GFAD_fake_script() -- Open.Open Script
  190. local script = Instance.new('LocalScript', Open)
  191.  
  192. script.Parent.MouseButton1Click:Connect(function()
  193. script.Parent.Parent.OpenFrame.Visible = true
  194. end)
  195. end
  196. coroutine.wrap(GFAD_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement