wait(5)local t=script.Parent.Parent.Name local l=false function onTouched(q)if l==true then return end l=true if q.Parent==nil then wait(.1)l=false return end if q.Parent.Name==t then wait(.1)l=false return end local N=q.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if N==nil then wait(.1)l=false return end if q.Parent:findFirstChild("\073\110\102\101\099\116\101\100")~=nil then wait(.1)l=false return end if game.Players:findFirstChild(q.Parent.Name)==nil then wait(.1)l=false return end local o=N.Parent:findFirstChild("\076\101\102\116 \065\114\109")local g=N.Parent:findFirstChild("\082\105\103\104\116 \065\114\109")if o~=nil then o:remove()end if g~=nil then g:remove()end local S=script.Parent if S==nil then wait(.1)l=false return end local w=S:clone()local G=S:clone()local B=CFrame.new(0,0,0,0,0,1,0,1,0,-1,0,0)w.CFrame=(N.Parent.Torso.CFrame*CFrame.new(Vector3.new(-1.5,.5,-0.5)))*B G.CFrame=(N.Parent.Torso.CFrame*CFrame.new(Vector3.new(1.5,.5,-0.5)))*B w.Parent=N.Parent G.Parent=N.Parent w:makeJoints()G:makeJoints()w.Anchored=false G.Anchored=false wait(.1)N.Parent.Head.Color=S.Color local H=script.Parent.Parent.Infected:clone()H.Parent=N.Parent wait(.1)l=false end script.Parent.Touched:connect(onTouched)


wait(5)

local owner = script.Parent.Parent.Name
local db = false

function onTouched( part )

	if db == true then return end
	db = true

	if part.Parent == nil then wait(0.1) db = false return end

	if part.Parent.Name == owner then wait(0.1) db = false return end

	local h = part.Parent:findFirstChild("Humanoid")
	if h == nil then wait(0.1) db = false return end

	if part.Parent:findFirstChild("Infected") ~= nil then wait(0.1) db = false return end

	if game.Players:findFirstChild(part.Parent.Name) == nil then wait(0.1) db = false return end

	local larm = h.Parent:findFirstChild("Left Arm")
	local rarm = h.Parent:findFirstChild("Right Arm")
							
	if larm ~= nil then larm:remove() end
	if rarm ~= nil then rarm:remove() end

	local zee=script.Parent--.Parent:findFirstChild("zarm")

	if zee == nil then wait(0.1) db = false return end

	local zlarm=zee:clone()
	local zrarm=zee:clone()

	local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
	zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
	zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
	zlarm.Parent=h.Parent
	zrarm.Parent=h.Parent
	zlarm:makeJoints()
	zrarm:makeJoints()
	zlarm.Anchored=false
	zrarm.Anchored=false
	wait(0.1)
	h.Parent.Head.Color=zee.Color

	local newtag = script.Parent.Parent.Infected:clone()
	newtag.Parent = h.Parent

	wait(0.1)
	db = false

end

script.Parent.Touched:connect(onTouched)
