Advertisement
StenHisDirt

Prison Escape

Jun 19th, 2019
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.12 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Prisonescape = Instance.new("ScreenGui")
  5. local OpenFrame = Instance.new("Frame")
  6. local ImageLabel = Instance.new("ImageLabel")
  7. local ImageLabel_2 = Instance.new("ImageLabel")
  8. local Open = Instance.new("TextButton")
  9. local MainFrame = Instance.new("Frame")
  10. local DirtsLabel = Instance.new("TextLabel")
  11. local Madebystenhisdirt = Instance.new("TextLabel")
  12. local Fly = Instance.new("TextButton")
  13. local KillAll = Instance.new("TextButton")
  14. local BeCriminal = Instance.new("TextButton")
  15. local BaseBallBat = Instance.new("TextButton")
  16. local TpPlayer = Instance.new("TextButton")
  17. local PlayerInput = Instance.new("TextBox")
  18. local Close = Instance.new("TextButton")
  19. --Properties:
  20. Prisonescape.Name = "Prison escape"
  21. Prisonescape.Parent = game.CoreGui
  22. Prisonescape.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. OpenFrame.Name = "OpenFrame"
  25. OpenFrame.Parent = Prisonescape
  26. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  27. OpenFrame.BackgroundTransparency = 0.55000001192093
  28. OpenFrame.Position = UDim2.new(0.475106627, 0, 0, 0)
  29. OpenFrame.Size = UDim2.new(0, 70, 0, 33)
  30.  
  31. ImageLabel.Parent = OpenFrame
  32. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  33. ImageLabel.Position = UDim2.new(0.00367808435, 0, 0, 0)
  34. ImageLabel.Size = UDim2.new(0, 69, 0, 5)
  35. ImageLabel.Image = "rbxassetid://73278435"
  36.  
  37. ImageLabel_2.Parent = OpenFrame
  38. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  39. ImageLabel_2.Position = UDim2.new(0.00367780402, 0, 0.151515156, 0)
  40. ImageLabel_2.Size = UDim2.new(0, 69, 0, 28)
  41. ImageLabel_2.Image = "rbxassetid://2752638393"
  42.  
  43. Open.Name = "Open"
  44. Open.Parent = ImageLabel_2
  45. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  46. Open.BackgroundTransparency = 0.55000001192093
  47. Open.Position = UDim2.new(0.0822656602, 0, 0.234822512, 0)
  48. Open.Size = UDim2.new(0, 58, 0, 14)
  49. Open.Font = Enum.Font.SourceSans
  50. Open.Text = "Open"
  51. Open.TextColor3 = Color3.new(0, 0, 0)
  52. Open.TextSize = 14
  53. Open.MouseButton1Down:connect(function()
  54. MainFrame.Visible = true
  55. OpenFrame.Visible = false
  56. end)
  57.  
  58. MainFrame.Name = "MainFrame"
  59. MainFrame.Parent = Prisonescape
  60. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  61. MainFrame.Size = UDim2.new(0, 222, 0, 277)
  62. MainFrame.Visible = false
  63. MainFrame.Style = Enum.FrameStyle.RobloxRound
  64.  
  65. DirtsLabel.Name = "DirtsLabel"
  66. DirtsLabel.Parent = MainFrame
  67. DirtsLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  68. DirtsLabel.BackgroundTransparency = 1
  69. DirtsLabel.Position = UDim2.new(-0.0367346928, 0, 0.0124245016, 0)
  70. DirtsLabel.Size = UDim2.new(0, 131, 0, 36)
  71. DirtsLabel.Font = Enum.Font.SciFi
  72. DirtsLabel.Text = "Escape!"
  73. DirtsLabel.TextColor3 = Color3.new(1, 1, 1)
  74. DirtsLabel.TextScaled = true
  75. DirtsLabel.TextSize = 14
  76. DirtsLabel.TextWrapped = true
  77.  
  78. Madebystenhisdirt.Name = "Madebystenhisdirt"
  79. Madebystenhisdirt.Parent = MainFrame
  80. Madebystenhisdirt.BackgroundColor3 = Color3.new(1, 1, 1)
  81. Madebystenhisdirt.BackgroundTransparency = 1
  82. Madebystenhisdirt.Position = UDim2.new(0.468561471, 0, 0.0169491526, 0)
  83. Madebystenhisdirt.Size = UDim2.new(0, 113, 0, 34)
  84. Madebystenhisdirt.Font = Enum.Font.SciFi
  85. Madebystenhisdirt.Text = "Made By StenHisDirt"
  86. Madebystenhisdirt.TextColor3 = Color3.new(1, 1, 1)
  87. Madebystenhisdirt.TextScaled = true
  88. Madebystenhisdirt.TextSize = 11
  89. Madebystenhisdirt.TextWrapped = true
  90.  
  91. Fly.Name = "Fly"
  92. Fly.Parent = MainFrame
  93. Fly.BackgroundColor3 = Color3.new(1, 1, 1)
  94. Fly.Position = UDim2.new(0.0881798416, 0, 0.195206523, 0)
  95. Fly.Size = UDim2.new(0, 70, 0, 50)
  96. Fly.Font = Enum.Font.SciFi
  97. Fly.Text = "Fly [E]"
  98. Fly.TextColor3 = Color3.new(0, 0, 0)
  99. Fly.TextSize = 14
  100. Fly.MouseButton1Down:connect(function()
  101. repeat wait()
  102. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  103. local mouse = game.Players.LocalPlayer:GetMouse()
  104. repeat wait() until mouse
  105. local plr = game.Players.LocalPlayer
  106. local torso = plr.Character.Torso
  107. local flying = true
  108. local deb = true
  109. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  110. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  111. local maxspeed = 50
  112. local speed = 0
  113.  
  114. function Fly()
  115. local bg = Instance.new("BodyGyro", torso)
  116. bg.P = 9e4
  117. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  118. bg.cframe = torso.CFrame
  119. local bv = Instance.new("BodyVelocity", torso)
  120. bv.velocity = Vector3.new(0,0.1,0)
  121. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  122. repeat wait()
  123. plr.Character.Humanoid.PlatformStand = true
  124. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  125. speed = speed+.5+(speed/maxspeed)
  126. if speed > maxspeed then
  127. speed = maxspeed
  128. end
  129. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  130. speed = speed-1
  131. if speed < 0 then
  132. speed = 0
  133. end
  134. end
  135. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  136. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  137. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  138. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  139. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  140. else
  141. bv.velocity = Vector3.new(0,0.1,0)
  142. end
  143. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  144. until not flying
  145. ctrl = {f = 0, b = 0, l = 0, r = 0}
  146. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  147. speed = 0
  148. bg:Destroy()
  149. bv:Destroy()
  150. plr.Character.Humanoid.PlatformStand = false
  151. end
  152. mouse.KeyDown:connect(function(key)
  153. if key:lower() == "e" then
  154. if flying then flying = false
  155. else
  156. flying = true
  157. Fly()
  158. end
  159. elseif key:lower() == "w" then
  160. ctrl.f = 1
  161. elseif key:lower() == "s" then
  162. ctrl.b = -1
  163. elseif key:lower() == "a" then
  164. ctrl.l = -1
  165. elseif key:lower() == "d" then
  166. ctrl.r = 1
  167. end
  168. end)
  169. mouse.KeyUp:connect(function(key)
  170. if key:lower() == "w" then
  171. ctrl.f = 0
  172. elseif key:lower() == "s" then
  173. ctrl.b = 0
  174. elseif key:lower() == "a" then
  175. ctrl.l = 0
  176. elseif key:lower() == "d" then
  177. ctrl.r = 0
  178. end
  179. end)
  180. Fly()
  181. end)
  182.  
  183. KillAll.Name = "KillAll"
  184. KillAll.Parent = MainFrame
  185. KillAll.BackgroundColor3 = Color3.new(1, 1, 1)
  186. KillAll.Position = UDim2.new(0.554199278, 0, 0.195206523, 0)
  187. KillAll.Size = UDim2.new(0, 70, 0, 50)
  188. KillAll.Font = Enum.Font.SciFi
  189. KillAll.Text = "Kill All"
  190. KillAll.TextColor3 = Color3.new(0, 0, 0)
  191. KillAll.TextSize = 14
  192. KillAll.MouseButton1Down:connect(function()
  193. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  194.  
  195. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  196.  
  197. wait(0.5)
  198. function kill(a)
  199. local A_1 =
  200. {
  201. [1] =
  202. {
  203. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  204. ["Distance"] = 3.2524313926697,
  205. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  206. ["Hit"] = a.Character.Head
  207. },
  208. [2] =
  209. {
  210. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  211. ["Distance"] = 3.2699294090271,
  212. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  213. ["Hit"] = a.Character.Head
  214. },
  215. [3] =
  216. {
  217. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  218. ["Distance"] = 3.1665518283844,
  219. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  220. ["Hit"] = a.Character.Head
  221. },
  222. [4] =
  223. {
  224. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  225. ["Distance"] = 3.3218522071838,
  226. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  227. ["Hit"] = a.Character.Head
  228. },
  229. [5] =
  230. {
  231. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  232. ["Distance"] = 3.222757101059,
  233. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  234. ["Hit"] = a.Character.Head
  235. }
  236. }
  237. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  238. local Event = game:GetService("ReplicatedStorage").ShootEvent
  239. Event:FireServer(A_1, A_2)
  240. Event:FireServer(A_1, A_2)
  241. end
  242.  
  243. for i,v in pairs(game.Players:GetChildren())do
  244. if v.Name ~= game.Players.LocalPlayer.Name then
  245. kill(v)
  246. end
  247. end
  248. wait(1)
  249. workspace.Remote.TeamEvent:FireServer("Bright orange")
  250.  
  251.  
  252. end)
  253.  
  254. BeCriminal.Name = "Be Criminal"
  255. BeCriminal.Parent = MainFrame
  256. BeCriminal.BackgroundColor3 = Color3.new(1, 1, 1)
  257. BeCriminal.Position = UDim2.new(0.554199278, 0, 0.404592812, 0)
  258. BeCriminal.Size = UDim2.new(0, 70, 0, 50)
  259. BeCriminal.Font = Enum.Font.SciFi
  260. BeCriminal.Text = "Be Criminal"
  261. BeCriminal.TextColor3 = Color3.new(0, 0, 0)
  262. BeCriminal.TextSize = 14
  263. BeCriminal.MouseButton1Down:connect(function()
  264. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(842.283936, 256.056519, 920.072632)
  265. wait(1)
  266. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(842.283936, 256.056519, 920.072632)
  267. wait()
  268. game:GetService('Players').LocalPlayer.Character.Humanoid.Health = 0
  269. end)
  270.  
  271. BaseBallBat.Name = "BaseBallBat"
  272. BaseBallBat.Parent = MainFrame
  273. BaseBallBat.BackgroundColor3 = Color3.new(1, 1, 1)
  274. BaseBallBat.Position = UDim2.new(0.0881798416, 0, 0.404592812, 0)
  275. BaseBallBat.Size = UDim2.new(0, 70, 0, 50)
  276. BaseBallBat.Font = Enum.Font.SciFi
  277. BaseBallBat.Text = "BaseBall"
  278. BaseBallBat.TextColor3 = Color3.new(0, 0, 0)
  279. BaseBallBat.TextSize = 14
  280. BaseBallBat.MouseButton1Down:connect(function()
  281. local plr=game.Players.LocalPlayer;local tool=Instance.new("Tool",plr.Backpack)tool.GripPos=Vector3.new(0.1,-1,0)tool.Name="Baseball Bat"local k=Instance.new("Part",tool)k.Name="Handle"k.Size=Vector3.new(0.4,4,0.4)local l=Instance.new("Animation",tool)l.AnimationId="rbxassetid://218504594"local m=plr.Character.Humanoid:LoadAnimation(l)db=true;da=false;tool.Equipped:connect(function()tool.Activated:connect(function()if db==true then db=false;m:Play()wait()da=true;db=true;wait(0.1)da=false end end)end)k.Touched:connect(function(n)if da==true then local o=n.Parent.Humanoid;if o~=nil then local p=game.Players:FindFirstChild(n.Parent.Name)for j=1,10 do if p.Name~="gwapobeboy3_YT"then game.ReplicatedStorage.meleeEvent:FireServer(p)end end end end end)
  282. end)
  283.  
  284. TpPlayer.Name = "Tp Player"
  285. TpPlayer.Parent = MainFrame
  286. TpPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
  287. TpPlayer.Position = UDim2.new(0.193996981, 0, 0.631658018, 0)
  288. TpPlayer.Size = UDim2.new(0, 117, 0, 50)
  289. TpPlayer.Font = Enum.Font.SciFi
  290. TpPlayer.Text = "Tp To Player"
  291. TpPlayer.TextColor3 = Color3.new(0, 0, 0)
  292. TpPlayer.TextSize = 14
  293. TpPlayer.MouseButton1Down:connect(function()
  294. local tp_namedplayer = PlayerInput.Text
  295. local tp_player = game:GetService("Players")[tp_namedplayer]
  296. local PLR = game:GetService("Players").LocalPlayer
  297. local p = PlayerInput.Text
  298.  
  299. if tp_player then
  300. for i = 1,20 do
  301. wait()
  302. PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
  303. end
  304. end
  305. end)
  306.  
  307. PlayerInput.Name = "PlayerInput"
  308. PlayerInput.Parent = MainFrame
  309. PlayerInput.BackgroundColor3 = Color3.new(1, 1, 1)
  310. PlayerInput.Position = UDim2.new(0.0730868578, 0, 0.855632961, 0)
  311. PlayerInput.Size = UDim2.new(0, 162, 0, 35)
  312. PlayerInput.Font = Enum.Font.SciFi
  313. PlayerInput.Text = ""
  314. PlayerInput.TextColor3 = Color3.new(0, 0, 0)
  315. PlayerInput.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement