Advertisement
Alacroy

GUI test #3

Nov 12th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local Boogib0tPUBLIC = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextButton = Instance.new("TextButton")
  9. local TextButton_2 = Instance.new("TextButton")
  10. local TextButton_3 = Instance.new("TextButton")
  11. local TextButton_4 = Instance.new("TextButton")
  12. local TextButton_5 = Instance.new("TextButton")
  13. local TextButton_6 = Instance.new("TextButton")
  14. local TextButton_7 = Instance.new("TextButton")
  15. local TextButton_8 = Instance.new("TextButton")
  16. local TextButton_9 = Instance.new("TextButton")
  17. local bring_sledge = Instance.new("TextButton")
  18. local Header = Instance.new("Frame")
  19. local TextLabel = Instance.new("TextLabel")
  20. local Close = Instance.new("TextButton")
  21. local Button = Instance.new("TextButton")
  22.  
  23. --Properties:
  24.  
  25. Boogib0tPUBLIC.Name = "Boogib0t PUBLIC"
  26. Boogib0tPUBLIC.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  27.  
  28. Frame.Parent = Boogib0tPUBLIC
  29. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  30. Frame.BorderColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  31. Frame.Position = UDim2.new(0.5, -200, -0.5, -150)
  32. Frame.Size = UDim2.new(0, 246, 0, 321)
  33.  
  34. TextButton.Parent = Frame
  35. TextButton.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  36. TextButton.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  37. TextButton.BorderSizePixel = 2
  38. TextButton.Position = UDim2.new(0.530109525, 0, 0.491568983, 0)
  39. TextButton.Size = UDim2.new(0, 107, 0, 23)
  40. TextButton.Font = Enum.Font.SourceSans
  41. TextButton.TextColor3 = Color3.new(0, 0, 0)
  42. TextButton.TextSize = 14
  43.  
  44. TextButton_2.Parent = Frame
  45. TextButton_2.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  46. TextButton_2.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  47. TextButton_2.BorderSizePixel = 2
  48. TextButton_2.Position = UDim2.new(0.530109525, 0, 0.608657598, 0)
  49. TextButton_2.Size = UDim2.new(0, 107, 0, 23)
  50. TextButton_2.Font = Enum.Font.SourceSans
  51. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  52. TextButton_2.TextSize = 14
  53.  
  54. TextButton_3.Parent = Frame
  55. TextButton_3.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  56. TextButton_3.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  57. TextButton_3.BorderSizePixel = 2
  58. TextButton_3.Position = UDim2.new(0.0301094986, 0, 0.608657598, 0)
  59. TextButton_3.Size = UDim2.new(0, 107, 0, 23)
  60. TextButton_3.Font = Enum.Font.SourceSans
  61. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  62. TextButton_3.TextSize = 14
  63.  
  64. TextButton_4.Parent = Frame
  65. TextButton_4.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  66. TextButton_4.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  67. TextButton_4.BorderSizePixel = 2
  68. TextButton_4.Position = UDim2.new(0.0301094986, 0, 0.491568983, 0)
  69. TextButton_4.Size = UDim2.new(0, 107, 0, 23)
  70. TextButton_4.Font = Enum.Font.SourceSans
  71. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  72. TextButton_4.TextSize = 14
  73.  
  74. TextButton_5.Parent = Frame
  75. TextButton_5.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  76. TextButton_5.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  77. TextButton_5.BorderSizePixel = 2
  78. TextButton_5.Position = UDim2.new(0.538239598, 0, 0.257391751, 0)
  79. TextButton_5.Size = UDim2.new(0, 107, 0, 23)
  80. TextButton_5.Font = Enum.Font.SourceSans
  81. TextButton_5.TextColor3 = Color3.new(0, 0, 0)
  82. TextButton_5.TextSize = 14
  83.  
  84. TextButton_6.Parent = Frame
  85. TextButton_6.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  86. TextButton_6.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  87. TextButton_6.BorderSizePixel = 2
  88. TextButton_6.Position = UDim2.new(0.538239598, 0, 0.374480367, 0)
  89. TextButton_6.Size = UDim2.new(0, 107, 0, 23)
  90. TextButton_6.Font = Enum.Font.SourceSans
  91. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  92. TextButton_6.TextSize = 14
  93.  
  94. TextButton_7.Parent = Frame
  95. TextButton_7.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  96. TextButton_7.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  97. TextButton_7.BorderSizePixel = 2
  98. TextButton_7.Position = UDim2.new(0.0382395796, 0, 0.374480367, 0)
  99. TextButton_7.Size = UDim2.new(0, 107, 0, 23)
  100. TextButton_7.Font = Enum.Font.SourceSans
  101. TextButton_7.TextColor3 = Color3.new(0, 0, 0)
  102. TextButton_7.TextSize = 14
  103.  
  104. TextButton_8.Parent = Frame
  105. TextButton_8.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  106. TextButton_8.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  107. TextButton_8.BorderSizePixel = 2
  108. TextButton_8.Position = UDim2.new(0.0382395796, 0, 0.257391751, 0)
  109. TextButton_8.Size = UDim2.new(0, 107, 0, 23)
  110. TextButton_8.Font = Enum.Font.SourceSans
  111. TextButton_8.TextColor3 = Color3.new(0, 0, 0)
  112. TextButton_8.TextSize = 14
  113.  
  114. TextButton_9.Parent = Frame
  115. TextButton_9.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  116. TextButton_9.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  117. TextButton_9.BorderSizePixel = 2
  118. TextButton_9.Position = UDim2.new(0.538239598, 0, 0.14030312, 0)
  119. TextButton_9.Size = UDim2.new(0, 107, 0, 23)
  120. TextButton_9.Font = Enum.Font.SourceSans
  121. TextButton_9.TextColor3 = Color3.new(0, 0, 0)
  122. TextButton_9.TextSize = 14
  123.  
  124. bring_sledge.Name = "bring_sledge"
  125. bring_sledge.Parent = Frame
  126. bring_sledge.BackgroundColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  127. bring_sledge.BorderColor3 = Color3.new(0.705882, 0.188235, 0.188235)
  128. bring_sledge.BorderSizePixel = 2
  129. bring_sledge.Position = UDim2.new(0.0382395796, 0, 0.14030312, 0)
  130. bring_sledge.Size = UDim2.new(0, 107, 0, 23)
  131. bring_sledge.Font = Enum.Font.SciFi
  132. bring_sledge.Text = "bring_sledge"
  133. bring_sledge.TextColor3 = Color3.new(0, 0.0470588, 0.368627)
  134. bring_sledge.TextSize = 14
  135.  
  136. Header.Name = "Header"
  137. Header.Parent = Frame
  138. Header.BackgroundColor3 = Color3.new(1, 1, 1)
  139. Header.Position = UDim2.new(-0.0282698274, 0, -0.0790254176, 0)
  140. Header.Size = UDim2.new(0, 258, 0, 46)
  141.  
  142. TextLabel.Parent = Header
  143. TextLabel.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  144. TextLabel.BorderColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  145. TextLabel.Size = UDim2.new(0, 258, 0, 46)
  146. TextLabel.Font = Enum.Font.GothamBold
  147. TextLabel.Text = "Boogib0t"
  148. TextLabel.TextColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  149. TextLabel.TextSize = 26
  150.  
  151. Close.Name = "Close"
  152. Close.Parent = Frame
  153. Close.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  154. Close.BorderSizePixel = 0
  155. Close.Position = UDim2.new(0.847672224, 0, -0.147653192, 0)
  156. Close.Size = UDim2.new(0, 42, 0, 22)
  157. Close.Font = Enum.Font.GothamBold
  158. Close.Text = "X"
  159. Close.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
  160. Close.TextSize = 15
  161.  
  162. Button.Name = "Button"
  163. Button.Parent = Boogib0tPUBLIC
  164. Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  165. Button.BorderColor3 = Color3.new(0.898039, 0.286275, 0.286275)
  166. Button.BorderSizePixel = 3
  167. Button.Position = UDim2.new(0.0255474448, 0, 0.859778643, 0)
  168. Button.Size = UDim2.new(0, 50, 0, 50)
  169. Button.Font = Enum.Font.SourceSansBold
  170. Button.Text = "OPEN"
  171. Button.TextColor3 = Color3.new(1, 1, 1)
  172. Button.TextSize = 20
  173.  
  174. -- Scripts:
  175.  
  176. local function LRHUA_fake_script() -- bring_sledge.bringsledge
  177. local script = Instance.new('LocalScript', bring_sledge)
  178.  
  179. function leftClick()
  180. for i,v in pairs(workspace:GetDescendants()) do
  181. if v.Name == "Sledge" then
  182. v.CanCollide = false
  183. v.Anchored = true
  184. v.Transparency = 0
  185. v.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(10, 0, 0)
  186. end
  187. end
  188. end
  189. script.Parent.MouseButton1Click:Connect(leftClick)
  190. end
  191. coroutine.wrap(LRHUA_fake_script)()
  192. local function KLOQD_fake_script() -- Close.LocalScript
  193. local script = Instance.new('LocalScript', Close)
  194.  
  195. script.Parent.MouseButton1Click:Connect(function()
  196. script.Parent.Parent.Parent.Open.Value = false
  197. script.Parent.Parent:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out","Quint",1,true)
  198. end)
  199.  
  200. end
  201. coroutine.wrap(KLOQD_fake_script)()
  202. local function QATBTR_fake_script() -- Button.LocalScript
  203. local script = Instance.new('LocalScript', Button)
  204.  
  205.  
  206. script.Parent.MouseButton1Click:Connect(function()
  207. if script.Parent.Parent.Open.Value == false then
  208. script.Parent.Parent.Open.Value = true
  209. script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.5, -200, 0.5, -150),"Out","Quint",1,true)
  210. else
  211. script.Parent.Parent.Open.Value = false
  212. script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out","Quint",1,true)
  213. end
  214. end)
  215. end
  216. coroutine.wrap(QATBTR_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement