Facebook
From Flying Hog, 4 Years ago, written in JavaScript.
This paste is a reply to Re: MadCity Scirpt from Glenn Peacock - go back
Embed
Viewing differences between Re: MadCity Scirpt and Re: Re: MadCity Scirpt
--Made by 2sins on v3rm (Alexx#5864), massive updates. Also what's with people stealing the gui and also making videos on it w/o crediting me, cmon man

-- Instances:
local MadFucker = Instance.new("ScreenGui")
local Back = Instance.new("Frame")
local TitleBar = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local TextLabel_2 = Instance.new("TextLabel")
local TextLabel_3 = Instance.new("TextLabel")
local Close = Instance.new("TextButton")
local Credit = Instance.new("TextLabel")
local Credit_2 = Instance.new("TextLabel")
local PN = Instance.new("TextBox")
local TP = Instance.new("TextButton")
local BANK = Instance.new("TextButton")
local JS = Instance.new("TextButton")
local CS = Instance.new("TextButton")
local GS = Instance.new("TextButton")
local GA = Instance.new("TextButton")
local CAM = Instance.new("TextButton")
local SS = Instance.new("TextButton")
local GRAV = Instance.new("TextButton")
local CB = Instance.new("TextButton")
local SA = Instance.new("TextBox")
local GG = Instance.new("TextButton")
local AR = Instance.new("TextButton")
local EC = Instance.new("TextButton")
local AX = Instance.new("TextButton")
local Pris = Instance.new("TextButton")
local Police = Instance.new("TextButton")
local Hero = Instance.new("TextButton")
local TP_2 = Instance.new("TextButton")
local ARB = Instance.new("TextButton")
local RESPAWN = Instance.new("TextButton")
local MORE = Instance.new("TextButton")
local More = Instance.new("Frame")
local TitleBar_2 = Instance.new("Frame")
local MClose = Instance.new("TextButton")
local Title = Instance.new("TextLabel")
local CS_2 = Instance.new("TextButton")
local Ideas = Instance.new("TextLabel")
local Notice = Instance.new("TextLabel")
local Open = Instance.new("TextButton")
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local humanoid = player.Character.Humanoid
local Speed = SA.Text

--Properties:
MadFucker.Name = "MadFucker"
MadFucker.Parent = game.CoreGui
MadFucker.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

Back.Name = "Back"
Back.Parent = MadFucker
Back.Active = true
Back.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
Back.BorderSizePixel = 0
Back.Draggable = true
Back.Position = UDim2.new(0.349450558, 0, 0.325520813, 0)
Back.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)

TitleBar.Name = "TitleBar"
TitleBar.Parent = Back
TitleBar.BackgroundColor3 = Color3.new(0.423529, 0.423529, 0.423529)
TitleBar.BorderSizePixel = 0
TitleBar.Size = UDim2.new(1, 0, 0.100000001, 0)

TextLabel.Parent = TitleBar
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.Position = UDim2.new(0.346764326, 0, -0.0434027761, 0)
TextLabel.Size = UDim2.new(0.100000001, 0, 1, 0)
TextLabel.Font = Enum.Font.GothamSemibold
TextLabel.Text = "M"
TextLabel.TextColor3 = Color3.new(1, 0.521569, 0.529412)
TextLabel.TextScaled = true
TextLabel.TextSize = 14
TextLabel.TextWrapped = true

TextLabel_2.Parent = TitleBar
TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel_2.BackgroundTransparency = 1
TextLabel_2.Position = UDim2.new(0.419890106, 0, -0.00340277702, 0)
TextLabel_2.Size = UDim2.new(0.5, 0, 1, 0)
TextLabel_2.Font = Enum.Font.GothamSemibold
TextLabel_2.Text = "ad    ucker"
TextLabel_2.TextColor3 = Color3.new(0.737255, 0.737255, 0.737255)
TextLabel_2.TextScaled = true
TextLabel_2.TextSize = 14
TextLabel_2.TextWrapped = true
TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left

TextLabel_3.Parent = TitleBar
TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel_3.BackgroundTransparency = 1
TextLabel_3.Position = UDim2.new(0.476190448, 0, -0.0434027761, 0)
TextLabel_3.Size = UDim2.new(0.100000001, 0, 1, 0)
TextLabel_3.Font = Enum.Font.GothamSemibold
TextLabel_3.Text = "F"
TextLabel_3.TextColor3 = Color3.new(1, 0.521569, 0.529412)
TextLabel_3.TextScaled = true
TextLabel_3.TextSize = 14
TextLabel_3.TextWrapped = true

Close.Name = "Close"
Close.Parent = TitleBar
Close.BackgroundColor3 = Color3.new(1, 0.509804, 0.517647)
Close.BorderSizePixel = 0
Close.Position = UDim2.new(0.949999988, 0, 0, 0)
Close.Size = UDim2.new(0.0500000007, 0, 1, 0)
Close.Font = Enum.Font.GothamSemibold
Close.Text = "X"
Close.TextColor3 = Color3.new(1, 1, 1)
Close.TextScaled = true
Close.TextSize = 14
Close.TextWrapped = true

Credit.Name = "Credit"
Credit.Parent = TitleBar
Credit.BackgroundColor3 = Color3.new(1, 1, 1)
Credit.BackgroundTransparency = 1
Credit.Position = UDim2.new(0, 0, -0.00300000003, 0)
Credit.Size = UDim2.new(0.349999994, 0, 1, 0)
Credit.Font = Enum.Font.SourceSansItalic
Credit.Text = "Made by:  Alexx#5864"
Credit.TextColor3 = Color3.new(0.741176, 0.741176, 0.741176)
Credit.TextScaled = true
Credit.TextSize = 14
Credit.TextWrapped = true
Credit.TextXAlignment = Enum.TextXAlignment.Left

Credit_2.Name = "Credit"
Credit_2.Parent = TitleBar
Credit_2.BackgroundColor3 = Color3.new(1, 1, 1)
Credit_2.BackgroundTransparency = 1
Credit_2.Position = UDim2.new(0.699999988, 0, -0.00300000003, 0)
Credit_2.Size = UDim2.new(0.340000004, 0, 1, 0)
Credit_2.Font = Enum.Font.SourceSansItalic
Credit_2.Text = "2sins on v3rm"
Credit_2.TextColor3 = Color3.new(0.741176, 0.741176, 0.741176)
Credit_2.TextScaled = true
Credit_2.TextSize = 14
Credit_2.TextWrapped = true
Credit_2.TextXAlignment = Enum.TextXAlignment.Left

PN.Name = "PN"
PN.Parent = Back
PN.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
PN.BorderSizePixel = 0
PN.Position = UDim2.new(0.0268620253, 0, 0.138888881, 0)
PN.Size = UDim2.new(0.349999994, 0, 0.100000001, 0)
PN.Font = Enum.Font.SourceSans
PN.PlaceholderColor3 = Color3.new(0.623529, 0.623529, 0.623529)
PN.PlaceholderText = "[PLR NAME]"
PN.Text = ""
PN.TextColor3 = Color3.new(1, 1, 1)
PN.TextScaled = true
PN.TextSize = 14
PN.TextWrapped = true

TP.Name = "TP"
TP.Parent = Back
TP.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
TP.BorderSizePixel = 0
TP.Position = UDim2.new(0.0268620253, 0, 0.269097209, 0)
TP.Size = UDim2.new(0.150000006, 0, 0.100000001, 0)
TP.Font = Enum.Font.GothamSemibold
TP.Text = "Teleport"
TP.TextColor3 = Color3.new(1, 1, 1)
TP.TextSize = 14
TP.TextWrapped = true

BANK.Name = "BANK"
BANK.Parent = Back
BANK.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
BANK.BorderSizePixel = 0
BANK.Position = UDim2.new(0.732600689, 0, 0.138888881, 0)
BANK.Size = UDim2.new(0.25, 0, 0.100000001, 0)
BANK.Font = Enum.Font.GothamSemibold
BANK.Text = "Bank"
BANK.TextColor3 = Color3.new(1, 1, 1)
BANK.TextSize = 14
BANK.TextWrapped = true

JS.Name = "JS"
JS.Parent = Back
JS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
JS.BorderSizePixel = 0
JS.Position = UDim2.new(0.732600689, 0, 0.269097209, 0)
JS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
JS.Font = Enum.Font.GothamSemibold
JS.Text = "Jewelry Store"
JS.TextColor3 = Color3.new(1, 1, 1)
JS.TextSize = 14
JS.TextWrapped = true

CS.Name = "CS"
CS.Parent = Back
CS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
CS.BorderSizePixel = 0
CS.Position = UDim2.new(0.732600689, 0, 0.394965231, 0)
CS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
CS.Font = Enum.Font.GothamSemibold
CS.Text = "Casino"
CS.TextColor3 = Color3.new(1, 1, 1)
CS.TextSize = 14
CS.TextWrapped = true

GS.Name = "GS"
GS.Parent = Back
GS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
GS.BorderSizePixel = 0
GS.Position = UDim2.new(0.732600689, 0, 0.529513836, 0)
GS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
GS.Font = Enum.Font.GothamSemibold
GS.Text = "Gun Store"
GS.TextColor3 = Color3.new(1, 1, 1)
GS.TextSize = 14
GS.TextWrapped = true

GA.Name = "GA"
GA.Parent = Back
GA.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
GA.BorderSizePixel = 0
GA.Position = UDim2.new(0.732600689, 0, 0.655381918, 0)
GA.Size = UDim2.new(0.25, 0, 0.100000001, 0)
GA.Font = Enum.Font.GothamSemibold
GA.Text = "Garage"
GA.TextColor3 = Color3.new(1, 1, 1)
GA.TextSize = 14
GA.TextWrapped = true

CAM.Name = "CAM"
CAM.Parent = Back
CAM.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
CAM.BorderSizePixel = 0
CAM.Position = UDim2.new(0.73299998, 0, 0.779999971, 0)
CAM.Size = UDim2.new(0.25, 0, 0.100000001, 0)
CAM.Font = Enum.Font.GothamSemibold
CAM.Text = "Camero"
CAM.TextColor3 = Color3.new(1, 1, 1)
CAM.TextSize = 14
CAM.TextWrapped = true

SS.Name = "SS"
SS.Parent = Back
SS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
SS.BorderSizePixel = 0
SS.Position = UDim2.new(0.0763888508, 0, 0.527777791, 0)
SS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
SS.Font = Enum.Font.GothamSemibold
SS.Text = "Set Speed"
SS.TextColor3 = Color3.new(1, 1, 1)
SS.TextSize = 14
SS.TextWrapped = true

GRAV.Name = "GRAV"
GRAV.Parent = Back
GRAV.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
GRAV.BorderSizePixel = 0
GRAV.Position = UDim2.new(0.434027731, 0, 0.136381164, 0)
GRAV.Size = UDim2.new(0.25, 0, 0.100000001, 0)
GRAV.Font = Enum.Font.GothamSemibold
GRAV.Text = "Gravity [OFF]"
GRAV.TextColor3 = Color3.new(1, 1, 1)
GRAV.TextSize = 14
GRAV.TextWrapped = true

CB.Name = "CB"
CB.Parent = Back
CB.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
CB.BorderSizePixel = 0
CB.Position = UDim2.new(0.732600689, 0, 0.89843744, 0)
CB.Size = UDim2.new(0.25, 0, 0.100000001, 0)
CB.Font = Enum.Font.GothamSemibold
CB.Text = "Criminal Base"
CB.TextColor3 = Color3.new(1, 1, 1)
CB.TextSize = 14
CB.TextWrapped = true

SA.Name = "SA"
SA.Parent = Back
SA.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
SA.BorderSizePixel = 0
SA.Position = UDim2.new(0.0268620253, 0, 0.391975284, 0)
SA.Size = UDim2.new(0.349999994, 0, 0.100000001, 0)
SA.Font = Enum.Font.SourceSans
SA.PlaceholderColor3 = Color3.new(0.623529, 0.623529, 0.623529)
SA.PlaceholderText = "[ENTER SPEED]"
SA.Text = ""
SA.TextColor3 = Color3.new(1, 1, 1)
SA.TextScaled = true
SA.TextSize = 14
SA.TextWrapped = true

GG.Name = "GG"
GG.Parent = Back
GG.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
GG.BorderSizePixel = 0
GG.Position = UDim2.new(0.434027731, 0, 0.269097209, 0)
GG.Size = UDim2.new(0.25, 0, 0.100000001, 0)
GG.Font = Enum.Font.GothamSemibold
GG.Text = "Give Guns"
GG.TextColor3 = Color3.new(1, 1, 1)
GG.TextSize = 14
GG.TextWrapped = true

AR.Name = "AR"
AR.Parent = Back
AR.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
AR.BorderSizePixel = 0
AR.Position = UDim2.new(0.434027731, 0, 0.392553985, 0)
AR.Size = UDim2.new(0.25, 0, 0.100000001, 0)
AR.Font = Enum.Font.GothamSemibold
AR.Text = "Auto Arrest [BETA]"
AR.TextColor3 = Color3.new(1, 1, 1)
AR.TextSize = 14
AR.TextWrapped = true

EC.Name = "EC"
EC.Parent = Back
EC.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
EC.BorderSizePixel = 0
EC.Position = UDim2.new(0.434027731, 0, 0.525270045, 0)
EC.Size = UDim2.new(0.25, 0, 0.100000001, 0)
EC.Font = Enum.Font.GothamSemibold
EC.Text = "EZ Cash"
EC.TextColor3 = Color3.new(1, 1, 1)
EC.TextSize = 14
EC.TextWrapped = true

AX.Name = "AX"
AX.Parent = Back
AX.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
AX.BorderSizePixel = 0
AX.Position = UDim2.new(0.434027731, 0, 0.654899657, 0)
AX.Size = UDim2.new(0.25, 0, 0.100000001, 0)
AX.Font = Enum.Font.GothamSemibold
AX.Text = "Auto XP"
AX.TextColor3 = Color3.new(1, 1, 1)
AX.TextSize = 14
AX.TextWrapped = true

Pris.Name = "Pris"
Pris.Parent = Back
Pris.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
Pris.BorderSizePixel = 0
Pris.Position = UDim2.new(0.0763888508, 0, 0.654321015, 0)
Pris.Size = UDim2.new(0.25, 0, 0.100000001, 0)
Pris.Font = Enum.Font.GothamSemibold
Pris.Text = "Change to Prisoner"
Pris.TextColor3 = Color3.new(1, 1, 1)
Pris.TextSize = 14
Pris.TextWrapped = true

Police.Name = "Police"
Police.Parent = Back
Police.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
Police.BorderSizePixel = 0
Police.Position = UDim2.new(0.0763888508, 0, 0.777777791, 0)
Police.Size = UDim2.new(0.25, 0, 0.100000001, 0)
Police.Font = Enum.Font.GothamSemibold
Police.Text = "Change to Police"
Police.TextColor3 = Color3.new(1, 1, 1)
Police.TextSize = 14
Police.TextWrapped = true

Hero.Name = "Hero"
Hero.Parent = Back
Hero.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
Hero.BorderSizePixel = 0
Hero.Position = UDim2.new(0.0763888508, 0, 0.898148179, 0)
Hero.Size = UDim2.new(0.25, 0, 0.100000001, 0)
Hero.Font = Enum.Font.GothamSemibold
Hero.Text = "Change to Hero"
Hero.TextColor3 = Color3.new(1, 1, 1)
Hero.TextSize = 14
Hero.TextWrapped = true

TP_2.Name = "TP"
TP_2.Parent = Back
TP_2.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
TP_2.BorderSizePixel = 0
TP_2.Position = UDim2.new(0.226514816, 0, 0.269097209, 0)
TP_2.Size = UDim2.new(0.150000006, 0, 0.100000001, 0)
TP_2.Font = Enum.Font.GothamSemibold
TP_2.Text = "PM Spam"
TP_2.TextColor3 = Color3.new(1, 1, 1)
TP_2.TextSize = 14
TP_2.TextWrapped = true

ARB.Name = "ARB"
ARB.Parent = Back
ARB.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
ARB.BorderSizePixel = 0
ARB.Position = UDim2.new(0.432291627, 0, 0.778356433, 0)
ARB.Size = UDim2.new(0.25, 0, 0.100000001, 0)
ARB.Font = Enum.Font.GothamSemibold
ARB.Text = "Auto Rob Bank"
ARB.TextColor3 = Color3.new(1, 1, 1)
ARB.TextSize = 14
ARB.TextWrapped = true

RESPAWN.Name = "RESPAWN"
RESPAWN.Parent = Back
RESPAWN.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
RESPAWN.BorderSizePixel = 0
RESPAWN.Position = UDim2.new(0.434027731, 0, 0.898726821, 0)
RESPAWN.Size = UDim2.new(0.25, 0, 0.100000001, 0)
RESPAWN.Font = Enum.Font.GothamSemibold
RESPAWN.Text = "Commit die"
RESPAWN.TextColor3 = Color3.new(1, 1, 1)
RESPAWN.TextSize = 14
RESPAWN.TextWrapped = true

MORE.Name = "MORE"
MORE.Parent = Back
MORE.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
MORE.BorderSizePixel = 0
MORE.Position = UDim2.new(0.99999994, 0, 0.330825597, 0)
MORE.Size = UDim2.new(0.0299999993, 0, 0.5, 0)
MORE.Font = Enum.Font.GothamSemibold
MORE.Text = ">"
MORE.TextColor3 = Color3.new(1, 1, 1)
MORE.TextSize = 14
MORE.TextWrapped = true

More.Name = "More"
More.Parent = Back
More.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
More.BorderSizePixel = 0
More.Position = UDim2.new(1.08159721, 0, 0.179012343, 0)
More.Size = UDim2.new(0.200000003, 0, 0.800000012, 0)
More.Visible = false

TitleBar_2.Name = "TitleBar"
TitleBar_2.Parent = More
TitleBar_2.BackgroundColor3 = Color3.new(0.423529, 0.423529, 0.423529)
TitleBar_2.BorderSizePixel = 0
TitleBar_2.Size = UDim2.new(1, 0, 0.100000001, 0)

MClose.Name = "MClose"
MClose.Parent = TitleBar_2
MClose.BackgroundColor3 = Color3.new(1, 0.509804, 0.517647)
MClose.BorderSizePixel = 0
MClose.Position = UDim2.new(0.793749988, 0, 0, 0)
MClose.Size = UDim2.new(0.200000003, 0, 1, 0)
MClose.Font = Enum.Font.GothamSemibold
MClose.Text = "X"
MClose.TextColor3 = Color3.new(1, 1, 1)
MClose.TextScaled = true
MClose.TextSize = 14
MClose.TextWrapped = true

Title.Name = "Title"
Title.Parent = TitleBar_2
Title.BackgroundColor3 = Color3.new(1, 1, 1)
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(0.800000012, 0, 1, 0)
Title.Font = Enum.Font.SourceSans
Title.Text = "More Shit"
Title.TextColor3 = Color3.new(0.737255, 0.737255, 0.737255)
Title.TextScaled = true
Title.TextSize = 14
Title.TextWrapped = true

CS_2.Name = "CS"
CS_2.Parent = More
CS_2.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
CS_2.BorderSizePixel = 0
CS_2.Position = UDim2.new(0.0989201665, 0, 0.13647759, 0)
CS_2.Size = UDim2.new(0.800000012, 0, 0.100000001, 0)
CS_2.Font = Enum.Font.GothamSemibold
CS_2.Text = "Remove Lazers"
CS_2.TextColor3 = Color3.new(1, 1, 1)
CS_2.TextScaled = true
CS_2.TextSize = 14
CS_2.TextWrapped = true

Ideas.Name = "Ideas"
Ideas.Parent = More
Ideas.BackgroundColor3 = Color3.new(1, 1, 1)
Ideas.BackgroundTransparency = 1
Ideas.Position = UDim2.new(0, 0, 0.30092591, 0)
Ideas.Size = UDim2.new(1, 0, 0.400000006, 0)
Ideas.Font = Enum.Font.GothamSemibold
Ideas.Text = "Give me ideas on Discord for more (Alexx#5864)"
Ideas.TextColor3 = Color3.new(1, 1, 1)
Ideas.TextScaled = true
Ideas.TextSize = 14
Ideas.TextWrapped = true

Notice.Name = "Notice"
Notice.Parent = Back
Notice.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
Notice.BorderSizePixel = 0
Notice.Position = UDim2.new(0, 0, 1, 0)
Notice.Size = UDim2.new(1, 0, 0.100000001, 0)
Notice.Font = Enum.Font.GothamSemibold
Notice.Text = "I forgot to add my name in V1 and the amount of leeches and people who didn't credit, smh"
Notice.TextColor3 = Color3.new(1, 1, 1)
Notice.TextScaled = true
Notice.TextSize = 14
Notice.TextWrapped = true

Open.Name = "Open"
Open.Parent = MadFucker
Open.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745)
Open.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
Open.BorderSizePixel = 3
Open.Position = UDim2.new(0.398999989, 0, 0.95989579, 0)
Open.Size = UDim2.new(0.200000003, 0, 0.0399999991, 0)
Open.Visible = false
Open.Font = Enum.Font.GothamSemibold
Open.Text = "Open"
Open.TextColor3 = Color3.new(1, 1, 1)
Open.TextScaled = true
Open.TextSize = 14
Open.TextWrapped = true
-- Scripts:




--Open shit
O = true

Close.MouseButton1Down:Connect(function()
        O = false
        Open.Visible = true
        Back.Visible = false
end)

Open.MouseButton1Down:Connect(function()
        O = true
        Open.Visible = false
        Back.Visible = true
end)

--TP shit

TP.MouseButton1Down:Connect(function()
        local target = game.Players:FindFirstChild(PN.Text)
        local yes = target.Character.HumanoidRootPart.CFrame
        
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = yes
        print("You just tp'd to "..PN.Text.." yesyes")
end)

BANK.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(690.11553955078,24.889343261719,446.09664916992)
end)

JS.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-203.3496960449,24.578149795532,731.06182861328)
end)

CS.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1779.7911376953,24.738931655884,685.00677490234)
end)

GS.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1619.1705322266,41.934741973877,684.16217041016)
end)

GA.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(231.40872192383,24.549949645996,-493.32705688477)
end)

CAM.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-882.36700439453,53.278591156006,-2648.3139648438)
end)

CB.MouseButton1Down:Connect(function()
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2116.2019042969,25.10528755188,348.36651611328)
end)

--Other shit
gr = true

GRAV.MouseButton1Down:Connect(function()
        if gr == true then
                gr = false
                game.workspace.Gravity = 195
                GRAV.Text = "Gravity [OFF]"
        else
                gr = true
                game.workspace.Gravity = 45
                GRAV.Text = "Gravity [ON]"
        end
end)

SS.MouseButton1Down:Connect(function()
        local humanoid = player.Character.Humanoid
        local Speed = SA.Text
        while wait() do
                humanoid.WalkSpeed = Speed
        end
end)

GG.MouseButton1Down:Connect(function()
        local Remote = game.Workspace.ObjectSelection.Shotgun.Shotgun.Shotgun['Event']
        local Arguments = {
        }
        Remote:FireServer(unpack(Arguments))
        local Remote = game.Workspace.ObjectSelection.MP5.MP5.MP5['Event']
        local Arguments = {
        }
        Remote:FireServer(unpack(Arguments))
        local Remote = game.Workspace.ObjectSelection.Baton.Baton.Baton['Event']
        local Arguments = {
        }
        Remote:FireServer(unpack(Arguments))
end)

EC.MouseButton1Down:Connect(function()
        local w = game:GetService("Workspace")
        local ObjectSelection = w:WaitForChild("ObjectSelection")
        for _,v in pairs (ObjectSelection:GetChildren()) do 
                if v.Name == "CashRegister" then 
                        if v:FindFirstChild("SmashCash") then 
                                local Event = v.SmashCash.SmashCash.Event
                                Event:FireServer()
                        end
                end
        if v.Name == "ATM" then 
                if v:FindFirstChild("ATM") then
                        local Event = v.ATM.ATM.Event
                        Event:FireServer()
                end
        end
        if v.Name == "Cash" then 
                if v:FindFirstChild("Cash") then 
                        local Event = v.Cash.Cash.Event
                        Event:FireServer()
                end
        end
        if v.Name == "DiamondBox" then 
                if v:FindFirstChild("SmashCash") then 
                        local Event = v.SmashCash.SmashCash.Event
                        Event:FireServer()
                end
        end
        if v.Name == "Safe" then 
                if v:FindFirstChild("SmashCash") then 
                        local Event = v.SmashCash.SmashCash.Event
                        Event:FireServer()
                end
        end
        if v.Name == "SlotMachine" then 
                if v:FindFirstChild("SlotMachine") then 
                        local Event = v.SlotMachine.SlotMachine.Event
                        Event:FireServer()
                end
        end
        end
end)

AR.MouseButton1Down:Connect(function()
        while wait() do
                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)
                for i,v in pairs(game.Players:GetChildren()) do
                        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
                        wait(0.25)
                        game.ReplicatedStorage.Event:FireServer("Arrest", v)
                        wait()
                        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 0,0)
                end
                        wait(0.25)
                        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, -1000,0)
                        game.Players.LocalPlayer.Character:BreakJoints()
                        wait(20)
        end
end)

TP_2.MouseButton1Down:Connect(function()
        local target = game.Players:FindFirstChild(PN.Text)
        while wait() do
                game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..target.Name.." ".."@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", "All") --lol why did I add this
        end
end)

Pris.MouseButton1Down:Connect(function()
        game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Prisoners")
end)

Police.MouseButton1Down:Connect(function()
        game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Police")
end)

Hero.MouseButton1Down:Connect(function()
        game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Hero")
end)

Autoxp = false

AX.MouseButton1Down:Connect(function()
        if Autoxp == false then
                Autoxp = true
        else
                if Autoxp == true then
                        Autoxp = false
                end
        end
XP()
end)

function XP()
        while Autoxp == true do
                game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Hero")
                game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Police")
                game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Prisoners")
                wait(1)
                player.Character.HumanoidRootPart.CFrame = CFrame.new(2116.2019042969,25.10528755188,348.36651611328)
                wait(1)
                player.Character.HumanoidRootPart.CFrame = CFrame.new(2116.2019042969,25.10528755188,348.36651611328)
                wait(7)
        end
end

RESPAWN.MouseButton1Down:Connect(function()
        player.Character.Humanoid.Health = 0
end)

CS_2.MouseButton1Down:Connect(function()
        for i, v in pairs(workspace:GetDescendants()) do
            if v.Name == "Lasers" then
                v:Destroy()
                    end
        end
end)

ARB.MouseButton1Down:Connect(function()
        print("Only works if bank is open")
        for i, v in pairs(workspace:GetDescendants()) do
            if v.Name == "Lasers" then
                v:Destroy()
                    end
        end
        local w = game:GetService("Workspace")
        local ObjectSelection = w:WaitForChild("ObjectSelection")
        for _,v in pairs (ObjectSelection:GetChildren()) do 
                if v.Name == "HackComputer" then 
                        if v:FindFirstChild("HackComputer") then 
                                local Event = v.HackComputer.HackComputer.Event
                                Event:FireServer()
                        end
                end
        end
        print("Hacked")
        player.Character.HumanoidRootPart.CFrame = CFrame.new(736.92687988281,0.094430387020111,497.45889282227)
        wait(2)
        player.Character.HumanoidRootPart.CFrame = CFrame.new(734.74481201172, -0.10518385469913, 516.45111083984)
        wait(10)
        player.Character.HumanoidRootPart.CFrame = CFrame.new(770.81366, 0.093537762761116, 489.25299072266)
        wait(10)
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2116.2019042969,25.10528755188,348.36651611328)
        wait(1)
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2116.2019042969,25.10528755188,348.36651611328)
end)

mores = false

MORE.MouseButton1Down:Connect(function()
        if mores == false then
                mores = true
                More.Visible = true
                MORE.Text = "<"
        else
                if mores == true then
                        mores = false
                        More.Visible = false
                        MORE.Text = ">"
                end
        end
end)

MClose.MouseButton1Down:Connect(function()
        More.Visible = false
end)