Advertisement
Guest User

PrisonHeck

a guest
Jan 17th, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.87 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local gguna = Instance.new("TextLabel")
  9. local gguna2 = Instance.new("TextLabel")
  10. local gguna1 = Instance.new("TextLabel")
  11. local panah = Instance.new("TextButton")
  12. local silang = Instance.new("TextButton")
  13. local panel1 = Instance.new("Frame")
  14. local polisi = Instance.new("TextButton")
  15. local team = Instance.new("TextLabel")
  16. local inmate = Instance.new("TextButton")
  17. local netral = Instance.new("TextButton")
  18. local panel2 = Instance.new("Frame")
  19. local helper = Instance.new("TextLabel")
  20. local arest = Instance.new("TextButton")
  21. local invis = Instance.new("TextButton")
  22. local onep = Instance.new("TextButton")
  23. local panel3 = Instance.new("Frame")
  24. local helper_2 = Instance.new("TextLabel")
  25. local taser = Instance.new("TextButton")
  26. local fling = Instance.new("TextButton")
  27. local Guns = Instance.new("TextButton")
  28. local door = Instance.new("TextButton")
  29. local fly = Instance.new("TextButton")
  30. local fence = Instance.new("TextButton")
  31. local toolspanel = Instance.new("Frame")
  32. local gunte = Instance.new("TextLabel")
  33. local ak47 = Instance.new("TextButton")
  34. local shotgun = Instance.new("TextButton")
  35. local pistol = Instance.new("TextButton")
  36. local m4a1 = Instance.new("TextButton")
  37. local Reming = Instance.new("TextButton")
  38. local card = Instance.new("TextButton")
  39. local Frame2 = Instance.new("Frame")
  40. local helper_3 = Instance.new("TextLabel")
  41. local taseall = Instance.new("TextButton")
  42. local antitase = Instance.new("TextButton")
  43. local nama = Instance.new("TextBox")
  44. local nembak = Instance.new("TextButton")
  45. local tree = Instance.new("TextButton")
  46. local wall = Instance.new("TextButton")
  47. local road = Instance.new("TextButton")
  48. local build = Instance.new("TextButton")
  49. local btools = Instance.new("TextButton")
  50. local nama2 = Instance.new("TextBox")
  51. local tppla = Instance.new("TextButton")
  52. local Frame3 = Instance.new("Frame")
  53. local nama3 = Instance.new("TextBox")
  54. local kill = Instance.new("TextButton")
  55. local killall = Instance.new("TextButton")
  56.  
  57. --Properties:
  58.  
  59. ScreenGui.Parent = game.CoreGui
  60.  
  61. Frame.Active = true
  62. Frame.Draggable = true
  63. Frame.Parent = ScreenGui
  64. Frame.Active = true
  65. Frame.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  66. Frame.BorderColor3 = Color3.fromRGB(33, 33, 33)
  67. Frame.BorderSizePixel = 7
  68. Frame.Position = UDim2.new(0.248725772, 0, 0.234011605, 0)
  69. Frame.Size = UDim2.new(0, 448, 0, 386)
  70.  
  71. gguna.Name = "gguna"
  72. gguna.Parent = Frame
  73. gguna.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  74. gguna.BorderColor3 = Color3.fromRGB(27, 42, 53)
  75. gguna.Position = UDim2.new(-0.00442102551, 0, -0.00591185689, 0)
  76. gguna.Size = UDim2.new(0, 94, 0, 16)
  77. gguna.Font = Enum.Font.Cartoon
  78. gguna.Text = "-------------"
  79. gguna.TextColor3 = Color3.fromRGB(250, 250, 250)
  80. gguna.TextSize = 14.000
  81.  
  82. gguna2.Name = "gguna2"
  83. gguna2.Parent = Frame
  84. gguna2.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  85. gguna2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  86. gguna2.Position = UDim2.new(0.215255052, 0, -0.00591185689, 0)
  87. gguna2.Size = UDim2.new(0, 87, 0, 16)
  88. gguna2.Font = Enum.Font.Cartoon
  89. gguna2.Text = "-------------"
  90. gguna2.TextColor3 = Color3.fromRGB(250, 250, 250)
  91. gguna2.TextSize = 14.000
  92.  
  93. gguna1.Name = "gguna1"
  94. gguna1.Parent = Frame
  95. gguna1.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  96. gguna1.BorderColor3 = Color3.fromRGB(27, 42, 53)
  97. gguna1.Position = UDim2.new(0.085283339, 0, -0.00591185689, 0)
  98. gguna1.Size = UDim2.new(0, 58, 0, 16)
  99. gguna1.Font = Enum.Font.Cartoon
  100. gguna1.Text = "PrisonHeck"
  101. gguna1.TextColor3 = Color3.fromRGB(250, 250, 250)
  102. gguna1.TextSize = 14.000
  103.  
  104. panah.Name = "panah"
  105. panah.Parent = Frame
  106. panah.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  107. panah.BackgroundTransparency = 1.000
  108. panah.Position = UDim2.new(0.856487572, 0, -0.00508347154, 0)
  109. panah.Size = UDim2.new(0, 65, 0, 27)
  110. panah.Font = Enum.Font.Cartoon
  111. panah.Text = ">"
  112. panah.TextColor3 = Color3.fromRGB(250, 250, 250)
  113. panah.TextSize = 14.000
  114. panah.MouseButton1Down:connect(function()
  115. if teteh == 1 then
  116. teteh = 0
  117. Frame2.Visible = false
  118. panah.Text=">"
  119. else
  120. teteh = 1
  121. Frame2.Visible = true
  122. Panah.Text="<"
  123. end
  124. end)
  125.  
  126. silang.Name = "silang"
  127. silang.Parent = Frame
  128. silang.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  129. silang.BackgroundTransparency = 1.000
  130. silang.Position = UDim2.new(0.757961273, 0, -0.00497211143, 0)
  131. silang.Size = UDim2.new(0, 43, 0, 27)
  132. silang.Font = Enum.Font.Cartoon
  133. silang.Text = "-"
  134. silang.TextColor3 = Color3.fromRGB(250, 250, 250)
  135. silang.TextSize = 14.000
  136. silang.MouseButton1Down:connect(function()
  137. game.StarterGui.ScreenGui:Destroy()
  138. end)
  139.  
  140. panel1.Name = "panel1"
  141. panel1.Parent = Frame
  142. panel1.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  143. panel1.BorderColor3 = Color3.fromRGB(33, 33, 33)
  144. panel1.BorderSizePixel = 3
  145. panel1.Position = UDim2.new(0.0327232257, 0, 0.107958063, 0)
  146. panel1.Size = UDim2.new(0, 167, 0, 164)
  147.  
  148. polisi.Name = "polisi"
  149. polisi.Parent = panel1
  150. polisi.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  151. polisi.BorderColor3 = Color3.fromRGB(33, 33, 33)
  152. polisi.Position = UDim2.new(0.0126214866, 0, 0.239502504, 0)
  153. polisi.Size = UDim2.new(0, 157, 0, 31)
  154. polisi.Font = Enum.Font.Cartoon
  155. polisi.Text = "Police"
  156. polisi.TextColor3 = Color3.fromRGB(0, 0, 0)
  157. polisi.TextSize = 14.000
  158. polisi.MouseButton1Down:connect(function()
  159. game.Workspace.Remote.TeamEvent:FireServer("Bright blue")
  160. end)
  161.  
  162. team.Name = "team"
  163. team.Parent = panel1
  164. team.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  165. team.BackgroundTransparency = 1.000
  166. team.BorderSizePixel = 0
  167. team.Position = UDim2.new(0.0705232024, 0, 0.0516286716, 0)
  168. team.Size = UDim2.new(0, 138, 0, 23)
  169. team.Font = Enum.Font.Cartoon
  170. team.Text = "Team Picker"
  171. team.TextColor3 = Color3.fromRGB(255, 255, 255)
  172. team.TextSize = 14.000
  173.  
  174. inmate.Name = "inmate"
  175. inmate.Parent = panel1
  176. inmate.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  177. inmate.BorderColor3 = Color3.fromRGB(33, 33, 33)
  178. inmate.Position = UDim2.new(0.0126214866, 0, 0.483404934, 0)
  179. inmate.Size = UDim2.new(0, 157, 0, 31)
  180. inmate.Font = Enum.Font.Cartoon
  181. inmate.Text = "Inmate"
  182. inmate.TextColor3 = Color3.fromRGB(0, 0, 0)
  183. inmate.TextSize = 14.000
  184. inmate.MouseButton1Down:connect(function()
  185. game.Workspace.Remote.TeamEvent:FireServer("Bright orange")
  186. end)
  187.  
  188. netral.Name = "netral"
  189. netral.Parent = panel1
  190. netral.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  191. netral.BorderColor3 = Color3.fromRGB(33, 33, 33)
  192. netral.Position = UDim2.new(0.0126214866, 0, 0.733404934, 0)
  193. netral.Size = UDim2.new(0, 157, 0, 31)
  194. netral.Font = Enum.Font.Cartoon
  195. netral.Text = "Neutral"
  196. netral.TextColor3 = Color3.fromRGB(0, 0, 0)
  197. netral.TextSize = 14.000
  198. netral.MouseButton1Down:connect(function()
  199. game.Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  200. end)
  201.  
  202. panel2.Name = "panel2"
  203. panel2.Parent = Frame
  204. panel2.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  205. panel2.BorderColor3 = Color3.fromRGB(33, 33, 33)
  206. panel2.BorderSizePixel = 3
  207. panel2.Position = UDim2.new(0.595615923, 0, 0.107759632, 0)
  208. panel2.Size = UDim2.new(0, 161, 0, 163)
  209.  
  210. helper.Name = "helper"
  211. helper.Parent = panel2
  212. helper.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  213. helper.BackgroundTransparency = 1.000
  214. helper.BorderSizePixel = 0
  215. helper.Position = UDim2.new(0.0869565234, 0, 0.0674846619, 0)
  216. helper.Size = UDim2.new(0, 132, 0, 27)
  217. helper.Font = Enum.Font.Cartoon
  218. helper.Text = "Helper"
  219. helper.TextColor3 = Color3.fromRGB(255, 255, 255)
  220. helper.TextSize = 14.000
  221.  
  222. arest.Name = "arest"
  223. arest.Parent = panel2
  224. arest.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  225. arest.BorderColor3 = Color3.fromRGB(33, 33, 33)
  226. arest.Position = UDim2.new(0.0126214866, 0, 0.239502504, 0)
  227. arest.Size = UDim2.new(0, 157, 0, 31)
  228. arest.Font = Enum.Font.Cartoon
  229. arest.Text = "Arrest Criminal"
  230. arest.TextColor3 = Color3.fromRGB(0, 0, 0)
  231. arest.TextSize = 14.000
  232. arest.MouseButton1Down:connect(function()
  233. wait(0.1)
  234. local Player = game.Players.LocalPlayer
  235. local cpos = Player.Character.HumanoidRootPart.CFrame
  236. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  237. if v.Name ~= Player.Name then
  238. local i = 10
  239. repeat
  240. wait()
  241. i = i-1
  242. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  243. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  244. until i == 0
  245. end
  246. end
  247. end)
  248.  
  249. invis.Name = "invis"
  250. invis.Parent = panel2
  251. invis.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  252. invis.BorderColor3 = Color3.fromRGB(33, 33, 33)
  253. invis.Position = UDim2.new(0.0126214866, 0, 0.483404934, 0)
  254. invis.Size = UDim2.new(0, 157, 0, 31)
  255. invis.Font = Enum.Font.Cartoon
  256. invis.Text = "Invisible"
  257. invis.TextColor3 = Color3.fromRGB(0, 0, 0)
  258. invis.TextSize = 14.000
  259. invis.MouseButton1Down:connect(function()
  260. local player = game.Players.LocalPlayer
  261. position = player.Character.HumanoidRootPart.Position
  262. wait(0.1)
  263. player.Character:MoveTo(position + Vector3.new(0, 1000000, 0))
  264. wait(0.1)
  265. humanoidrootpart = player.Character.HumanoidRootPart:clone()
  266. wait(0.1)
  267. player.Character.HumanoidRootPart:Destroy()
  268. humanoidrootpart.Parent = player.Character
  269. player.Character:MoveTo(position)
  270. wait()
  271. -- Remove this if you want to see yourself (others still won't see you)
  272. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  273. game.Players.LocalPlayer.Character.Head.Transparency = 1
  274. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1
  275. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1
  276. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
  277. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
  278. game.Players.LocalPlayer.Character.Humanoid:RemoveAccessories()
  279. game.Players.LocalPlayer.Character.Head.face:Remove()
  280. end)
  281.  
  282. onep.Name = "onep"
  283. onep.Parent = panel2
  284. onep.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  285. onep.BorderColor3 = Color3.fromRGB(33, 33, 33)
  286. onep.Position = UDim2.new(0.0126214866, 0, 0.733404934, 0)
  287. onep.Size = UDim2.new(0, 157, 0, 31)
  288. onep.Font = Enum.Font.Cartoon
  289. onep.Text = "Super Punch"
  290. onep.TextColor3 = Color3.fromRGB(0, 0, 0)
  291. onep.TextSize = 14.000
  292. onep.MouseButton1Down:connect(function()
  293. mainRemotes = game.ReplicatedStorage meleeRemote = mainRemotes['meleeEvent'] mouse = game.Players.LocalPlayer:GetMouse() punching = false cooldown = false function punch() cooldown = true local part = Instance.new("Part", game.Players.LocalPlayer.Character) part.Transparency = 1 part.Size = Vector3.new(5, 2, 3) part.CanCollide = false local w1 = Instance.new("Weld", part) w1.Part0 = game.Players.LocalPlayer.Character.Torso w1.Part1 = part w1.C1 = CFrame.new(0,0,2) part.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr.Name ~= game.Players.LocalPlayer.Name then part:Destroy() for i = 1,100 do meleeRemote:FireServer(plr) end end end end) wait(1) cooldown = false part:Destroy() end mouse.KeyDown:connect(function(key) if cooldown == false then if key:lower() == "f" then punch() end end end)
  294. end)
  295.  
  296. panel3.Name = "panel3"
  297. panel3.Parent = Frame
  298. panel3.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  299. panel3.BorderColor3 = Color3.fromRGB(33, 33, 33)
  300. panel3.BorderSizePixel = 3
  301. panel3.Position = UDim2.new(0.0490245819, 0, 0.601127505, 0)
  302. panel3.Size = UDim2.new(0, 397, 0, 127)
  303.  
  304. helper_2.Name = "helper"
  305. helper_2.Parent = panel3
  306. helper_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  307. helper_2.BackgroundTransparency = 1.000
  308. helper_2.BorderSizePixel = 0
  309. helper_2.Position = UDim2.new(0.0945131704, 0, -0.00338143855, 0)
  310. helper_2.Size = UDim2.new(0, 321, 0, 19)
  311. helper_2.Font = Enum.Font.Cartoon
  312. helper_2.Text = "Helper 2"
  313. helper_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  314. helper_2.TextSize = 14.000
  315.  
  316. taser.Name = "taser"
  317. taser.Parent = panel3
  318. taser.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  319. taser.BorderColor3 = Color3.fromRGB(33, 33, 33)
  320. taser.Position = UDim2.new(0.0176593009, 0, 0.224965006, 0)
  321. taser.Size = UDim2.new(0, 110, 0, 32)
  322. taser.Font = Enum.Font.Cartoon
  323. taser.Text = "Taser Bypass"
  324. taser.TextColor3 = Color3.fromRGB(0, 0, 0)
  325. taser.TextSize = 14.000
  326. taser.MouseButton1Down:connect(function()
  327. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  328. game.Players.LocalPlayer.CharacterAdded:connect(function()
  329. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  330. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  331. end)
  332. end)
  333.  
  334. fling.Name = "fling"
  335. fling.Parent = panel3
  336. fling.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  337. fling.BorderColor3 = Color3.fromRGB(33, 33, 33)
  338. fling.Position = UDim2.new(0.0176593009, 0, 0.610791802, 0)
  339. fling.Size = UDim2.new(0, 110, 0, 32)
  340. fling.Font = Enum.Font.Cartoon
  341. fling.Text = "Fling"
  342. fling.TextColor3 = Color3.fromRGB(0, 0, 0)
  343. fling.TextSize = 14.000
  344. fling.MouseButton1Down:connect(function()
  345. power = 300 -- change this to make it more or less powerful
  346.  
  347. game:GetService('RunService').Stepped:connect(function()
  348. game.Players.LocalPlayer.Character.Head.CanCollide = false
  349. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  350. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  351. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  352. end)
  353.  
  354. wait(.1)
  355. local bambam = Instance.new("BodyThrust")
  356. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  357. bambam.Force = Vector3.new(power,0,power)
  358. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  359. end)
  360.  
  361. Guns.Name = "Guns"
  362. Guns.Parent = panel3
  363. Guns.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  364. Guns.BorderColor3 = Color3.fromRGB(33, 33, 33)
  365. Guns.Position = UDim2.new(0.365266353, 0, 0.610791802, 0)
  366. Guns.Size = UDim2.new(0, 110, 0, 32)
  367. Guns.Font = Enum.Font.Cartoon
  368. Guns.Text = "Tools Menu"
  369. Guns.TextColor3 = Color3.fromRGB(0, 0, 0)
  370. Guns.TextSize = 14.000
  371. Guns.MouseButton1Down:connect(function()
  372. if tlol == true then
  373. tlol = false
  374. toolspanel.Visible = false
  375. else
  376. tlol = true
  377. toolspanel.Visible = true
  378. end
  379. end)
  380.  
  381. door.Name = "door"
  382. door.Parent = panel3
  383. door.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  384. door.BorderColor3 = Color3.fromRGB(33, 33, 33)
  385. door.Position = UDim2.new(0.365266353, 0, 0.224965036, 0)
  386. door.Size = UDim2.new(0, 110, 0, 32)
  387. door.Font = Enum.Font.Cartoon
  388. door.Text = "Remove Doors"
  389. door.TextColor3 = Color3.fromRGB(0, 0, 0)
  390. door.TextSize = 14.000
  391. door.MouseButton1Down:connect(function()
  392. game.Workspace.Doors:Destroy()
  393. end)
  394.  
  395. fly.Name = "fly"
  396. fly.Parent = panel3
  397. fly.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  398. fly.BorderColor3 = Color3.fromRGB(33, 33, 33)
  399. fly.Position = UDim2.new(0.697760105, 0, 0.224965036, 0)
  400. fly.Size = UDim2.new(0, 110, 0, 32)
  401. fly.Font = Enum.Font.Cartoon
  402. fly.Text = "Fly: E"
  403. fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  404. fly.TextSize = 14.000
  405. fly.MouseButton1Down:connect(function()
  406. repeat wait()
  407. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  408. local mouse = game.Players.LocalPlayer:GetMouse()
  409. repeat wait() until mouse
  410. local plr = game.Players.LocalPlayer
  411. local torso = plr.Character.Torso
  412. local flying = true
  413. local deb = true
  414. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  415. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  416. local maxspeed = 50
  417. local speed = 0
  418.  
  419. function Fly()
  420. local bg = Instance.new("BodyGyro", torso)
  421. bg.P = 9e4
  422. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  423. bg.cframe = torso.CFrame
  424. local bv = Instance.new("BodyVelocity", torso)
  425. bv.velocity = Vector3.new(0,0.1,0)
  426. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  427. repeat wait()
  428. plr.Character.Humanoid.PlatformStand = true
  429. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  430. speed = speed+.5+(speed/maxspeed)
  431. if speed > maxspeed then
  432. speed = maxspeed
  433. end
  434. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  435. speed = speed-1
  436. if speed < 0 then
  437. speed = 0
  438. end
  439. end
  440. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  441. 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
  442. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  443. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  444. 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
  445. else
  446. bv.velocity = Vector3.new(0,0.1,0)
  447. end
  448. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  449. until not flying
  450. ctrl = {f = 0, b = 0, l = 0, r = 0}
  451. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  452. speed = 0
  453. bg:Destroy()
  454. bv:Destroy()
  455. plr.Character.Humanoid.PlatformStand = false
  456. end
  457. mouse.KeyDown:connect(function(key)
  458. if key:lower() == "e" then
  459. if flying then flying = false
  460. else
  461. flying = true
  462. Fly()
  463. end
  464. elseif key:lower() == "w" then
  465. ctrl.f = 1
  466. elseif key:lower() == "s" then
  467. ctrl.b = -1
  468. elseif key:lower() == "a" then
  469. ctrl.l = -1
  470. elseif key:lower() == "d" then
  471. ctrl.r = 1
  472. end
  473. end)
  474. mouse.KeyUp:connect(function(key)
  475. if key:lower() == "w" then
  476. ctrl.f = 0
  477. elseif key:lower() == "s" then
  478. ctrl.b = 0
  479. elseif key:lower() == "a" then
  480. ctrl.l = 0
  481. elseif key:lower() == "d" then
  482. ctrl.r = 0
  483. end
  484. end)
  485. Fly()
  486. end)
  487.  
  488. fence.Name = "fence"
  489. fence.Parent = panel3
  490. fence.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  491. fence.BorderColor3 = Color3.fromRGB(33, 33, 33)
  492. fence.Position = UDim2.new(0.697760105, 0, 0.610791802, 0)
  493. fence.Size = UDim2.new(0, 110, 0, 32)
  494. fence.Font = Enum.Font.Cartoon
  495. fence.Text = "Remove Fences"
  496. fence.TextColor3 = Color3.fromRGB(0, 0, 0)
  497. fence.TextSize = 14.000
  498. fence.MouseButton1Down:connect(function()
  499. game.Workspace.Prison_Fences:Destroy()
  500. end)
  501.  
  502. toolspanel.Name = "toolspanel"
  503. toolspanel.Parent = Frame
  504. toolspanel.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  505. toolspanel.BorderColor3 = Color3.fromRGB(33, 33, 33)
  506. toolspanel.BorderSizePixel = 3
  507. toolspanel.Position = UDim2.new(1.03716874, 0, 0.584917128, 0)
  508. toolspanel.Size = UDim2.new(0, 246, 0, 160)
  509. toolspanel.Visible = false
  510.  
  511. gunte.Name = "gunte"
  512. gunte.Parent = toolspanel
  513. gunte.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  514. gunte.BackgroundTransparency = 1.000
  515. gunte.BorderSizePixel = 0
  516. gunte.Position = UDim2.new(0.135736972, 0, 0.029984666, 0)
  517. gunte.Size = UDim2.new(0, 178, 0, 18)
  518. gunte.Font = Enum.Font.Cartoon
  519. gunte.Text = "Tools Giver"
  520. gunte.TextColor3 = Color3.fromRGB(255, 255, 255)
  521. gunte.TextSize = 14.000
  522.  
  523. ak47.Name = "ak47"
  524. ak47.Parent = toolspanel
  525. ak47.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  526. ak47.BorderColor3 = Color3.fromRGB(33, 33, 33)
  527. ak47.Position = UDim2.new(0.0554836877, 0, 0.212465093, 0)
  528. ak47.Size = UDim2.new(0, 85, 0, 32)
  529. ak47.Font = Enum.Font.Cartoon
  530. ak47.Text = "AK-47"
  531. ak47.TextColor3 = Color3.fromRGB(0, 0, 0)
  532. ak47.TextSize = 14.000
  533. ak47.MouseButton1Down:connect(function()
  534. local Weapon = {"AK-47"}
  535. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  536. if v.Name == Weapon[1] then
  537. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  538. end
  539. end
  540. end)
  541.  
  542. shotgun.Name = "shotgun"
  543. shotgun.Parent = toolspanel
  544. shotgun.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  545. shotgun.BorderColor3 = Color3.fromRGB(33, 33, 33)
  546. shotgun.Position = UDim2.new(0.604264259, 0, 0.212465093, 0)
  547. shotgun.Size = UDim2.new(0, 85, 0, 32)
  548. shotgun.Font = Enum.Font.Cartoon
  549. shotgun.Text = "Shotgun"
  550. shotgun.TextColor3 = Color3.fromRGB(0, 0, 0)
  551. shotgun.TextSize = 14.000
  552. shotgun.MouseButton1Down:connect(function()
  553. local y = require(game.Players.LocalPlayer.Backpack:FindFirstChild("Remington 870").GunStates)
  554.  
  555. y.Damage = 100
  556. y.CurrentAmmo = math.huge
  557. y.StoredAmmo = math.huge
  558. y.MaxAmmo = math.huge
  559. y.FireRate = 0
  560. y.AutoFire = true
  561. y.Spread = 100
  562. y.Bullets = 100
  563. end)
  564.  
  565. pistol.Name = "pistol"
  566. pistol.Parent = toolspanel
  567. pistol.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  568. pistol.BorderColor3 = Color3.fromRGB(33, 33, 33)
  569. pistol.Position = UDim2.new(0.0554836877, 0, 0.468715072, 0)
  570. pistol.Size = UDim2.new(0, 85, 0, 32)
  571. pistol.Font = Enum.Font.Cartoon
  572. pistol.Text = "Pistol"
  573. pistol.TextColor3 = Color3.fromRGB(0, 0, 0)
  574. pistol.TextSize = 14.000
  575. pistol.MouseButton1Down:connect(function()
  576. local y = require(game.Players.LocalPlayer.Backpack:FindFirstChild("M9").GunStates)
  577.  
  578. y.Damage = 100
  579. y.CurrentAmmo = math.huge
  580. y.StoredAmmo = math.huge
  581. y.MaxAmmo = math.huge
  582. y.FireRate = 0
  583. y.AutoFire = true
  584. y.Spread = 100
  585. y.Bullets = 100
  586. end)
  587.  
  588. m4a1.Name = "m4a1"
  589. m4a1.Parent = toolspanel
  590. m4a1.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  591. m4a1.BorderColor3 = Color3.fromRGB(33, 33, 33)
  592. m4a1.Position = UDim2.new(0.604264259, 0, 0.468715072, 0)
  593. m4a1.Size = UDim2.new(0, 85, 0, 32)
  594. m4a1.Font = Enum.Font.Cartoon
  595. m4a1.Text = "M4A1"
  596. m4a1.TextColor3 = Color3.fromRGB(0, 0, 0)
  597. m4a1.TextSize = 14.000
  598. m4a1.MouseButton1Down:connect(function()
  599. local Weapon = {"M4A1"}
  600. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  601. if v.Name == Weapon[1] then
  602. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  603. end
  604. end
  605. end)
  606.  
  607. Reming.Name = "Reming"
  608. Reming.Parent = toolspanel
  609. Reming.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  610. Reming.BorderColor3 = Color3.fromRGB(33, 33, 33)
  611. Reming.Position = UDim2.new(0.0554836877, 0, 0.718715072, 0)
  612. Reming.Size = UDim2.new(0, 85, 0, 32)
  613. Reming.Font = Enum.Font.Cartoon
  614. Reming.Text = "Remington 870"
  615. Reming.TextColor3 = Color3.fromRGB(0, 0, 0)
  616. Reming.TextSize = 14.000
  617. Reming.MouseButton1Down:connect(function()
  618. local Weapon = {"Remington 870"}
  619. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  620. if v.Name == Weapon[1] then
  621. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  622. end
  623. end
  624. end)
  625.  
  626. card.Name = "card"
  627. card.Parent = toolspanel
  628. card.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  629. card.BorderColor3 = Color3.fromRGB(33, 33, 33)
  630. card.Position = UDim2.new(0.604264259, 0, 0.718715072, 0)
  631. card.Size = UDim2.new(0, 85, 0, 32)
  632. card.Font = Enum.Font.Cartoon
  633. card.Text = "Card"
  634. card.TextColor3 = Color3.fromRGB(0, 0, 0)
  635. card.TextSize = 14.000
  636. card.MouseButton1Down:connect(function()
  637. local Remote = game.Workspace.Remote['ItemHandler']
  638.  
  639. local Arguments = {
  640. [1] = Workspace.Prison_ITEMS.single:WaitForChild("Key card").ITEMPICKUP
  641. }
  642.  
  643. Remote:InvokeServer(unpack(Arguments))
  644. end)
  645.  
  646. Frame2.Name = "Frame2"
  647. Frame2.Parent = Frame
  648. Frame2.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  649. Frame2.BorderColor3 = Color3.fromRGB(33, 33, 33)
  650. Frame2.BorderSizePixel = 7
  651. Frame2.Position = UDim2.new(1.04695499, 0, -0.00617727917, 0)
  652. Frame2.Size = UDim2.new(0, 259, 0, 384)
  653. Frame2.Visible = false
  654.  
  655. helper_3.Name = "helper"
  656. helper_3.Parent = Frame2
  657. helper_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  658. helper_3.BackgroundTransparency = 1.000
  659. helper_3.BorderSizePixel = 0
  660. helper_3.Position = UDim2.new(0.141010538, 0, 0.0154013233, 0)
  661. helper_3.Size = UDim2.new(0, 185, 0, 16)
  662. helper_3.Font = Enum.Font.Cartoon
  663. helper_3.Text = "Another Menu"
  664. helper_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  665. helper_3.TextSize = 14.000
  666.  
  667. taseall.Name = "taseall"
  668. taseall.Parent = Frame2
  669. taseall.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  670. taseall.BorderColor3 = Color3.fromRGB(33, 33, 33)
  671. taseall.Position = UDim2.new(0.051622685, 0, 0.111944236, 0)
  672. taseall.Size = UDim2.new(0, 85, 0, 32)
  673. taseall.Font = Enum.Font.Cartoon
  674. taseall.Text = "Taser All"
  675. taseall.TextColor3 = Color3.fromRGB(0, 0, 0)
  676. taseall.TextSize = 14.000
  677. taseall.MouseButton1Down:connect(function()
  678. workspace.Remote.TeamEvent:FireServer("Bright blue")
  679.  
  680. function kill(a)
  681. local A_1 =
  682. {
  683. [1] =
  684. {
  685. ["RayObject"] = Ray.new(Vector3.new(829.838562, 101.489998, 2331.25635), Vector3.new(-30.6540909, -5.42795324, 95.0308533)),
  686. ["Distance"] = 15.355997085571,
  687. ["Cframe"] = CFrame.new(826.616699, 100.8508, 2340.11279, 0.964640439, -0.00993416365, -0.263382077, 9.31322575e-10, 0.999289393, -0.0376908854, 0.263569355, 0.0363581516, 0.963954985),
  688. ["Hit"] = a.Character.Torso
  689. }
  690. }
  691. local A_2 = game.Players.LocalPlayer.Backpack["Taser"]
  692. local Event = game:GetService("ReplicatedStorage").ShootEvent
  693. Event:FireServer(A_1, A_2)
  694. end
  695.  
  696. for i,v in pairs(game.Players:GetChildren())do
  697. if v.Name ~= game.Players.LocalPlayer.Name then
  698. kill(v)
  699. end
  700. end
  701. end)
  702.  
  703. antitase.Name = "antitase"
  704. antitase.Parent = Frame2
  705. antitase.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  706. antitase.BorderColor3 = Color3.fromRGB(33, 33, 33)
  707. antitase.Position = UDim2.new(0.611468256, 0, 0.111944236, 0)
  708. antitase.Size = UDim2.new(0, 85, 0, 32)
  709. antitase.Font = Enum.Font.Cartoon
  710. antitase.Text = "Anti Taser"
  711. antitase.TextColor3 = Color3.fromRGB(0, 0, 0)
  712. antitase.TextSize = 14.000
  713. antitase.MouseButton1Down:connect(function()
  714. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  715. game.Players.LocalPlayer.CharacterAdded:connect(function()
  716. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  717. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  718. end)
  719. end)
  720.  
  721. nama.Name = "nama"
  722. nama.Parent = Frame2
  723. nama.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  724. nama.BorderColor3 = Color3.fromRGB(33, 33, 33)
  725. nama.BorderSizePixel = 3
  726. nama.Position = UDim2.new(0.0849420875, 0, 0.236979172, 0)
  727. nama.Size = UDim2.new(0, 214, 0, 30)
  728. nama.Font = Enum.Font.Cartoon
  729. nama.Text = "Gun Name"
  730. nama.TextColor3 = Color3.fromRGB(0, 0, 0)
  731. nama.TextSize = 14.000
  732.  
  733. nembak.Name = "nembak"
  734. nembak.Parent = Frame2
  735. nembak.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  736. nembak.BorderColor3 = Color3.fromRGB(33, 33, 33)
  737. nembak.Position = UDim2.new(0.0516226739, 0, 0.359340072, 0)
  738. nembak.Size = UDim2.new(0, 85, 0, 32)
  739. nembak.Font = Enum.Font.Cartoon
  740. nembak.Text = "Fast Shoot"
  741. nembak.TextColor3 = Color3.fromRGB(0, 0, 0)
  742. nembak.TextSize = 14.000
  743. nembak.MouseButton1Down:connect(function()
  744. local Player = game.Players.LocalPlayer.Name
  745. local Gun = nama.Text -- < -- Gun Name
  746. local Run = game:GetService("RunService")
  747.  
  748. Gun = game.Players[Player].Character[Gun]
  749. local Mouse = game.Players.LocalPlayer:GetMouse()
  750. local Down = false
  751. local Sound = Gun.Handle.FireSound
  752.  
  753. function CreateRay(Point_A, Point_B)
  754. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  755. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  756. local Dist = (Point_A - Pos).Magnitude
  757. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  758.  
  759. return CFrame, Dist, Ray
  760. end
  761.  
  762. function FireLaser(target)
  763. coroutine.resume(coroutine.create(function()
  764. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  765. local Bullet = Instance.new("Part", Gun)
  766. Bullet.BrickColor = BrickColor.Yellow()
  767. Bullet.Material = "Neon"
  768. Bullet.Anchored = true
  769. Bullet.CanCollide = false
  770. Bullet.Size = Vector3.new(0.2, 0.2, D)
  771. Bullet.CFrame = C
  772.  
  773. local bulletTable = {}
  774. table.insert(bulletTable, {
  775. Hit = target,
  776. Distance = D,
  777. Cframe = C,
  778. RayObject = R
  779. })
  780.  
  781. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  782. local C = Sound:Clone()
  783. C.Parent = Gun
  784. C:Play()
  785. wait(0.05)
  786. Bullet:Remove()
  787. end))
  788. end
  789.  
  790. Mouse.Button1Down:Connect(function()
  791. Down = true
  792. end)
  793.  
  794.  
  795. Mouse.Button1Up:Connect(function()
  796. Down = false
  797. end)
  798.  
  799. while Run.Stepped:wait() do
  800. if Down == true then
  801. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  802. FireLaser(Mouse.Target)
  803. end
  804. end
  805. end)
  806.  
  807. tree.Name = "tree"
  808. tree.Parent = Frame2
  809. tree.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  810. tree.BorderColor3 = Color3.fromRGB(33, 33, 33)
  811. tree.Position = UDim2.new(0.611468196, 0, 0.359340072, 0)
  812. tree.Size = UDim2.new(0, 85, 0, 32)
  813. tree.Font = Enum.Font.Cartoon
  814. tree.Text = "Remove Tree"
  815. tree.TextColor3 = Color3.fromRGB(0, 0, 0)
  816. tree.TextSize = 14.000
  817. tree.MouseButton1Down:connect(function()
  818. Workspace.Trees:Destroy()
  819. Workspace.Prison_Trees:Destroy()
  820. end)
  821.  
  822. wall.Name = "wall"
  823. wall.Parent = Frame2
  824. wall.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  825. wall.BorderColor3 = Color3.fromRGB(33, 33, 33)
  826. wall.Position = UDim2.new(0.0516226292, 0, 0.486944258, 0)
  827. wall.Size = UDim2.new(0, 85, 0, 32)
  828. wall.Font = Enum.Font.Cartoon
  829. wall.Text = "Remove Wall (Outside)"
  830. wall.TextColor3 = Color3.fromRGB(0, 0, 0)
  831. wall.TextScaled = true
  832. wall.TextSize = 14.000
  833. wall.TextWrapped = true
  834. wall.MouseButton1Down:connect(function()
  835. Workspace.Prison_OuterWall:Destroy()
  836. end)
  837.  
  838. road.Name = "road"
  839. road.Parent = Frame2
  840. road.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  841. road.BorderColor3 = Color3.fromRGB(33, 33, 33)
  842. road.Position = UDim2.new(0.611468196, 0, 0.486944258, 0)
  843. road.Size = UDim2.new(0, 85, 0, 32)
  844. road.Font = Enum.Font.Cartoon
  845. road.Text = "Remove Road"
  846. road.TextColor3 = Color3.fromRGB(0, 0, 0)
  847. road.TextSize = 14.000
  848. road.MouseButton1Down:connect(function()
  849. Workspace.mainRoads:Destroy()
  850. Workspace.Prison_road:Destroy()
  851. Workspace.SideRoad:Destroy()
  852. end)
  853.  
  854. build.Name = "build"
  855. build.Parent = Frame2
  856. build.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  857. build.BorderColor3 = Color3.fromRGB(33, 33, 33)
  858. build.Position = UDim2.new(0.0516226292, 0, 0.617152572, 0)
  859. build.Size = UDim2.new(0, 85, 0, 32)
  860. build.Font = Enum.Font.Cartoon
  861. build.Text = "Remove Building"
  862. build.TextColor3 = Color3.fromRGB(0, 0, 0)
  863. build.TextSize = 14.000
  864. build.MouseButton1Down:connect(function()
  865. Workspace.City_buildings:Destroy()
  866. end)
  867.  
  868. btools.Name = "btools"
  869. btools.Parent = Frame2
  870. btools.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  871. btools.BorderColor3 = Color3.fromRGB(33, 33, 33)
  872. btools.Position = UDim2.new(0.611468196, 0, 0.617152572, 0)
  873. btools.Size = UDim2.new(0, 85, 0, 32)
  874. btools.Font = Enum.Font.Cartoon
  875. btools.Text = "Btools"
  876. btools.TextColor3 = Color3.fromRGB(0, 0, 0)
  877. btools.TextSize = 14.000
  878. btools.MouseButton1Down:connect(function()
  879. wait(0.1)
  880. local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  881. local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  882. local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  883. tool1.BinType = "Clone"
  884. tool2.BinType = "Hammer"
  885. tool3.BinType = "Grab"
  886. end)
  887.  
  888. nama2.Name = "nama2"
  889. nama2.Parent = Frame2
  890. nama2.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  891. nama2.BorderColor3 = Color3.fromRGB(33, 33, 33)
  892. nama2.BorderSizePixel = 3
  893. nama2.Position = UDim2.new(0.0849420875, 0, 0.723958313, 0)
  894. nama2.Size = UDim2.new(0, 214, 0, 30)
  895. nama2.Font = Enum.Font.Cartoon
  896. nama2.Text = "Players Name"
  897. nama2.TextColor3 = Color3.fromRGB(0, 0, 0)
  898. nama2.TextSize = 14.000
  899.  
  900. tppla.Name = "tppla"
  901. tppla.Parent = Frame2
  902. tppla.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  903. tppla.BorderColor3 = Color3.fromRGB(33, 33, 33)
  904. tppla.Position = UDim2.new(0.236950725, 0, 0.846319258, 0)
  905. tppla.Size = UDim2.new(0, 135, 0, 32)
  906. tppla.Font = Enum.Font.Cartoon
  907. tppla.Text = "TP To Player"
  908. tppla.TextColor3 = Color3.fromRGB(0, 0, 0)
  909. tppla.TextSize = 14.000
  910. tppla.MouseButton1Down:connect(function()
  911. local tp_namedplayer = nama2.Text
  912. local tp_player = game:GetService("Players")[tp_namedplayer]
  913. local PLR = game:GetService("Players").LocalPlayer
  914. local p = PlayerTP_Input.Text
  915.  
  916. if tp_player then
  917. for i = 1,1 do
  918. wait(.08)
  919. PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, -1)
  920. end
  921. end
  922. end)
  923.  
  924. Frame3.Name = "Frame3"
  925. Frame3.Parent = Frame
  926. Frame3.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  927. Frame3.BorderColor3 = Color3.fromRGB(33, 33, 33)
  928. Frame3.BorderSizePixel = 7
  929. Frame3.Position = UDim2.new(-0.00221579452, 0, 1.05317187, 0)
  930. Frame3.Size = UDim2.new(0, 441, 0, 100)
  931.  
  932. nama3.Name = "nama3"
  933. nama3.Parent = Frame3
  934. nama3.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  935. nama3.BorderColor3 = Color3.fromRGB(33, 33, 33)
  936. nama3.BorderSizePixel = 3
  937. nama3.Position = UDim2.new(0.0385487527, 0, 0.0700000077, 0)
  938. nama3.Size = UDim2.new(0, 410, 0, 34)
  939. nama3.Font = Enum.Font.Cartoon
  940. nama3.Text = "Players Name"
  941. nama3.TextColor3 = Color3.fromRGB(0, 0, 0)
  942. nama3.TextSize = 14.000
  943.  
  944. kill.Name = "kill"
  945. kill.Parent = Frame3
  946. kill.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  947. kill.BorderColor3 = Color3.fromRGB(33, 33, 33)
  948. kill.BorderSizePixel = 3
  949. kill.Position = UDim2.new(0.108843535, 0, 0.579999983, 0)
  950. kill.Size = UDim2.new(0, 101, 0, 29)
  951. kill.Font = Enum.Font.Cartoon
  952. kill.Text = "Kill Player"
  953. kill.TextColor3 = Color3.fromRGB(0, 0, 0)
  954. kill.TextSize = 14.000
  955. kill.MouseButton1Down:connect(function()
  956. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  957.  
  958. wait(0.1)
  959. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  960.  
  961. local A_1 =
  962. {
  963. [1] =
  964. {
  965. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
  966. ["Distance"] = 4.7204174995422,
  967. ["Cframe"] = CFrame.new(832.049377, 101.392006, 2300.97168, 0.843892097, -0.0554918349, 0.533635378, 0, 0.994636595, 0.103430569, -0.536512911, -0.0872842371, 0.839366019),
  968. ["Hit"] = game.Workspace[nama3.Text].Head
  969. },
  970. [2] =
  971. {
  972. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
  973. ["Distance"] = 4.8114862442017,
  974. ["Cframe"] = CFrame.new(832.390259, 101.550629, 2300.74097, 0.738044441, -0.112958886, 0.665229917, 7.45057971e-09, 0.985887885, 0.16740793, -0.674752235, -0.123554483, 0.727628946),
  975. ["Hit"] = game.Workspace[nama3.Text].Head
  976. },
  977. [3] =
  978. {
  979. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
  980. ["Distance"] = 4.444625377655,
  981. ["Cframe"] = CFrame.new(832.185486, 101.391617, 2300.70264, 0.775115669, -0.0692948848, 0.628007889, 7.45057971e-09, 0.993967533, 0.109675139, -0.631819367, -0.0850109085, 0.770439863),
  982. ["Hit"] = game.Workspace[nama3.Text].Head
  983. },
  984. [4] =
  985. {
  986. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
  987. ["Distance"] = 4.6211166381836,
  988. ["Cframe"] = CFrame.new(832.10083, 101.445007, 2300.86963, 0.820150614, -0.0735745132, 0.567397356, 0, 0.991697431, 0.128593579, -0.572147667, -0.105466105, 0.81334126),
  989. ["Hit"] = game.Workspace[nama3.Text].Head
  990. },
  991. [5] =
  992. {
  993. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
  994. ["Distance"] = 4.4639973640442,
  995. ["Cframe"] = CFrame.new(832.169434, 101.341301, 2300.73438, 0.784266233, -0.0537625961, 0.618090749, -3.7252903e-09, 0.99623847, 0.086654529, -0.620424569, -0.0679602176, 0.781316102),
  996. ["Hit"] = game.Workspace[nama3.Text].Head
  997. }
  998. }
  999. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  1000. local Event = game:GetService("ReplicatedStorage").ShootEvent
  1001. Event:FireServer(A_1, A_2)
  1002.  
  1003. wait(0.5)
  1004. workspace.Remote.TeamEvent:FireServer("Bright orange")
  1005. end)
  1006.  
  1007. killall.Name = "killall"
  1008. killall.Parent = Frame3
  1009. killall.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  1010. killall.BorderColor3 = Color3.fromRGB(33, 33, 33)
  1011. killall.BorderSizePixel = 3
  1012. killall.Position = UDim2.new(0.664399147, 0, 0.579999983, 0)
  1013. killall.Size = UDim2.new(0, 101, 0, 29)
  1014. killall.Font = Enum.Font.Cartoon
  1015. killall.Text = "Kill All"
  1016. killall.TextColor3 = Color3.fromRGB(0, 0, 0)
  1017. killall.TextSize = 14.000
  1018. killall.MouseButton1Down:connect(function()
  1019. wait(0.5)
  1020. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  1021.  
  1022. Text = ("[R.I.P To Everyone!]");
  1023.  
  1024. Color = Color3.new(255,0,0);
  1025.  
  1026. FontSize = Enum.FontSize.Size24;
  1027.  
  1028. })
  1029.  
  1030.  
  1031. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1032.  
  1033. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1034.  
  1035. wait(0.5)
  1036. function kill(a)
  1037. local A_1 =
  1038. {
  1039. [1] =
  1040. {
  1041. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  1042. ["Distance"] = 3.2524313926697,
  1043. ["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),
  1044. ["Hit"] = a.Character.Head
  1045. },
  1046. [2] =
  1047. {
  1048. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  1049. ["Distance"] = 3.2699294090271,
  1050. ["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),
  1051. ["Hit"] = a.Character.Head
  1052. },
  1053. [3] =
  1054. {
  1055. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  1056. ["Distance"] = 3.1665518283844,
  1057. ["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),
  1058. ["Hit"] = a.Character.Head
  1059. },
  1060. [4] =
  1061. {
  1062. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  1063. ["Distance"] = 3.3218522071838,
  1064. ["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),
  1065. ["Hit"] = a.Character.Head
  1066. },
  1067. [5] =
  1068. {
  1069. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  1070. ["Distance"] = 3.222757101059,
  1071. ["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),
  1072. ["Hit"] = a.Character.Head
  1073. }
  1074. }
  1075. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  1076. local Event = game:GetService("ReplicatedStorage").ShootEvent
  1077. Event:FireServer(A_1, A_2)
  1078. Event:FireServer(A_1, A_2)
  1079. end
  1080.  
  1081. for i,v in pairs(game.Players:GetChildren())do
  1082. if v.Name ~= game.Players.LocalPlayer.Name then
  1083. kill(v)
  1084. end
  1085. end
  1086. wait(1)
  1087. workspace.Remote.TeamEvent:FireServer("Bright orange")
  1088. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement