Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local plr = Instance.new("TextBox")
- local makecrim = Instance.new("TextButton")
- local spamon = Instance.new("TextButton")
- local spamoff = Instance.new("TextButton")
- local tpto = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- main.Position = UDim2.new(0.625790119, 0, 0.36939314, 0)
- main.Size = UDim2.new(0, 237, 0, 147)
- main.Visible = true
- main.Active = true
- main.Draggable = true
- plr.Name = "plr"
- plr.Parent = main
- plr.BackgroundColor3 = Color3.new(255, 255, 255)
- plr.Position = UDim2.new(0.257383972, 0, 0.0612244904, 0)
- plr.Size = UDim2.new(0, 114, 0, 31)
- plr.Font = Enum.Font.SourceSans
- plr.Text = "PLAYERNAME"
- plr.TextColor3 = Color3.new(0, 0, 0)
- plr.TextSize = 14
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local function RemoveSpaces(String)
- return String:gsub("%s+", "") or String
- end
- local function FindPlayer(String)
- String = RemoveSpaces(String)
- for _, _Player in pairs(Players:GetPlayers()) do
- if _Player.Name:lower():match('^'.. String:lower()) then
- return _Player
- end
- end
- return nil
- end
- makecrim.Name = "make crim"
- makecrim.Parent = main
- makecrim.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
- makecrim.Position = UDim2.new(0.0548523217, 0, 0.37414965, 0)
- makecrim.Size = UDim2.new(0, 87, 0, 36)
- makecrim.Font = Enum.Font.SourceSans
- makecrim.Text = "Make crim"
- makecrim.TextColor3 = Color3.fromRGB(0, 0, 0)
- makecrim.TextSize = 14.000
- makecrim.MouseButton1Down:connect(function()
- local Apart = Instance.new("Part")
- Apart.Name = "PlrsPos"
- Apart.Parent = workspace
- Apart.Anchored = true
- Apart.Archivable = true
- Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
- local lol = FindPlayer(plr.Text)
- game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
- wait(0.1)
- Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
- ["Distance"] = 4.7204174995422,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
- ["Distance"] = 4.8114862442017,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
- ["Distance"] = 4.444625377655,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
- ["Distance"] = 4.6211166381836,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
- ["Distance"] = 4.4639973640442,
- ["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),
- ["Hit"] = lol.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- _G.killAura = true
- wait(0.1)
- Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- Apart.Transparency = 1
- Apart.Anchored = true
- Apart.CanCollide = false
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lol.Character.HumanoidRootPart.CFrame
- istptoplr = true
- wait(0.004)
- if game.Players.LocalPlayer.Team.TeamColor == "Bright orange" then
- wait(2)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- elseif
- game.Players.LocalPlayer.Team.TeamColor == "Bright blue" then
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end
- if istptoplr == true then
- while istptoplr do
- wait()
- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = lol.Character.HumanoidRootPart.CFrame
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- LCS.CanCollide = false
- LCS.Size = Vector3.new(51.05, 24.12, 54.76)
- LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- LCS.Transparency = 1
- wait(0.1)
- istptoplr = false
- wait(0.04)
- if istptoplr == false then
- LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LCS.Size = Vector3.new(6, 0.2, 6)
- LCS.Transparency = 0
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Apart.CFrame
- wait()
- istptoplr = false
- wait(0.1)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end
- end
- end
- end)
- spamon.Name = "spamon"
- spamon.Parent = main
- spamon.BackgroundColor3 = Color3.fromRGB(0, 255, 64)
- spamon.Position = UDim2.new(0.535864949, 0, 0.37414965, 0)
- spamon.Size = UDim2.new(0, 94, 0, 36)
- spamon.Font = Enum.Font.SourceSans
- spamon.Text = "Disable spam arrest"
- spamon.TextColor3 = Color3.fromRGB(0, 0, 0)
- spamon.TextSize = 14.000
- spamon.MouseButton1Down:connect(function()
- spamon.Visible = false
- spamoff.Visible = true
- local loll = FindPlayer(plr.Text)
- _G.Spam = false
- game:GetService("RunService").Heartbeat:Connect(function()
- if _G.Spam == true then
- if loll and loll.Character then
- while _G.Spam == true do wait()
- workspace.Remote.arrest:InvokeServer(loll.Character.Torso)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = loll.Character.HumanoidRootPart.CFrame
- end
- end
- end
- end)
- end)
- spamoff.Name = "spamoff"
- spamoff.Parent = main
- spamoff.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
- spamoff.Position = UDim2.new(0.535864949, 0, 0.37414965, 0)
- spamoff.Size = UDim2.new(0, 94, 0, 36)
- spamoff.Font = Enum.Font.SourceSans
- spamoff.Text = "enable spam arrest"
- spamoff.TextColor3 = Color3.fromRGB(0, 0, 0)
- spamoff.TextSize = 14.000
- spamoff.MouseButton1Down:connect(function()
- spamon.Visible = true
- spamoff.Visible = false
- local loll = FindPlayer(plr.Text)
- _G.Spam = true
- game:GetService("RunService").Heartbeat:Connect(function()
- if _G.Spam == true then
- if loll and loll.Character then
- while _G.Spam == true do wait()
- workspace.Remote.arrest:InvokeServer(loll.Character.Torso)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = loll.Character.HumanoidRootPart.CFrame
- end
- end
- end
- end)
- end)
- tpto.Name = "tp to"
- tpto.Parent = main
- tpto.BackgroundColor3 = Color3.fromRGB(88, 0, 1)
- tpto.Position = UDim2.new(0.0759493634, 0, 0.68707484, 0)
- tpto.Size = UDim2.new(0, 200, 0, 38)
- tpto.Font = Enum.Font.SourceSans
- tpto.Text = "Teleport to player"
- tpto.TextColor3 = Color3.fromRGB(0, 0, 0)
- tpto.TextSize = 14.000
- tpto.MouseButton1Down:connect(function()
- local target = FindPlayer(plr.Text)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
- end)
- local toggle = false -- false is Off; true is On
- function onKeyPress(actionName, userInputState, inputObject)
- if userInputState == Enum.UserInputState.Begin then
- if toggle == false then
- toggle = true
- main.Visible = true
- else
- toggle = false
- main.Visible = false
- end
- end
- end
- game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.P)
Add Comment
Please, Sign In to add comment