Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. if game.PlaceId == 155615604 then
  2. Gui = Instance.new("ScreenGui", game.CoreGui)
  3. Button = Instance.new("TextButton", Gui)
  4. Button.Size = UDim2.new(0, 100, 0, 40)
  5. Button.BackgroundTransparency = 0.7
  6. Button.Position = UDim2.new(0.003, 0, 0.88, 0)
  7. Button.Text = "Kill All"
  8. Button.TextColor3 = Color3.new(255, 255, 255)
  9. Button.MouseButton1Down:connect(function()
  10. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  11.  
  12. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  13.  
  14. wait()
  15. function kill(a)
  16. local A_1 =
  17. {
  18. [1] =
  19. {
  20. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  21. ["Distance"] = 3.2524313926697,
  22. ["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),
  23. ["Hit"] = a.Character.Head
  24. },
  25. [2] =
  26. {
  27. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  28. ["Distance"] = 3.2699294090271,
  29. ["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),
  30. ["Hit"] = a.Character.Head
  31. },
  32. [3] =
  33. {
  34. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  35. ["Distance"] = 3.1665518283844,
  36. ["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),
  37. ["Hit"] = a.Character.Head
  38. },
  39. [4] =
  40. {
  41. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  42. ["Distance"] = 3.3218522071838,
  43. ["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),
  44. ["Hit"] = a.Character.Head
  45. },
  46. [5] =
  47. {
  48. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  49. ["Distance"] = 3.222757101059,
  50. ["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),
  51. ["Hit"] = a.Character.Head
  52. }
  53. }
  54. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  55. local Event = game:GetService("ReplicatedStorage").ShootEvent
  56. Event:FireServer(A_1, A_2)
  57. Event:FireServer(A_1, A_2)
  58. end
  59.  
  60. for i,v in pairs(game.Players:GetChildren())do
  61. if v.Name ~= game.Players.LocalPlayer.Name then
  62. kill(v)
  63. end
  64. end
  65. wait()
  66. workspace.Remote.TeamEvent:FireServer("Bright orange")
  67. end)
  68. end
  69.  
  70. if game.PlaceId == 155615604 then
  71. Gui = Instance.new("ScreenGui", game.CoreGui)
  72. Button = Instance.new("TextButton", Gui)
  73. Button.Size = UDim2.new(0, 100, 0, 40)
  74. Button.BackgroundTransparency = 0.7
  75. Button.Position = UDim2.new(0.003, 0, 0.93, 0)
  76. Button.Text = "Void"
  77. Button.TextColor3 = Color3.new(255, 255, 255)
  78. Button.MouseButton1Down:connect(function()
  79. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1107.82202,-445.239594,2111.5647))
  80. end)
  81.  
  82. Gui = Instance.new("ScreenGui", game.CoreGui)
  83. Button = Instance.new("TextButton", Gui)
  84. Button.Size = UDim2.new(0, 100, 0, 40)
  85. Button.BackgroundTransparency = 0.7
  86. Button.Position = UDim2.new(0.003, 0, 0.78, 0)
  87. Button.Text = "Criminal"
  88. Button.TextColor3 = Color3.new(255, 255, 255)
  89. Button.MouseButton1Down:connect(function()
  90. crimchange = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  91. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-919.958, 95.327, 2138.189)
  92. wait(0.075)
  93. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(crimchange)
  94. end)
  95.  
  96. Gui = Instance.new("ScreenGui", game.CoreGui)
  97. Button = Instance.new("TextButton", Gui)
  98. Button.Size = UDim2.new(0, 100, 0, 40)
  99. Button.BackgroundTransparency = 0.7
  100. Button.Position = UDim2.new(0.003, 0, 0.73, 0)
  101. Button.Text = "Neutral"
  102. Button.TextColor3 = Color3.new(255, 255, 255)
  103. Button.MouseButton1Down:connect(function()
  104. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  105. end)
  106.  
  107. Gui = Instance.new("ScreenGui", game.CoreGui)
  108. Button = Instance.new("TextButton", Gui)
  109. Button.Size = UDim2.new(0, 100, 0, 40)
  110. Button.BackgroundTransparency = 0.7
  111. Button.Position = UDim2.new(0.003, 0, 0.68, 0)
  112. Button.Text = "Inmate"
  113. Button.TextColor3 = Color3.new(255, 255, 255)
  114. Button.MouseButton1Down:connect(function()
  115. Workspace.Remote.TeamEvent:FireServer("Bright orange")
  116. end)
  117.  
  118. Gui = Instance.new("ScreenGui", game.CoreGui)
  119. Button = Instance.new("TextButton", Gui)
  120. Button.Size = UDim2.new(0, 100, 0, 40)
  121. Button.BackgroundTransparency = 0.7
  122. Button.Position = UDim2.new(0.003, 0, 0.63, 0)
  123. Button.Text = "Police"
  124. Button.TextColor3 = Color3.new(255, 255, 255)
  125. Button.MouseButton1Down:connect(function()
  126. Workspace.Remote.TeamEvent:FireServer("Bright blue")
  127. end)
  128.  
  129. Gui = Instance.new("ScreenGui", game.CoreGui)
  130. Button = Instance.new("TextButton", Gui)
  131. Button.Size = UDim2.new(0, 100, 0, 40)
  132. Button.BackgroundTransparency = 0.7
  133. Button.Position = UDim2.new(0.003, 0, 0.58, 0)
  134. Button.Text = "Items"
  135. Button.TextColor3 = Color3.new(255, 255, 255)
  136. Button.MouseButton1Down:connect(function()
  137. for i, v in pairs(game.Workspace["Prison_ITEMS"].single:GetChildren()) do
  138. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  139. end
  140. end)
  141.  
  142. Gui = Instance.new("ScreenGui", game.CoreGui)
  143. Button = Instance.new("TextButton", Gui)
  144. Button.Size = UDim2.new(0, 100, 0, 40)
  145. Button.BackgroundTransparency = 0.7
  146. Button.Position = UDim2.new(0.003, 0, 0.83, 0)
  147. Button.Text = "Destroy"
  148. Button.TextColor3 = Color3.new(255, 255, 255)
  149. Button.MouseButton1Down:connect(function()
  150. local plr = game:service("Players").LocalPlayer
  151. plr.Character.Torso.Anchored = true
  152. plr.Character.HumanoidRootPart:Destroy()
  153. plr.Character.Torso.Anchored = false
  154. end)
  155. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement