while true do local g=game.Players:GetChildren()for j=1,#g,1 do if g[j].Character~=nil then if g[j].Character:findFirstChild("\084\111\114\115\111")~=nil then if(g[j].Character.Torso.Position-script.Parent.Torso.Position).magnitude<5 then local g=Instance.new("\083\116\114\105\110\103\086\097\108\117\101")g.Value=possibleAnims[math.random(1,#possibleAnims)]g.Name="\065\120\101"g.Parent=script.Parent.LinkedSword end end end end wait(.5)end



while true do
	local p = game.Players:GetChildren()
	for i = 1,#p do
		if p[i].Character~=nil then
			if p[i].Character:findFirstChild("Torso")~=nil then
				if (p[i].Character.Torso.Position - script.Parent.Torso.Position).magnitude < 5 then
					local anim = Instance.new("StringValue")
					anim.Value = possibleAnims[math.random(1, #possibleAnims)]
					anim.Name = "Axe"
					anim.Parent = script.Parent.LinkedSword
				end
			end
		end
	end
	wait(0.5)
end
