Xfer1111

Break In (Story) GUI

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