Advertisement
sonywalker

Break In (Story) GUI

Feb 18th, 2020
39,267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.14 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local Main = Instance.new("ScreenGui")
  7. local Mainframe = Instance.new("Frame")
  8. local Apple = Instance.new("TextButton")
  9. local Bat = Instance.new("TextButton")
  10. local Energy = Instance.new("TextButton")
  11. local Gun = Instance.new("TextButton")
  12. local Noclip = Instance.new("TextButton")
  13. local Basement = Instance.new("TextButton")
  14. local Sword = Instance.new("TextButton")
  15. local Medkit = Instance.new("TextButton")
  16. local Chips = Instance.new("TextButton")
  17. local Teddybear = Instance.new("TextButton")
  18. local Plank = Instance.new("TextButton")
  19.  
  20. --Properties:
  21.  
  22. Main.Name = "Main"
  23. Main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24. Main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25.  
  26. Mainframe.Name = "Mainframe"
  27. Mainframe.Parent = Main
  28. Mainframe.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  29. Mainframe.Position = UDim2.new(0, 0, -0.000198891677, 0)
  30. Mainframe.Size = UDim2.new(0, 124, 0, 477)
  31. Mainframe.Style = Enum.FrameStyle.DropShadow
  32.  
  33. Apple.Name = "Apple"
  34. Apple.Parent = Mainframe
  35. Apple.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  36. Apple.Position = UDim2.new(-0.00356292725, 0, 0.0175610185, 0)
  37. Apple.Size = UDim2.new(0, 109, 0, 28)
  38. Apple.Style = Enum.ButtonStyle.RobloxRoundButton
  39. Apple.Font = Enum.Font.SourceSans
  40. Apple.Text = "Apple"
  41. Apple.TextColor3 = Color3.fromRGB(0, 0, 0)
  42. Apple.TextScaled = true
  43. Apple.TextSize = 14.000
  44. Apple.TextWrapped = true
  45.  
  46. Bat.Name = "Bat"
  47. Bat.Parent = Mainframe
  48. Bat.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  49. Bat.Position = UDim2.new(-0.00356292725, 0, 0.0953054503, 0)
  50. Bat.Size = UDim2.new(0, 109, 0, 28)
  51. Bat.Style = Enum.ButtonStyle.RobloxRoundButton
  52. Bat.Font = Enum.Font.SourceSans
  53. Bat.Text = "Bat"
  54. Bat.TextColor3 = Color3.fromRGB(0, 0, 0)
  55. Bat.TextScaled = true
  56. Bat.TextSize = 14.000
  57. Bat.TextWrapped = true
  58.  
  59. Energy.Name = "Energy"
  60. Energy.Parent = Mainframe
  61. Energy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  62. Energy.Position = UDim2.new(-0.0116274357, 0, 0.260631293, 0)
  63. Energy.Size = UDim2.new(0, 109, 0, 28)
  64. Energy.Style = Enum.ButtonStyle.RobloxRoundButton
  65. Energy.Font = Enum.Font.SourceSans
  66. Energy.Text = "1000 Energy"
  67. Energy.TextColor3 = Color3.fromRGB(0, 0, 0)
  68. Energy.TextScaled = true
  69. Energy.TextSize = 14.000
  70. Energy.TextWrapped = true
  71.  
  72. Gun.Name = "Gun"
  73. Gun.Parent = Mainframe
  74. Gun.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75. Gun.Position = UDim2.new(-0.00356292725, 0, 0.181448936, 0)
  76. Gun.Size = UDim2.new(0, 109, 0, 28)
  77. Gun.Style = Enum.ButtonStyle.RobloxRoundButton
  78. Gun.Font = Enum.Font.SourceSans
  79. Gun.Text = "Gun"
  80. Gun.TextColor3 = Color3.fromRGB(0, 0, 0)
  81. Gun.TextScaled = true
  82. Gun.TextSize = 14.000
  83. Gun.TextWrapped = true
  84.  
  85. Noclip.Name = "Noclip"
  86. Noclip.Parent = Mainframe
  87. Noclip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. Noclip.Position = UDim2.new(-0.0116274282, 0, 0.523497641, 0)
  89. Noclip.Size = UDim2.new(0, 109, 0, 28)
  90. Noclip.Style = Enum.ButtonStyle.RobloxRoundButton
  91. Noclip.Font = Enum.Font.SourceSans
  92. Noclip.Text = "Noclip"
  93. Noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
  94. Noclip.TextScaled = true
  95. Noclip.TextSize = 14.000
  96. Noclip.TextWrapped = true
  97.  
  98. Basement.Name = "Basement"
  99. Basement.Parent = Mainframe
  100. Basement.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  101. Basement.Position = UDim2.new(-0.00356292725, 0, 0.612791419, 0)
  102. Basement.Size = UDim2.new(0, 109, 0, 28)
  103. Basement.Style = Enum.ButtonStyle.RobloxRoundButton
  104. Basement.Font = Enum.Font.SourceSans
  105. Basement.Text = "Unlock Basement"
  106. Basement.TextColor3 = Color3.fromRGB(0, 0, 0)
  107. Basement.TextScaled = true
  108. Basement.TextSize = 14.000
  109. Basement.TextWrapped = true
  110.  
  111. Sword.Name = "Sword"
  112. Sword.Parent = Mainframe
  113. Sword.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  114. Sword.Position = UDim2.new(-0.0277565792, 0, 0.699096382, 0)
  115. Sword.Size = UDim2.new(0, 109, 0, 28)
  116. Sword.Style = Enum.ButtonStyle.RobloxRoundButton
  117. Sword.Font = Enum.Font.SourceSans
  118. Sword.Text = "Sword"
  119. Sword.TextColor3 = Color3.fromRGB(0, 0, 0)
  120. Sword.TextScaled = true
  121. Sword.TextSize = 14.000
  122. Sword.TextWrapped = true
  123.  
  124. Medkit.Name = "Medkit"
  125. Medkit.Parent = Mainframe
  126. Medkit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  127. Medkit.Position = UDim2.new(-0.0196916983, 0, 0.805628538, 0)
  128. Medkit.Size = UDim2.new(0, 109, 0, 28)
  129. Medkit.Style = Enum.ButtonStyle.RobloxRoundButton
  130. Medkit.Font = Enum.Font.SourceSans
  131. Medkit.Text = "Medkit"
  132. Medkit.TextColor3 = Color3.fromRGB(0, 0, 0)
  133. Medkit.TextScaled = true
  134. Medkit.TextSize = 14.000
  135. Medkit.TextWrapped = true
  136.  
  137. Chips.Name = "Chips"
  138. Chips.Parent = Mainframe
  139. Chips.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  140. Chips.Position = UDim2.new(-0.00356268138, 0, 0.348344207, 0)
  141. Chips.Size = UDim2.new(0, 109, 0, 28)
  142. Chips.Style = Enum.ButtonStyle.RobloxRoundButton
  143. Chips.Font = Enum.Font.SourceSans
  144. Chips.Text = "Chips"
  145. Chips.TextColor3 = Color3.fromRGB(0, 0, 0)
  146. Chips.TextScaled = true
  147. Chips.TextSize = 14.000
  148. Chips.TextWrapped = true
  149.  
  150. Teddybear.Name = "Teddybear"
  151. Teddybear.Parent = Mainframe
  152. Teddybear.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  153. Teddybear.Position = UDim2.new(-0.0116276741, 0, 0.43319115, 0)
  154. Teddybear.Size = UDim2.new(0, 109, 0, 28)
  155. Teddybear.Style = Enum.ButtonStyle.RobloxRoundButton
  156. Teddybear.Font = Enum.Font.SourceSans
  157. Teddybear.Text = "Teddy bear"
  158. Teddybear.TextColor3 = Color3.fromRGB(0, 0, 0)
  159. Teddybear.TextScaled = true
  160. Teddybear.TextSize = 14.000
  161. Teddybear.TextWrapped = true
  162.  
  163. Plank.Name = "Plank"
  164. Plank.Parent = Mainframe
  165. Plank.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  166. Plank.Position = UDim2.new(-0.0196916983, 0, 0.899968147, 0)
  167. Plank.Size = UDim2.new(0, 109, 0, 28)
  168. Plank.Style = Enum.ButtonStyle.RobloxRoundButton
  169. Plank.Font = Enum.Font.SourceSans
  170. Plank.Text = "Plank"
  171. Plank.TextColor3 = Color3.fromRGB(0, 0, 0)
  172. Plank.TextScaled = true
  173. Plank.TextSize = 14.000
  174. Plank.TextWrapped = true
  175.  
  176. -- Scripts:
  177.  
  178. local function DYLDWP_fake_script() -- Apple.LocalScript
  179. local script = Instance.new('LocalScript', Apple)
  180.  
  181. script.Parent.MouseButton1Click:connect(function()
  182. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Apple")
  183. end)
  184. end
  185. coroutine.wrap(DYLDWP_fake_script)()
  186. local function YJUV_fake_script() -- Bat.LocalScript
  187. local script = Instance.new('LocalScript', Bat)
  188.  
  189. script.Parent.MouseButton1Click:connect(function()
  190. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Bat")
  191. end)
  192. end
  193. coroutine.wrap(YJUV_fake_script)()
  194. local function CHSGVLY_fake_script() -- Energy.LocalScript
  195. local script = Instance.new('LocalScript', Energy)
  196.  
  197. script.Parent.MouseButton1Click:connect(function()
  198. game.ReplicatedStorage.RemoteEvents.Energy:FireServer(1000)
  199. end)
  200. end
  201. coroutine.wrap(CHSGVLY_fake_script)()
  202. local function BZNA_fake_script() -- Gun.LocalScript
  203. local script = Instance.new('LocalScript', Gun)
  204.  
  205. script.Parent.MouseButton1Click:connect(function()
  206. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Gun")
  207. end)
  208. end
  209. coroutine.wrap(BZNA_fake_script)()
  210. local function BQSVQS_fake_script() -- Noclip.LocalScript
  211. local script = Instance.new('LocalScript', Noclip)
  212.  
  213. script.Parent.MouseButton1Click:connect(function()
  214. noclip = false
  215.    game:GetService('RunService').Stepped:connect(function()
  216.    if noclip then
  217.    game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  218.    end
  219.    end)
  220.    plr = game.Players.LocalPlayer
  221.    mouse = plr:GetMouse()
  222.    mouse.KeyDown:connect(function(key)
  223.  
  224.    if key == "e" then
  225.    noclip = not noclip
  226.    game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  227.    end
  228.    end)
  229.    print('Loaded')
  230.    print('Press "E" to noclip')
  231. end)
  232. end
  233. coroutine.wrap(BQSVQS_fake_script)()
  234. local function WQYY_fake_script() -- Basement.LocalScript
  235. local script = Instance.new('LocalScript', Basement)
  236.  
  237. script.Parent.MouseButton1Click:connect(function()
  238.    game.ReplicatedStorage.RemoteEvents.UnlockDoor:FireServer()
  239. end)
  240. end
  241. coroutine.wrap(WQYY_fake_script)()
  242. local function WLGE_fake_script() -- Sword.LocalScript
  243. local script = Instance.new('LocalScript', Sword)
  244.  
  245. script.Parent.MouseButton1Click:connect(function()
  246. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Sword")
  247. end)
  248. end
  249. coroutine.wrap(WLGE_fake_script)()
  250. local function KFFG_fake_script() -- Medkit.LocalScript
  251. local script = Instance.new('LocalScript', Medkit)
  252.  
  253. script.Parent.MouseButton1Click:connect(function()
  254. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("MedKit")
  255. end)
  256. end
  257. coroutine.wrap(KFFG_fake_script)()
  258. local function SZKIGQK_fake_script() -- Chips.LocalScript
  259. local script = Instance.new('LocalScript', Chips)
  260.  
  261. script.Parent.MouseButton1Click:connect(function()
  262. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Chips")
  263. end)
  264. end
  265. coroutine.wrap(SZKIGQK_fake_script)()
  266. local function CXLA_fake_script() -- Teddybear.LocalScript
  267. local script = Instance.new('LocalScript', Teddybear)
  268.  
  269. script.Parent.MouseButton1Click:connect(function()
  270. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("TeddyBloxpin")
  271. end)
  272. end
  273. coroutine.wrap(CXLA_fake_script)()
  274. local function OERHFOB_fake_script() -- Plank.LocalScript
  275. local script = Instance.new('LocalScript', Plank)
  276.  
  277. script.Parent.MouseButton1Click:connect(function()
  278. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Plank")
  279. end)
  280. end
  281. coroutine.wrap(OERHFOB_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement