function Fly(Enable,SpeedNew)
		if Enable then
			if Temp.FlyConnection then
				return
			end
			Temp.FlyConnection= RunService.Heartbeat:Connect(function()
				if true then
					plr.Character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(plr.Character:WaitForChild("HumanoidRootPart").Position, plr.Character:WaitForChild("HumanoidRootPart").Position + Vector3.new(Mouse.Hit.lookVector.x, Mouse.Hit.lookVector.Y, Mouse.Hit.lookVector.z))
				end
			end)

			local Speed = tonumber(SpeedNew)/2 or .1
			local Y = 1
			local State = 8
			local StartingPosition = plr.Character.PrimaryPart.CFrame

			local Keys = {
				w = false,
				a = false,
				s = false,
				d = false,
			}
			local function MoveBy(a)
				if not Temp.FlyConnection then
					return
				end
				plr.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame *a
			end
			Mouse.KeyUp:Connect(function(Key)
				if Key and Keys[Key:lower()] ~= nil and Temp.FlyConnection then
					Keys[Key:lower()] = false
				end
			end)
			Mouse.KeyDown:Connect(function(Key)
				if Key and Keys[Key:lower()] ~= nil and Temp.FlyConnection then
					Keys[Key:lower()] = true
				end
			end)

			plr.Character.HumanoidRootPart.Changed:Connect(function()
				if true and Temp.FlyConnection then
					plr.Character.HumanoidRootPart.Velocity = Vector3.new(0,Y,0)
				end
			end)
			RunService.RenderStepped:Connect(function()
				if true and Temp.FlyConnection then
					plr.Character.HumanoidRootPart.Velocity = Vector3.new(0,Y,0)
					if Keys.w then
						MoveBy(CFrame.new(0,0,-Speed))
					end
					if Keys.a then
						MoveBy(CFrame.new(-Speed,0,0))
					end
					if Keys.s then
						MoveBy(CFrame.new(0,0,Speed))
					end
					if Keys.d then
						MoveBy(CFrame.new(Speed,0,0))
					end
				end
			end)
			task.spawn(function()
				repeat wait(.4)
					if unloaded then
						break
					end
					pcall(function()
						plr.Character:FindFirstChildOfClass("Humanoid").StateChanged:Connect(function()
							if not Temp.FlyConnection then
								return
							end
							plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(State)
						end)
						plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(State)
					end)
				until not Temp.FlyConnection
			end)
			local function rwait(a)
				if true then
					wait(a)
				end
			end
			local function rwait2()
				if true then
					task.wait()
				end
			end
			task.spawn(function()
				repeat wait(1)
					if unloaded then
						break
					end
					if true and Temp.FlyConnection then
						pcall(function()
							State = 7--//Landed
							rwait(.1)
							State=8--//Running
							rwait(1)
							State = 3--//Jumping
							rwait2()
							State = 5--//Falling
						end)
					end
				until not Temp.FlyConnection

			end)
			local function onInputBegan(input, _gameProcessed)
				if input.KeyCode == Enum.KeyCode.Space then
					Y = 20
				end
				if input.KeyCode == Enum.KeyCode.LeftShift then
					Y = -20
				end
			end
			local function onInputEnded(input, _gameProcessed)

				if input.KeyCode == Enum.KeyCode.Space then
					Y = 1
				end
				if input.KeyCode == Enum.KeyCode.LeftShift then
					Y = 1
				end
			end
			UserInputService.InputBegan:Connect(onInputBegan)

			UserInputService.InputEnded:Connect(onInputEnded)

		else
			pcall(function()
				Temp.FlyConnection:Disconnect()
				Temp.FlyConnection=nil
			end)
			pcall(function()
				wait(.1)
				plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(18)
				wait(.04)
				char:FindFirstChildOfClass("Humanoid"):ChangeState(8)
			end)
		end

end
function All_Guns()
		local saved = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
		if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 96651) then
			GetGun("M4A1",true)
		end
		GetGun("AK-47",true)
		task.spawn(function()
			GetGun("Remington 870",true)
		end)
		GetGun("M9",true)
		game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(saved)
	end
	function GetTeam()
		return plr.TeamColor.Name
	end
	function GenerateShootTable(Hit)
		local Generated = {}
		for i=1,15 do
			Generated[#Generated+1]={
				["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), 
				["Distance"] =0, 
				["Cframe"] = CFrame.new(), 
				["Hit"] = Hit
			}
		end
		return Generated
end
function Valid_Team(Team)
		if Team and typeof(Team):lower()=="string" then
			local Valid = {
				"Bright orange",
				"Bright blue",
			}
			if table.find(Valid,Team) then
				return true
			elseif Team == "Really red" then
				return 1
			end
			return nil
		end
	end
	function Last_Team(Lastteam)
		task.spawn(function()
			local a,b,c= nil,getpos(),workspace.CurrentCamera.CFrame
			a =plr.CharacterAdded:Connect(function(Char)
				task.spawn(function()
					workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
					for i =1,5 do
						workspace.CurrentCamera.CFrame = c
					end
				end)
				Char:WaitForChild("HumanoidRootPart")
				MoveTo(b)
				a:Disconnect()
			end)
			local Team = Valid_Team(Lastteam)
			if Team and Team~=1 then
				local pos = getpos()
				workspace.Remote.TeamEvent:FireServer(Lastteam)
			elseif Team and Team == 1 then
				workspace.Remote.TeamEvent:FireServer("Bright orange")
				local crimpad = workspace["Criminals Spawn"].SpawnLocation
				crimpad.CanCollide = false
				crimpad.Transparency = 1
				repeat task.wait()crimpad.CFrame = getpos() until plr.Team == game.Teams.Criminals
				MoveToJunk(crimpad)
			end
		end)
	end
	function GetPlayersPart(player)
		if player and player.Character then
			return player.Character:FindFirstChild("Head") or player.Character:FindFirstChildOfClass("Part") or player.Character:FindFirstChildOfClass("MeshPart")
		end
	end
	function CreateKillPart()
		if Parts[1] then
			pcall(function()
				Parts[1]:Destroy()
			end)
			Parts[1] = nil
		end
		local Part = Instance.new("Part",plr.Character)
		local hilight = Instance.new("Highlight",Part)
		hilight.FillTransparency = 1

		Part.Anchored = true
		Part.CanCollide = false
		Part.CanTouch = false
		Part.Material = Enum.Material.SmoothPlastic
		Part.Transparency = .98
		Part.Material = Enum.Material.SmoothPlastic
		Part.BrickColor = BrickColor.White()
		Part.Size = Vector3.new(20,2,20)
		Part.Name = "KillAura"
		Parts[1] = Part
	end
	function MKILL(target,STOP,P)
		if target == plr or target == plr.Name then
			return
		end
		if typeof(target):lower() == "string" and game:GetService("Players"):FindFirstChild(target) then
			target = game:GetService("Players"):FindFirstChild(target)
		end
		if not STOP then STOP =1 end
		if not target or not target.Character or not target.Character:FindFirstChild("Humanoid") or target.Character:FindFirstChildOfClass("ForceField") or target.Character:FindFirstChild("Humanoid").Health<1 or not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid") or not plr.Character:FindFirstChild("HumanoidRootPart")  then
			return
		end
		unsit()
		local saved = getpos()
		if not P then P = saved else saved = P end
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character:FindFirstChild("Head").CFrame
		wait(.2)
		for i =1,10 do
			task.spawn(function()
				game.ReplicatedStorage["meleeEvent"]:FireServer(target)
			end)
		end
		wait(.1)
		if target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character:FindFirstChild("Humanoid").Health >1 and STOP ~=3 then
			MKILL(target,STOP+1,P)
			return
		end
		MoveTo(saved)
end
function Kill_All(TeamS)
		local a = GetTeam()
		local saved = getpos()
		local Team = GetTeam()
		if not TeamS then
			ChangeTeam(game.Teams.Inmates)
		end
		GetGun("M9")
		repeat task.wait() until plr.Backpack:FindFirstChild("M9")
		local Gun = plr.Backpack:FindFirstChild("M9")
		local Gen = {}
		if TeamS then
			if TeamS == game.Teams.Guards then
				ChangeTeam(game.Teams.Inmates)
			elseif TeamS == game.Teams.Inmates then
				ChangeTeam(game.Teams.Criminals)
			end
		end
		if not TeamS then
			for i,v in pairs(game:GetService("Players"):GetPlayers()) do
				if not table.find(Whitelisted,v.Name) and v ~= plr then
					if v.Team == game.Teams.Criminals then
						for i =1,10 do
							Gen[#Gen+1]={
								["RayObject"] = Ray.new(Vector3.new(0,0,0), Vector3.new(0,0,0)),
								["Distance"] = .1,
								["Cframe"] = CFrame.new(),
								["Hit"] = v.Character:WaitForChild("Head")
							}
						end
					end
				end
			end
			game:GetService("ReplicatedStorage").ShootEvent:FireServer(Gen, Gun)
		end
		--
		if not TeamS then
			ChangeTeam(game.Teams.Criminals)
		end
		for i,v in pairs(game:GetService("Players"):GetPlayers()) do
			if not table.find(Whitelisted,v.Name) and v ~= plr then
				if (TeamS and v.Team == TeamS) or not TeamS then
					for i =1,10 do
						Gen[#Gen+1]={
							["RayObject"] = Ray.new(Vector3.new(0,0,0), Vector3.new(0,0,0)),
							["Distance"] = .1,
							["Cframe"] = CFrame.new(),
							["Hit"] = v.Character:WaitForChild("Head")
						}
					end
				end
			end
		end
		game:GetService("ReplicatedStorage").ShootEvent:FireServer(Gen, Gun)
		wait(.1)
		Last_Team(a)
		wait(.4)
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = saved
	end
	function keycard()
		if plr.Character:FindFirstChild("Key card") or plr.Backpack:FindFirstChild("Key card") then
			return Notif("You already have a keycard!")
		end
		if game:GetService("Workspace")["Prison_ITEMS"].single:FindFirstChild("Key card") then
			local a =getpos()
			local Key = workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP
			MoveTo(CFrame.new(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP.Position))
			wait()
			repeat wait(.1)
				local a =pcall(function()
					local Key = workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP
					game.Workspace.Remote["ItemHandler"]:InvokeServer(Key)
					MoveTo(CFrame.new(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP.Position+Vector3.new(0,3,0)))
				end)
				if not a then
					break
				end
			until plr.Backpack:FindFirstChild("Key card")
			wait()
			MoveTo(a)
			return
		end
		local a,b= getpos(),plr.TeamColor.Name
		local HadOn = States.autore
		if HadOn then
			States.autore = false
		end
		ChangeTeam(game.Teams.Guards)
		repeat wait(.2)
			pcall(function()
				plr.Character:FindFirstChildOfClass("Humanoid").Health =0
				wait(.2)
				ChangeTeam(game.Teams.Guards)
			end)
		until game:GetService("Workspace")["Prison_ITEMS"].single:FindFirstChild("Key card")
		if HadOn then
			States.autore = true
		end
		Last_Team(b)
		wait(.1)
		MoveTo(CFrame.new(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP.Position))
		wait()
		repeat wait(.1)
			local a =pcall(function()
				local Key = workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP
				game.Workspace.Remote["ItemHandler"]:InvokeServer(Key)
				MoveTo(CFrame.new(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP.Position+Vector3.new(0,3,0)))
			end)
			if not a then
				break
			end
		until plr.Backpack:FindFirstChild("Key card")
		wait()
		MoveTo(a)

	end
	function ReturnGun()
		for i,v in pairs(plr.Backpack:GetChildren()) do
			if v and v:IsA("Tool") and v:FindFirstChildOfClass("ModuleScript") then
				return v
			end
		end
		return nil
end
function kill(player,Type)
		if typeof(player):lower() == "string" then
			if game:GetService("Players"):FindFirstChild(player) then
				player = game:GetService("Players"):FindFirstChild(player)
			else
				return
			end
		end
		if player == plr or player == plr.Name then
			return Notif("Can't kill yourself????")
		end
		local Gun = ReturnGun()
		if table.find(Whitelisted,player.Name) then
			print("error is whitelisted - 1")
			return Notif("This player is whitelisted")
		end
		if Gun and plr.Team ~= player.Team then
			local Gen = {}
			for i =1,15 do
				Gen[#Gen+1]={
					["RayObject"] = Ray.new(Vector3.new(0,0,0), Vector3.new(0,0,0)),
					["Distance"] = .1,
					["Cframe"] = CFrame.new(),
					["Hit"] = player.Character:WaitForChild("Head")
				}
			end

			game:GetService("ReplicatedStorage").ShootEvent:FireServer(Gen, Gun)
		else
			MKILL(player)
		end
		wait(.3)
		if player.Character:FindFirstChildOfClass("Humanoid") and player.Character:FindFirstChildOfClass("Humanoid").Health <1 then
			Notif("Player has been killed")
		else
			Notif("Failed to kill player")
		end
	end
	function tase_all()
		local lastteam,Last = plr.TeamColor.Name,getpos()
		local Table = {}
		for i,v in pairs(game:GetService("Players"):GetPlayers()) do
			if v and v.Team ~= game:GetService("Teams").Guards and v ~= plr then
				Table[#Table+1]={
					["RayObject"] = Ray.new(Vector3.new(972.877869, 101.489967, 2362.66821), Vector3.new(-53.8579292, -7.45228672, 83.9272766)),
					["Distance"] = 1,
					["Cframe"] = CFrame.new(969.60144, 100.734177, 2369.42334, 0.777441919, -0.0313242674, -0.628174186, 1.86264515e-09, 0.998758912, -0.0498036928, 0.628954709, 0.038719479, 0.776477098),
					["Hit"] = v.Character.HumanoidRootPart
				}
			end
		end
		if plr.Team ~= game.Teams.Guards then
			local ohString1 = "Bright blue"
			task.spawn(function()
				plr.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = Last
			end)
			workspace.Remote.TeamEvent:FireServer(ohString1)
		end
		repeat task.wait() until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser")
		game:GetService("ReplicatedStorage").ShootEvent:FireServer(Table, game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser"))
		task.spawn(function() game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser")) end)
		wait(.3)
		Last_Team(lastteam)
		plr.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = Last
	end
	function tase(player)
		print("Called")
		local lastteam,Last = plr.TeamColor.Name,getpos()
		if typeof(player):lower() == "string" then
			if game:GetService("Players"):FindFirstChild(player) then
				player = game:GetService("Players"):FindFirstChild(player)

			end
		end
		if table.find(Whitelisted,player.Name) then
			print("error is whitelisted - 1")
			return Notif("This player is whitelisted")
		end
		if plr.Team ~= game.Teams.Guards then
			local ohString1 = "Bright blue"
			task.spawn(function()
				plr.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = Last
			end)
			workspace.Remote.TeamEvent:FireServer(ohString1)
		end
		repeat task.wait() until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser")
		wait(.3)
		game:GetService("ReplicatedStorage").ShootEvent:FireServer({
			[1] = {
				["RayObject"] = Ray.new(Vector3.new(972.877869, 101.489967, 2362.66821), Vector3.new(-53.8579292, -7.45228672, 83.9272766)),
				["Distance"] = 1,
				["Cframe"] = CFrame.new(969.60144, 100.734177, 2369.42334, 0.777441919, -0.0313242674, -0.628174186, 1.86264515e-09, 0.998758912, -0.0498036928, 0.628954709, 0.038719479, 0.776477098),
				["Hit"] = player.Character.HumanoidRootPart
			}
		}, game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser"))
		print('ShotBullet')
		task.spawn(function() game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser")) end)
		print('Reloaded')
		wait(.4)
		Last_Team(lastteam)
		plr.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = Last
end
function touch(Toucher,TouchThis)
		if not Toucher or not TouchThis then
			return
		end
		task.spawn(function()
			firetouch(Toucher,TouchThis,0)
			firetouch(Toucher,TouchThis,1)
			print("Touch")
		end)
	end
	function MoveTo(Pos,t)
		unsit()
		pcall(function()
			if typeof(Pos):lower() == "position" then
				Pos = CFrame.new(Pos)
			end
			for i =1,3 do
				plr.Character:FindFirstChild("HumanoidRootPart").CFrame = Pos
			end
		end)
	end
	function getpos()
		return plr.Character:FindFirstChild("HumanoidRootPart").CFrame
	end
	function AntiPunchC(v2)
		pcall(function()
			if v2 == plr then
				return
			end
			v2.Character:FindFirstChildOfClass("Humanoid").AnimationPlayed:Connect(function(animationTrack)
				if States.AntiPunch and not unloaded then
					if animationTrack.Animation.AnimationId == "rbxassetid://484200742" or animationTrack.Animation.AnimationId =="rbxassetid://484926359" then
						if (plr.Character.HumanoidRootPart.Position-v2.Character.HumanoidRootPart.Position).magnitude <3.5 and not table.find(Whitelisted,v2.Name) and not IsBringing then
							for i =1,13 do
								task.spawn(function()
									game.ReplicatedStorage["meleeEvent"]:FireServer(v2)
								end)
							end
						end
					end
				end
			end)
		end)
	end


	function refresh(Pos)
		if not Pos then
			Pos = getpos()
		end
		Resfreshing = true
		local Goto = Pos or getpos()
		local Connections = {}
		local Cam = workspace.CurrentCamera.CFrame
		Connections[1] = plr.CharacterAdded:Connect(function(charnew)
			pcall(function()
				task.spawn(function()
					workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
					for i =1,5 do
						workspace.CurrentCamera.CFrame = Cam
					end
				end)
				repeat task.wait() until charnew and charnew:FindFirstChild("HumanoidRootPart")
				MoveTo(Goto)
				task.spawn(function()
					wait(.05)
					MoveTo(Goto)
					Resfreshing = false
				end)
				Connections[1]:Disconnect()
			end)
		end)
		Events.loadchar()
		print("Refreshed")
		return
	end
	--//
	function FixHats(Hats)
		local function FindHat(a)
			for i,v in pairs(Hats) do
				if v and v == a then
					return v
				end
			end
			return nil
		end
		--Fix hats 2
		for i,v in pairs(Hats) do
			if v then
				pcall(function()
					local Hat = v.Hat
					local NewWeld = Instance.new("Weld",Hat.Handle)
					NewWeld.Part0 = Hat.Handle
					NewWeld.Part1 = plr.Character.Head
					NewWeld.C0 = v.OldPosition
					NewWeld.C1 = v.OldPosition2
					Hat.Handle.Anchored = false
				end)
			end
		end
	end
do
	--//Commands
	function NotFound()
		Notif("Player left or is not in server!")
	end
	function Toggle(a,b)
		if not a then
			States[b] = not States[b]
		elseif a == "on" then
			States[b] = true
		elseif a == "off" then
			States[b] = false
		end
		Notif(b.." is now set to "..tostring(States[b]))
	end
	Add_Command("cmds",function(Args)

		local Args = GetArgs(Args)
		if not Temp.CmdsC then
			Temp.CmdsC = true
			if Commands.Visible == false then
				Commands.Position = Commands.Position+UDim2.new(0,0,1,0)
				wait(.1)
				Commands:TweenPosition(SavedCmdsPosition,"Out","Quart",1)
				Commands.Visible = true
			else
				Commands:TweenPosition(SavedCmdsPosition+UDim2.new(0,0,1,0),"Out","Quart",1)
				wait(.5)
				Commands.Visible = false
			end
			wait(.7)
			Temp.CmdsC = false
		end
		Notif("Type cmds again to close the gui!")
	end,"Shows commands gui")
	Add_Command("rejoin",function(Args)
		local Args = GetArgs(Args)
		Notif("Rejoining...")
		wait(.3)
		if #game:GetService("Players"):GetPlayers() ==1 then
			game:GetService("Players").LocalPlayer:Kick("Please wait.")
			game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
		else
			game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
		end
	end,"Rejoins the server")
	Add_Command("opendoors",function(Args)
		local Args = GetArgs(Args)
		local LastTeam =plr.TeamColor.Name
		ChangeTeam(game.Teams.Guards)
		wait(.7)
		task.spawn(function()
			local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
			local Event = game:GetService("Workspace").Remote.ItemHandler
			Event:InvokeServer(Arg_1)
		end)
		for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
			if v then
				if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
					firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,v.block.hitbox,0)
					firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,v.block.hitbox,1)
				end
			end
		end
		wait(1)
		Last_Team(LastTeam)
	end,"Opens every door")
	Add_Command("prefix",function(Args)
		local Args = GetArgs(Args)
		if Args[2] and tostring(Args[2]) then
			Prefix = tostring(Args[2])
			for i,v in pairs(TableCommands) do
				if v then
					v.Name = Prefix..string.sub(v.Name,2,#v.Name)
				end
			end
			for i,v in pairs(CommandsRawList) do
				if v then
					v.Text = Prefix..string.sub(v.Text,2,#v.Text)
				end
			end
			Notif("prefix set to "..Args[2])
		else
			Notif("no prefix selected?")
		end

	end,"sets a prefix","STRING_COMMAND")
    Add_Command("keycard",function(Args)
		local Args = GetArgs(Args)
		keycard()
	end,"true",true)
	Add_Command("btools",function(Args)
		local Args = GetArgs(Args)
		Instance.new("HopperBin",plr.Backpack).BinType = 3
		Instance.new("HopperBin",plr.Backpack).BinType = 4
	end,"client sided btools that you can only see")
	Add_Command("key",function(Args)
		local Args = GetArgs(Args)
		keycard()
	end,"Gives you a keycard")
	Add_Command("view",function(Args)
		local Args = GetArgs(Args)
		local r = FindPlayer(Args[2])
		if r then
			Temp.Viewing = nil
			wait(.04)
			Temp.Viewing = r
			workspace.CurrentCamera.CameraSubject = r.Character:FindFirstChildOfClass("Humanoid")
			repeat wait()
				workspace.CurrentCamera.CameraSubject = r.Character:FindFirstChildOfClass("Humanoid")
			until Temp.Viewing == nil
		else
			NotFound()
		end
	end,"views a player","PLAYER_COMMAND")
	Add_Command("unview",function(Args)
		local Args = GetArgs(Args)
		Temp.Viewing = nil
		wait()
		workspace.CurrentCamera.CameraSubject = plr.Character:FindFirstChildOfClass("Humanoid")
	end,"unviews")
	Add_Command("m9",function(Args)
		local Args = GetArgs(Args)
		GetGun("M9")
	end,"Gets m9")
	Add_Command("m4a1",function(Args)
		local Args = GetArgs(Args)
		GetGun("M4A1")
	end,"Gets M4A1")
	Add_Command("tase",function(Args)
		local Args = GetArgs(Args)
		local r = FindPlayer(Args[2])
		if Args[2] == "all" then
			tase_all()
			return
		end
		if r then
			tase(r)
		end
	end,"tases a player","PLAYER_COMMAND")
	Add_Command("ak",function(Args)
		local Args = GetArgs(Args)
		GetGun("AK-47")
	end,"Gets ak47")
	Add_Command("shotgun",function(Args)
		local Args = GetArgs(Args)
		GetGun("Remington 870")
	end,"Gets a shotgun")
	Add_Command("rj",function(Args)
		local Args = GetArgs(Args)
		Execute_Command("!rejoin","!rejoin")
	end,"true",true)
	Add_Command("refresh",function(Args)
		local Args = GetArgs(Args)
		refresh()
	end,"Respawns your character")
    Add_Command("owner",function(Args)
            local args = {
                    [1] = "FireServiceScripter, Urgiobut",
                    [2] = "All"
                }

                game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
        end,"Say The Owners Name")
Add_Command("car",function(Args)
		local Args = GetArgs(Args)
		pcall(function()
			local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
			game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-910, 95, 2157))
			wait()
			local car = nil
			task.spawn(function()
				car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
			end)
			repeat wait(.1)
				local ohInstance1 = game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[8]["Car Spawner"]
				workspace.Remote.ItemHandler:InvokeServer(ohInstance1)
			until car
			repeat task.wait() until car:FindFirstChild("RWD") and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
			car.PrimaryPart = car.RWD
			game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(OldPos)
			local Done = false
			car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
			repeat 
				game:GetService("RunService").RenderStepped:Wait()
				car:SetPrimaryPartCFrame(OldPos)
				game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame =CFrame.new(car.Body.VehicleSeat.Position)
				car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
				if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit == true then
					Done = true
				end
			until Done
		end)
	end,"Brings a car to your location")
	Add_Command("re",function(Args)
		local Args = GetArgs(Args)
		Execute_Command("!refresh","!refresh")
	end,"true",true,true,true)
	Add_Command("godmode",function(Args)
		local Args = GetArgs(Args)
		Toggle(Args[2],"Godmode")
		if States.Godmode then--//Long ass godmode
			Godmode()
			local OldP = getpos()
			Temp.IsG = false
			wait()
			Temp.IsG = true
			Temp.ST =false
			local Cam = workspace.CurrentCamera.CFrame
			Temp.Godmode = plr.CharacterAdded:Connect(function(a)
				Temp.ST = true
				task.spawn(function()
					workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
					for i =1,5 do
						workspace.CurrentCamera.CFrame = Cam
					end
				end)
				repeat task.wait() until a and a:FindFirstChildOfClass("Humanoid")
				MoveTo(OldP)
				Godmode()
				wait()
				Temp.ST = false
				task.spawn(function()
					task.wait(.04)
					MoveTo(OldP)
				end)
			end)
			repeat swait()
				if not States.Godmode or unloaded then
					if unloaded then
						pcall(function()
							Temp.IsG = false
							Temp.ST = nil
							Temp.Godmode:Disconnect()
						end)
					end
					break
				end
				if not Temp.ST then
					Cam = workspace.CurrentCamera.CFrame
					OldP = getpos()
				end
			until States.Godmode == false
		else
			pcall(function()
				Temp.IsG = false
				Temp.ST = nil
				Temp.Godmode:Disconnect()
			end)
			wait()
			refresh()
		end
	end,"Makes you in godmode","TOGGLE_COMMAND")
Add_Command("unload",function(Args)
		local Args = GetArgs(Args)
		unloaded= true
		for i,v in pairs(Temp) do
			if v and typeof(v) == "RBXScriptConnection" then
				v:Disconnect()
			end
		end
		Temp = {}
		for i,v in pairs(States) do v = false end
		for i,v in pairs(TigerGuis) do if v then v:Destroy() end end
		pcall(function()
			game:GetService("Players").LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = false
		end)
		Folder:Destroy()
		do
			Temp.Viewing = nil
			wait()
			workspace.CurrentCamera.CameraSubject = plr.Character:FindFirstChildOfClass("Humanoid")
		end
		Notif("c00ladmin v2.8.3 is now unloaded, see you soon!")
	end,"Unloads everything")
    Add_Command("kill",function(Args)
		local Args = GetArgs(Args)
		local Check1 = function(ar)
			for i,v in pairs(game:GetService("Teams"):GetChildren()) do
				if v and v.Name:lower() == ar:lower() then
					return v
				end
			end
			return nil
		end
		if Args[2] then
			if Args[2] == "all" then
				Kill_All()
			elseif Check1(Args[2])  then
				Kill_All(Check1(Args[2]))
			else
				local r = FindPlayer(Args[2])
				if r then
					kill(r)
				else
					NotFound()
				end
			end
		else
			Notif("Missing arg2 !kill player")
		end
	end,"kills a player","PLAYER_COMMAND")
end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: