Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Credits To: Script Founder]]
- --[[ Made By: ScRipt HunTer - Anwarun]]
- -- Objects
- local MC = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Tod1 = Instance.new("Frame")
- local Tod2 = Instance.new("Frame")
- local Pn = Instance.new("TextBox")
- local A1 = Instance.new("TextButton")
- local A2 = Instance.new("TextButton")
- local A3 = Instance.new("TextButton")
- local A4 = Instance.new("TextButton")
- local A5 = Instance.new("TextButton")
- local A6 = Instance.new("TextButton")
- local Cre = Instance.new("TextLabel")
- local Cr = Instance.new("TextLabel")
- local X = Instance.new("TextButton")
- local Lol = Instance.new("ImageLabel")
- -- Properties
- MC.Name = "MC"
- MC.Parent = game.CoreGui
- MC.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = MC
- Frame.Active = true
- Frame.Draggable = true
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.219697177, 0, 0.273603082, 0)
- Frame.Size = UDim2.new(0, 391, 0, 234)
- Frame.Style = Enum.FrameStyle.RobloxRound
- Title.Name = "Title"
- Title.Parent = Frame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0.444994897, 0, 0.014554793, 0)
- Title.Size = UDim2.new(0, 40, 0, 14)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "Mad City Gui"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextSize = 23
- Tod1.Name = "Tod1"
- Tod1.Parent = Frame
- Tod1.BackgroundColor3 = Color3.new(1, 1, 1)
- Tod1.Position = UDim2.new(0.0702240765, 0, 0.111030839, 0)
- Tod1.Size = UDim2.new(0, 325, 0, 6)
- Tod2.Name = "Tod2"
- Tod2.Parent = Frame
- Tod2.BackgroundColor3 = Color3.new(1, 1, 1)
- Tod2.Position = UDim2.new(0.0676665306, 0, 0.970005155, 0)
- Tod2.Size = UDim2.new(0, 325, 0, 6)
- Pn.Name = "Pn"
- Pn.Parent = Frame
- Pn.BackgroundColor3 = Color3.new(0, 0, 0)
- Pn.BorderColor3 = Color3.new(1, 1, 1)
- Pn.BorderSizePixel = 3
- Pn.Position = UDim2.new(0.165255502, 0, 0.18446748, 0)
- Pn.Size = UDim2.new(0, 248, 0, 29)
- Pn.Font = Enum.Font.SciFi
- Pn.PlaceholderColor3 = Color3.new(1, 1, 1)
- Pn.Text = "Players Name"
- Pn.TextColor3 = Color3.new(1, 1, 1)
- Pn.TextScaled = true
- Pn.TextSize = 23
- Pn.TextWrapped = true
- A1.Name = "A1"
- A1.Parent = Frame
- A1.BackgroundColor3 = Color3.new(0, 0, 0)
- A1.BorderColor3 = Color3.new(1, 1, 1)
- A1.BorderSizePixel = 3
- A1.Position = UDim2.new(0.0468849167, 0, 0.371316761, 0)
- A1.Size = UDim2.new(0, 157, 0, 29)
- A1.Font = Enum.Font.GothamBold
- A1.Text = "Arrest Players"
- A1.TextColor3 = Color3.new(1, 1, 1)
- A1.TextSize = 20
- A1.TextWrapped = true
- A2.Name = "A2"
- A2.Parent = Frame
- A2.BackgroundColor3 = Color3.new(0, 0, 0)
- A2.BorderColor3 = Color3.new(1, 1, 1)
- A2.BorderSizePixel = 3
- A2.Position = UDim2.new(0.55583632, 0, 0.371316761, 0)
- A2.Size = UDim2.new(0, 157, 0, 29)
- A2.Font = Enum.Font.GothamBold
- A2.Text = "Auto Arrest"
- A2.TextColor3 = Color3.new(1, 1, 1)
- A2.TextSize = 20
- A2.TextWrapped = true
- A3.Name = "A3"
- A3.Parent = Frame
- A3.BackgroundColor3 = Color3.new(0, 0, 0)
- A3.BorderColor3 = Color3.new(1, 1, 1)
- A3.BorderSizePixel = 3
- A3.Position = UDim2.new(0.0699028149, 0, 0.559350967, 0)
- A3.Size = UDim2.new(0, 157, 0, 29)
- A3.Font = Enum.Font.GothamBold
- A3.Text = "WalkSpeed"
- A3.TextColor3 = Color3.new(1, 1, 1)
- A3.TextSize = 20
- A3.TextWrapped = true
- A4.Name = "A4"
- A4.Parent = Frame
- A4.BackgroundColor3 = Color3.new(0, 0, 0)
- A4.BorderColor3 = Color3.new(1, 1, 1)
- A4.BorderSizePixel = 3
- A4.Position = UDim2.new(0.535375953, 0, 0.559350967, 0)
- A4.Size = UDim2.new(0, 157, 0, 29)
- A4.Font = Enum.Font.GothamBold
- A4.Text = "Farm Cash"
- A4.TextColor3 = Color3.new(1, 1, 1)
- A4.TextSize = 20
- A4.TextWrapped = true
- A5.Name = "A5"
- A5.Parent = Frame
- A5.BackgroundColor3 = Color3.new(0, 0, 0)
- A5.BorderColor3 = Color3.new(1, 1, 1)
- A5.BorderSizePixel = 3
- A5.Position = UDim2.new(0.553278804, 0, 0.747385144, 0)
- A5.Size = UDim2.new(0, 157, 0, 29)
- A5.Font = Enum.Font.GothamBold
- A5.Text = "Tp To Criminal"
- A5.TextColor3 = Color3.new(1, 1, 1)
- A5.TextSize = 20
- A5.TextWrapped = true
- A6.Name = "A6"
- A6.Parent = Frame
- A6.BackgroundColor3 = Color3.new(0, 0, 0)
- A6.BorderColor3 = Color3.new(1, 1, 1)
- A6.BorderSizePixel = 3
- A6.Position = UDim2.new(0.0468849204, 0, 0.747385144, 0)
- A6.Size = UDim2.new(0, 157, 0, 29)
- A6.Font = Enum.Font.GothamBold
- A6.Text = "Tp To Jewelry"
- A6.TextColor3 = Color3.new(1, 1, 1)
- A6.TextSize = 20
- A6.TextWrapped = true
- Cre.Name = "Cre"
- Cre.Parent = Frame
- Cre.BackgroundColor3 = Color3.new(1, 1, 1)
- Cre.BackgroundTransparency = 1
- Cre.Position = UDim2.new(0.231911421, 0, 1.07771349, 0)
- Cre.Size = UDim2.new(0, 200, 0, 10)
- Cre.Font = Enum.Font.GothamBold
- Cre.Text = "Gui Made By: ScRipt HunTer"
- Cre.TextColor3 = Color3.new(1, 1, 1)
- Cre.TextSize = 23
- Cr.Name = "Cr"
- Cr.Parent = Frame
- Cr.BackgroundColor3 = Color3.new(1, 1, 1)
- Cr.BackgroundTransparency = 1
- Cr.Position = UDim2.new(0.226796329, 0, -0.131688237, 0)
- Cr.Size = UDim2.new(0, 200, 0, 10)
- Cr.Font = Enum.Font.GothamBold
- Cr.Text = "Credits: Charwar, Script Maker"
- Cr.TextColor3 = Color3.new(1, 1, 1)
- Cr.TextSize = 23
- X.Name = "X"
- X.Parent = Frame
- X.BackgroundColor3 = Color3.new(0, 0, 0)
- X.BorderColor3 = Color3.new(1, 1, 1)
- X.BorderSizePixel = 3
- X.Position = UDim2.new(0.915839672, 0, -0.0481844544, 0)
- X.Size = UDim2.new(0, 42, 0, 32)
- X.Style = Enum.ButtonStyle.RobloxButtonDefault
- X.Font = Enum.Font.GothamBold
- X.Text = "X"
- X.TextColor3 = Color3.new(1, 1, 1)
- X.TextSize = 20
- X.TextWrapped = true
- Lol.Name = "Lol"
- Lol.Parent = MC
- Lol.BackgroundColor3 = Color3.new(1, 1, 1)
- Lol.Position = UDim2.new(0.0091772303, 0, 0.71676302, 0)
- Lol.Size = UDim2.new(0, 46, 0, 35)
- Lol.Image = "rbxassetid://2763498725"
- --Script
- -- Sc Made By Charwar
- A1.MouseButton1Click:connect(function()
- if kontol == true then
- kontol = false
- A1.BackgroundColor3 = Color3.new(0, 0, 0)
- else
- kontol = true
- A1.BackgroundColor3 = Color3.new(85, 255, 0)
- end
- Arrest()
- end)
- A2.MouseButton1Click:Connect(function()
- if memek == true then
- kontol = false
- A2.BackgroundColor3 = Color3.new(0, 0, 0)
- else
- memek = true
- A2.BackgroundColor3 = Color3.new(85, 255, 0)
- end
- AutoArrest()
- end)
- Lari = false
- A3.MouseButton1Click:connect(function()
- if Lari == true then
- Lari = false
- A3.BackgroundColor3 = Color3.new(0, 0, 0)
- else
- Lari = true
- A3.BackgroundColor3 = Color3.new(85, 255, 0)
- if Lari == true then
- repeat wait()
- local hum = game:GetService('Players').LocalPlayer.Character.Humanoid
- local speed = 150 -- Speed You Want
- hum.WalkSpeed = speed
- until Lari == false
- end
- end
- end)
- farm = false
- A4.MouseButton1Click:connect(function()
- if farm == true then
- farm = false
- A4.BackgroundColor3 = Color3.new(0, 0, 0)
- else
- farm = true
- A4.BackgroundColor3 = Color3.new(85, 255, 0)
- if farm == true then
- repeat wait()
- for _,v in pairs (workspace.ObjectSelection:GetChildren()) do
- if v.Name == "CashRegister" then
- if v:FindFirstChild("SmashCash") then
- v.SmashCash.SmashCash.Event:FireServer()
- end
- else if v.Name == "ATM" or v.Name == "Cash" or v.Name == "SlotMachine" then
- if v:FindFirstChild("ATM") then
- v.ATM.ATM.Event:FireServer()
- end
- end
- end
- end
- until farm == false
- end
- end
- end)
- A5.MouseButton1Click:connect(function()
- game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2139, 25, 375)
- end)
- A6.MouseButton1Click:connect(function()
- game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-205, 25, 728)
- end)
- X.MouseButton1Click:Connect(function()
- MC:Destroy()
- end)
- --Fungsi
- kontol = false
- memek = false
- function Arrest()
- local Victim = Pn.Text
- if game.Players.LocalPlayer.Team == game.Teams.Police then
- if game.Players[Victim].Team == game.Teams.Criminals then
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs") then
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.Handcuffs)
- game.ReplicatedStorage.Event:FireServer("Equip", game.Players.LocalPlayer.Character, game.Players.LocalPlayer.Character.Handcuffs.Handle)
- end
- while kontol == true do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Victim].Character.HumanoidRootPart.CFrame
- wait(0.25)
- for i=1,100 do
- game.ReplicatedStorage.Event:FireServer("Arrest", game.Players[Victim])
- if game.Players[Victim].Team == game.Teams.Prisoners then
- kontol = false
- end
- end
- end
- else
- game.StarterGui:SetCore("SendNotification", {Title="Script", Text="Your Victim needs to be a Criminal!"})
- end
- else
- game.StarterGui:SetCore("SendNotification", {Title="Script", Text="You need to be a police!"})
- end
- end
- function AutoArrest()
- while memek == true do
- wait(0.35)
- for i,v in pairs(game.Players:GetPlayers()) do
- wait()
- if v.Team.Name == "Criminals" then
- local Victim = v.Name
- if game.Players.LocalPlayer.Team == game.Teams.Police then
- if game.Players[Victim].Team == game.Teams.Criminals then
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs") then
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.Handcuffs)
- game.ReplicatedStorage.Event:FireServer("Equip", game.Players.LocalPlayer.Character, game.Players.LocalPlayer.Character.Handcuffs.Handle)
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Victim].Character.HumanoidRootPart.CFrame
- wait(0.25)
- for i=1,100 do
- game.ReplicatedStorage.Event:FireServer("Arrest", game.Players[Victim])
- end
- else
- game.StarterGui:SetCore("SendNotification", {Title="Script", Text="Your Victim needs to be a Criminal!"})
- end
- else
- game.StarterGui:SetCore("SendNotification", {Title="Script", Text="You need to be a police!"})
- end
- end
- end
- end
- end
- if Cre.Text == not Cre.Text then
- MC.Parent = game.StarterGui
- end
Add Comment
Please, Sign In to add comment