----------------------------------------DONT EDIT BELOW------------------------------------------------------------------------------

Color=BrickColor.new(TeamColor)
on=false
s=script.Parent
ss=script.Parent:clone()
s.BrickColor=Color
function Check(hit) if on then return end
if hit==nil then return end
local player=game.Players:FindFirstChild(hit.Parent.Name)
if player==nil then return end
on=true
	if player.TeamColor==Color then
	s.Transparency=0.6
	s.CanCollide=false
	wait(Time)
	s.Transparency=ss.Transparency
	s.CanCollide=true
	else
	local h=player.Character:FindFirstChild("Humanoid")
	local t=player.Character:FindFirstChild("Torso")
	if t==nil or h==nil then s.CanCollide=true s.Transparency=ss.Transparency on=false return end
	if AntiHack==1 then
	h.Sit=true
	t.Velocity=t.CFrame:inverse().lookVector*80
	elseif AntiHack==2 then
	h.Health=0
	elseif AntiHack==0 then
	else hit.Parent=nil
	end
	end
on=false
end

s.Touched:connect(Check)

