Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.86 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 TextLabel = Instance.new("TextLabel")
  9. local criminalaura = Instance.new("TextButton")
  10. local arrestall = Instance.new("TextButton")
  11. local btools = Instance.new("TextButton")
  12. local killneutral = Instance.new("TextButton")
  13. local killinmates = Instance.new("TextButton")
  14. local killpolice = Instance.new("TextButton")
  15.  
  16. --Properties:
  17.  
  18. ScreenGui.Parent = game.CoreGui
  19. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. Frame.Parent = ScreenGui
  22. Frame.BackgroundColor3 = Color3.fromRGB(158, 255, 165)
  23. Frame.BorderSizePixel = 5
  24. Frame.Position = UDim2.new(0.813868642, 0, 0.23339659, 0)
  25. Frame.Size = UDim2.new(0, 160, 0, 376)
  26. Frame.Active = true
  27. Frame.Draggable = true
  28.  
  29. TextLabel.Parent = Frame
  30. TextLabel.BackgroundColor3 = Color3.fromRGB(151, 213, 113)
  31. TextLabel.BorderSizePixel = 5
  32. TextLabel.Size = UDim2.new(0, 160, 0, 50)
  33. TextLabel.Font = Enum.Font.SourceSans
  34. TextLabel.Text = "MORE EXTRA BY 666scripter_exe"
  35. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  36. TextLabel.TextScaled = true
  37. TextLabel.TextSize = 14.000
  38. TextLabel.TextWrapped = true
  39.  
  40. criminalaura.Name = "criminalaura"
  41. criminalaura.Parent = Frame
  42. criminalaura.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  43. criminalaura.BorderSizePixel = 5
  44. criminalaura.Position = UDim2.new(0, 0, 0.158474252, 0)
  45. criminalaura.Size = UDim2.new(0, 160, 0, 41)
  46. criminalaura.Font = Enum.Font.SourceSans
  47. criminalaura.Text = "Criminal Aura"
  48. criminalaura.TextColor3 = Color3.fromRGB(0, 0, 0)
  49. criminalaura.TextScaled = true
  50. criminalaura.TextSize = 14.000
  51. criminalaura.TextWrapped = true
  52. criminalaura.MouseButton1Down:connect(function()
  53. local Apart = Instance.new("Part")
  54.  
  55. Apart.Name = "PlrsPos"
  56. Apart.Parent = workspace
  57. Apart.Anchored = true
  58. Apart.Archivable = true
  59. Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
  60.  
  61. LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  62.  
  63. _G.killAura = true
  64. wait(0.2)
  65.  
  66. Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  67. Apart.Transparency = 1
  68. Apart.Anchored = true
  69. Apart.CanCollide = false
  70.  
  71. istptoplr = true
  72. wait(0.004)
  73.  
  74.  
  75. LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  76.  
  77. LCS.CanCollide = false
  78. LCS.Size = Vector3.new(51.05, 24.12, 54.76)
  79. LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  80. LCS.Transparency = 1
  81.  
  82. wait(2)
  83.  
  84. istptoplr = false
  85. _G.killAura = false
  86.  
  87. wait(0.04)
  88.  
  89. if istptoplr == false then
  90. LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91. LCS.Size = Vector3.new(6, 0.2, 6)
  92. LCS.Transparency = 0
  93. istptoplr = false
  94. end
  95. end)
  96.  
  97. arrestall.Name = "arrestall"
  98. arrestall.Parent = Frame
  99. arrestall.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  100. arrestall.BorderSizePixel = 5
  101. arrestall.Position = UDim2.new(0, 0, 0.286705583, 0)
  102. arrestall.Size = UDim2.new(0, 160, 0, 41)
  103. arrestall.Font = Enum.Font.SourceSans
  104. arrestall.Text = "Arrest criminals"
  105. arrestall.TextColor3 = Color3.fromRGB(0, 0, 0)
  106. arrestall.TextScaled = true
  107. arrestall.TextSize = 14.000
  108. arrestall.TextWrapped = true
  109. arrestall.MouseButton1Down:connect(function()
  110. local Player = game.Players.LocalPlayer
  111. local cpos = Player.Character.HumanoidRootPart.CFrame
  112. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  113. if v.Name ~= Player.Name then
  114. local i = 10
  115. repeat
  116. wait()
  117. i = i-1
  118. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  119. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  120. until i == 0
  121. end
  122. end
  123. Player.Character.HumanoidRootPart.CFrame = cpos
  124. Notify("Success", "Arrested all of the n00bs", "Cool!")
  125. end)
  126.  
  127. btools.Name = "btools"
  128. btools.Parent = Frame
  129. btools.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  130. btools.BorderSizePixel = 5
  131. btools.Position = UDim2.new(0, 0, 0.412277371, 0)
  132. btools.Size = UDim2.new(0, 160, 0, 41)
  133. btools.Font = Enum.Font.SourceSans
  134. btools.Text = "Btools"
  135. btools.TextColor3 = Color3.fromRGB(0, 0, 0)
  136. btools.TextScaled = true
  137. btools.TextSize = 14.000
  138. btools.TextWrapped = true
  139. btools.MouseButton1Down:connect(function()
  140. local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  141. tool1.BinType = "Hammer"
  142. end)
  143.  
  144.  
  145. killneutral.Name = "kill neutral"
  146. killneutral.Parent = Frame
  147. killneutral.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  148. killneutral.BorderSizePixel = 5
  149. killneutral.Position = UDim2.new(0, 0, 0.521319926, 0)
  150. killneutral.Size = UDim2.new(0, 160, 0, 41)
  151. killneutral.Font = Enum.Font.SourceSans
  152. killneutral.Text = "Kill Neutral"
  153. killneutral.TextColor3 = Color3.fromRGB(0, 0, 0)
  154. killneutral.TextScaled = true
  155. killneutral.TextSize = 14.000
  156. killneutral.TextWrapped = true
  157. killneutral.MouseButton1Click:Connect(function()
  158. local savedteam = game.Players.LocalPlayer.TeamColor.Name
  159. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  160. for i,v in pairs(game.Teams.Neutral:GetPlayers()) do
  161. local A_1 = {[1] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)), ["Distance"] = 3.2524313926697, ["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), ["Hit"] = v.Character.Head}, [2] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)), ["Distance"] = 3.2699294090271, ["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), ["Hit"] = v.Character.Head}, [3] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)), ["Distance"] = 3.1665518283844, ["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), ["Hit"] = v.Character.Head}, [4] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)), ["Distance"] = 3.3218522071838, ["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), ["Hit"] = v.Character.Head}, [5] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)), ["Distance"] = 3.222757101059, ["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), ["Hit"] = v.Character.Head}}
  162. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  163. local Event = game:GetService("ReplicatedStorage").ShootEvent
  164. Event:FireServer(A_1, A_2)
  165. Event:FireServer(A_1, A_2)
  166. end
  167. workspace.Remote.TeamEvent:FireServer(savedteam)
  168. end)
  169.  
  170. killinmates.Name = "kill inmates"
  171. killinmates.Parent = Frame
  172. killinmates.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  173. killinmates.BorderSizePixel = 5
  174. killinmates.Position = UDim2.new(0, 0, 0.646319985, 0)
  175. killinmates.Size = UDim2.new(0, 160, 0, 41)
  176. killinmates.Font = Enum.Font.SourceSans
  177. killinmates.Text = "Kill inmates"
  178. killinmates.TextColor3 = Color3.fromRGB(0, 0, 0)
  179. killinmates.TextScaled = true
  180. killinmates.TextSize = 14.000
  181. killinmates.TextWrapped = true
  182. killinmates.MouseButton1Click:Connect(function()
  183. local savedteam = game.Players.LocalPlayer.TeamColor.Name
  184. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  185. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  186. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  187. local A_1 = {[1] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)), ["Distance"] = 3.2524313926697, ["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), ["Hit"] = v.Character.Head}, [2] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)), ["Distance"] = 3.2699294090271, ["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), ["Hit"] = v.Character.Head}, [3] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)), ["Distance"] = 3.1665518283844, ["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), ["Hit"] = v.Character.Head}, [4] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)), ["Distance"] = 3.3218522071838, ["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), ["Hit"] = v.Character.Head}, [5] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)), ["Distance"] = 3.222757101059, ["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), ["Hit"] = v.Character.Head}}
  188. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  189. local Event = game:GetService("ReplicatedStorage").ShootEvent
  190. Event:FireServer(A_1, A_2)
  191. Event:FireServer(A_1, A_2)
  192. end
  193. workspace.Remote.TeamEvent:FireServer(savedteam)
  194. end)
  195.  
  196. killpolice.Name = "kill police"
  197. killpolice.Parent = Frame
  198. killpolice.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  199. killpolice.BorderSizePixel = 5
  200. killpolice.Position = UDim2.new(0, 0, 0.771319926, 0)
  201. killpolice.Size = UDim2.new(0, 160, 0, 41)
  202. killpolice.Font = Enum.Font.SourceSans
  203. killpolice.Text = "Kill police"
  204. killpolice.TextColor3 = Color3.fromRGB(0, 0, 0)
  205. killpolice.TextScaled = true
  206. killpolice.TextSize = 14.000
  207. killpolice.TextWrapped = true
  208. killpolice.MouseButton1Click:Connect(function()
  209. local savedteam = game.Players.LocalPlayer.TeamColor.Name
  210. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  211. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  212. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  213. local A_1 = {[1] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)), ["Distance"] = 3.2524313926697, ["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), ["Hit"] = v.Character.Head}, [2] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)), ["Distance"] = 3.2699294090271, ["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), ["Hit"] = v.Character.Head}, [3] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)), ["Distance"] = 3.1665518283844, ["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), ["Hit"] = v.Character.Head}, [4] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)), ["Distance"] = 3.3218522071838, ["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), ["Hit"] = v.Character.Head}, [5] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)), ["Distance"] = 3.222757101059, ["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), ["Hit"] = v.Character.Head}}
  214. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  215. local Event = game:GetService("ReplicatedStorage").ShootEvent
  216. Event:FireServer(A_1, A_2)
  217. Event:FireServer(A_1, A_2)
  218. end
  219. workspace.Remote.TeamEvent:FireServer(savedteam)
  220. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement