Advertisement
danbomeow

Break In Gui

Mar 26th, 2020
4,424
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.46 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local ScrollingFrame = Instance.new("ScrollingFrame")
  10. local BloxyCola = Instance.new("TextButton")
  11. local Chips = Instance.new("TextButton")
  12. local Sword = Instance.new("TextButton")
  13. local Gun = Instance.new("TextButton")
  14. local Apple = Instance.new("TextButton")
  15. local Pan = Instance.new("TextButton")
  16. local Heal = Instance.new("TextButton")
  17. local Cookie = Instance.new("TextButton")
  18. local Medkit = Instance.new("TextButton")
  19. local Teddy = Instance.new("TextButton")
  20. local Key = Instance.new("TextButton")
  21. local Frame_3 = Instance.new("Frame")
  22. local TextButton = Instance.new("TextButton")
  23. local TextLabel = Instance.new("TextLabel")
  24.  
  25. --Properties:
  26.  
  27. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  28.  
  29. Frame.Parent = ScreenGui
  30. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  31. Frame.BackgroundTransparency = 1.000
  32. Frame.Position = UDim2.new(0.375, 0, 0.269449711, 0)
  33. Frame.Size = UDim2.new(0, 152, 0, 159)
  34.  
  35. Frame_2.Parent = Frame
  36. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. Frame_2.BorderSizePixel = 0
  38. Frame_2.Position = UDim2.new(0.0511265397, 0, 0.173642203, 0)
  39. Frame_2.Size = UDim2.new(0, 135, 0, 112)
  40.  
  41. ScrollingFrame.Parent = Frame_2
  42. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. ScrollingFrame.BorderSizePixel = 0
  44. ScrollingFrame.Position = UDim2.new(0.000354908145, 0, 0.193277225, 0)
  45. ScrollingFrame.Size = UDim2.new(0, 134, 0, 90)
  46. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 1.29999995, 0)
  47. ScrollingFrame.ScrollBarThickness = 3
  48.  
  49. BloxyCola.Name = "BloxyCola"
  50. BloxyCola.Parent = ScrollingFrame
  51. BloxyCola.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. BloxyCola.BorderSizePixel = 0
  53. BloxyCola.Position = UDim2.new(0.0610283241, 0, -0.000833570957, 0)
  54. BloxyCola.Size = UDim2.new(0, 118, 0, 13)
  55. BloxyCola.Font = Enum.Font.Arial
  56. BloxyCola.Text = "Bloxy Cola"
  57. BloxyCola.TextColor3 = Color3.fromRGB(0, 0, 0)
  58. BloxyCola.TextSize = 10.000
  59.  
  60. Chips.Name = "Chips"
  61. Chips.Parent = ScrollingFrame
  62. Chips.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. Chips.BorderSizePixel = 0
  64. Chips.Position = UDim2.new(0.0610283241, 0, 0.0884521455, 0)
  65. Chips.Size = UDim2.new(0, 118, 0, 13)
  66. Chips.Font = Enum.Font.Arial
  67. Chips.Text = "Chips"
  68. Chips.TextColor3 = Color3.fromRGB(0, 0, 0)
  69. Chips.TextSize = 10.000
  70.  
  71. Sword.Name = "Sword"
  72. Sword.Parent = ScrollingFrame
  73. Sword.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  74. Sword.BorderSizePixel = 0
  75. Sword.Position = UDim2.new(0.0610283241, 0, 0.267023563, 0)
  76. Sword.Size = UDim2.new(0, 118, 0, 13)
  77. Sword.Font = Enum.Font.Arial
  78. Sword.Text = "Sword"
  79. Sword.TextColor3 = Color3.fromRGB(0, 0, 0)
  80. Sword.TextSize = 10.000
  81.  
  82. Gun.Name = "Gun"
  83. Gun.Parent = ScrollingFrame
  84. Gun.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  85. Gun.BorderSizePixel = 0
  86. Gun.Position = UDim2.new(0.0610283241, 0, 0.177737862, 0)
  87. Gun.Size = UDim2.new(0, 118, 0, 13)
  88. Gun.Font = Enum.Font.Arial
  89. Gun.Text = "Gun"
  90. Gun.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. Gun.TextSize = 10.000
  92.  
  93. Apple.Name = "Apple"
  94. Apple.Parent = ScrollingFrame
  95. Apple.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  96. Apple.BorderSizePixel = 0
  97. Apple.Position = UDim2.new(0.0610283241, 0, 0.356309295, 0)
  98. Apple.Size = UDim2.new(0, 118, 0, 13)
  99. Apple.Font = Enum.Font.Arial
  100. Apple.Text = "Apple"
  101. Apple.TextColor3 = Color3.fromRGB(0, 0, 0)
  102. Apple.TextSize = 10.000
  103.  
  104. Pan.Name = "Pan"
  105. Pan.Parent = ScrollingFrame
  106. Pan.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  107. Pan.BorderSizePixel = 0
  108. Pan.Position = UDim2.new(0.0610283241, 0, 0.445595026, 0)
  109. Pan.Size = UDim2.new(0, 118, 0, 13)
  110. Pan.Font = Enum.Font.Arial
  111. Pan.Text = "Cooking Pan"
  112. Pan.TextColor3 = Color3.fromRGB(0, 0, 0)
  113. Pan.TextSize = 10.000
  114.  
  115. Heal.Name = "Heal"
  116. Heal.Parent = ScrollingFrame
  117. Heal.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  118. Heal.BorderSizePixel = 0
  119. Heal.Position = UDim2.new(0.0610283241, 0, 0.534880757, 0)
  120. Heal.Size = UDim2.new(0, 118, 0, 13)
  121. Heal.Font = Enum.Font.Arial
  122. Heal.Text = "Full Heal"
  123. Heal.TextColor3 = Color3.fromRGB(0, 0, 0)
  124. Heal.TextSize = 10.000
  125.  
  126. Cookie.Name = "Cookie"
  127. Cookie.Parent = ScrollingFrame
  128. Cookie.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  129. Cookie.BorderSizePixel = 0
  130. Cookie.Position = UDim2.new(0.0610283241, 0, 0.624166429, 0)
  131. Cookie.Size = UDim2.new(0, 118, 0, 13)
  132. Cookie.Font = Enum.Font.Arial
  133. Cookie.Text = "Cookie"
  134. Cookie.TextColor3 = Color3.fromRGB(0, 0, 0)
  135. Cookie.TextSize = 10.000
  136.  
  137. Medkit.Name = "Medkit"
  138. Medkit.Parent = ScrollingFrame
  139. Medkit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  140. Medkit.BorderSizePixel = 0
  141. Medkit.Position = UDim2.new(0.0610283241, 0, 0.71345216, 0)
  142. Medkit.Size = UDim2.new(0, 118, 0, 13)
  143. Medkit.Font = Enum.Font.Arial
  144. Medkit.Text = "Medkit"
  145. Medkit.TextColor3 = Color3.fromRGB(0, 0, 0)
  146. Medkit.TextSize = 10.000
  147.  
  148. Teddy.Name = "Teddy"
  149. Teddy.Parent = ScrollingFrame
  150. Teddy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  151. Teddy.BorderSizePixel = 0
  152. Teddy.Position = UDim2.new(0.0610283241, 0, 0.802737892, 0)
  153. Teddy.Size = UDim2.new(0, 118, 0, 13)
  154. Teddy.Font = Enum.Font.Arial
  155. Teddy.Text = "Teddy Bear"
  156. Teddy.TextColor3 = Color3.fromRGB(0, 0, 0)
  157. Teddy.TextSize = 10.000
  158.  
  159. Key.Name = "Key"
  160. Key.Parent = ScrollingFrame
  161. Key.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  162. Key.BorderSizePixel = 0
  163. Key.Position = UDim2.new(0.0610283241, 0, 0.892023623, 0)
  164. Key.Size = UDim2.new(0, 118, 0, 13)
  165. Key.Font = Enum.Font.Arial
  166. Key.Text = "Basement Key"
  167. Key.TextColor3 = Color3.fromRGB(0, 0, 0)
  168. Key.TextSize = 10.000
  169.  
  170. Frame_3.Parent = Frame
  171. Frame_3.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  172. Frame_3.BorderSizePixel = 0
  173. Frame_3.Position = UDim2.new(0.0514417589, 0, 0.114818648, 0)
  174. Frame_3.Size = UDim2.new(0, 135, 0, 31)
  175.  
  176. TextButton.Parent = Frame_3
  177. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  178. TextButton.BackgroundTransparency = 1.000
  179. TextButton.Position = UDim2.new(0.822222233, 0, 0.0322580636, 0)
  180. TextButton.Size = UDim2.new(0, 23, 0, 30)
  181. TextButton.Font = Enum.Font.Arial
  182. TextButton.Text = "X"
  183. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  184. TextButton.TextSize = 15.000
  185.  
  186. TextLabel.Parent = Frame_3
  187. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  188. TextLabel.BackgroundTransparency = 1.000
  189. TextLabel.Position = UDim2.new(0.0592592582, 0, 0, 0)
  190. TextLabel.Size = UDim2.new(0, 103, 0, 31)
  191. TextLabel.Font = Enum.Font.Gotham
  192. TextLabel.Text = "Break In"
  193. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  194. TextLabel.TextSize = 15.000
  195. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  196.  
  197. -- Scripts:
  198.  
  199. local function BKQBY_fake_script() -- BloxyCola.Script
  200. local script = Instance.new('Script', BloxyCola)
  201.  
  202. function OnClicked()
  203. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("BloxyCola")
  204. end
  205.  
  206. script.Parent.MouseButton1Down:connect(OnClicked)
  207. end
  208. coroutine.wrap(BKQBY_fake_script)()
  209. local function URTIGD_fake_script() -- Chips.Script
  210. local script = Instance.new('Script', Chips)
  211.  
  212. function OnClicked()
  213. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Chips")
  214. end
  215.  
  216. script.Parent.MouseButton1Down:connect(OnClicked)
  217. end
  218. coroutine.wrap(URTIGD_fake_script)()
  219. local function NPAZ_fake_script() -- Sword.Script
  220. local script = Instance.new('Script', Sword)
  221.  
  222. function OnClicked()
  223. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Sword")
  224. end
  225.  
  226. script.Parent.MouseButton1Down:connect(OnClicked)
  227. end
  228. coroutine.wrap(NPAZ_fake_script)()
  229. local function AURDNT_fake_script() -- Gun.Script
  230. local script = Instance.new('Script', Gun)
  231.  
  232. function OnClicked()
  233. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Gun")
  234. end
  235.  
  236. script.Parent.MouseButton1Down:connect(OnClicked)
  237. end
  238. coroutine.wrap(AURDNT_fake_script)()
  239. local function SRDBN_fake_script() -- Apple.Script
  240. local script = Instance.new('Script', Apple)
  241.  
  242. function OnClicked()
  243. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Apple")
  244. end
  245.  
  246. script.Parent.MouseButton1Down:connect(OnClicked)
  247. end
  248. coroutine.wrap(SRDBN_fake_script)()
  249. local function HMVPD_fake_script() -- Pan.Script
  250. local script = Instance.new('Script', Pan)
  251.  
  252. function OnClicked()
  253. game.ReplicatedStorage.RemoteEvents.BuyItem:FireServer("Pan", 0)
  254. end
  255.  
  256. script.Parent.MouseButton1Down:connect(OnClicked)
  257. end
  258. coroutine.wrap(HMVPD_fake_script)()
  259. local function TVDDY_fake_script() -- Heal.Script
  260. local script = Instance.new('Script', Heal)
  261.  
  262. function OnClicked()
  263. game.ReplicatedStorage.RemoteEvents.Energy:FireServer(1000, "nada")
  264. end
  265.  
  266. script.Parent.MouseButton1Down:connect(OnClicked)
  267. end
  268. coroutine.wrap(TVDDY_fake_script)()
  269. local function BTACOMV_fake_script() -- Cookie.Script
  270. local script = Instance.new('Script', Cookie)
  271.  
  272. function OnClicked()
  273. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Cookie")
  274. end
  275.  
  276. script.Parent.MouseButton1Down:connect(OnClicked)
  277. end
  278. coroutine.wrap(BTACOMV_fake_script)()
  279. local function CGAO_fake_script() -- Medkit.Script
  280. local script = Instance.new('Script', Medkit)
  281.  
  282. function OnClicked()
  283. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("MedKit")
  284. end
  285.  
  286. script.Parent.MouseButton1Down:connect(OnClicked)
  287. end
  288. coroutine.wrap(CGAO_fake_script)()
  289. local function XLSCQRR_fake_script() -- Teddy.Script
  290. local script = Instance.new('Script', Teddy)
  291.  
  292. function OnClicked()
  293. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("TeddyBloxpin")
  294. end
  295.  
  296. script.Parent.MouseButton1Down:connect(OnClicked)
  297. end
  298. coroutine.wrap(XLSCQRR_fake_script)()
  299. local function XRMZFD_fake_script() -- Key.Script
  300. local script = Instance.new('Script', Key)
  301.  
  302. function OnClicked()
  303. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Key")
  304. end
  305.  
  306. script.Parent.MouseButton1Down:connect(OnClicked)
  307. end
  308. coroutine.wrap(XRMZFD_fake_script)()
  309. local function MKTPY_fake_script() -- TextButton.Script
  310. local script = Instance.new('Script', TextButton)
  311.  
  312. function OnClicked()
  313. script.Parent.Parent.Parent.Parent:Destroy()
  314. end
  315.  
  316. script.Parent.MouseButton1Down:connect(OnClicked)
  317. end
  318. coroutine.wrap(MKTPY_fake_script)()
  319. local function GGOCZAM_fake_script() -- Frame.Script
  320. local script = Instance.new('Script', Frame)
  321.  
  322. script.Parent.Active = true
  323. script.Parent.Draggable = true
  324. end
  325. coroutine.wrap(GGOCZAM_fake_script)()
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement