function proceedbeat(stupidchicken)
	if stupidchicken.Health > 0 then
		for i = 1, 100 do
			stupidchicken.Health = stupidchicken.Health-1^4152315
		end
	end
	if stuipdchicken.Health == 0 then
		return "StupidChickenHasBeenDefeated"
	end
end
function beat_the_chicken(parameter) 
	for i,v in pairs(parameter) do
		if v.Name == "Chicken" then
			thing =  proceedbeat(v)
			print(thing)
			if thing ~= "StupidChickenHasBeenDefeated" then
				print("StupidChickenRound2ISee")
				proceedbeat(v)
			end
		end
	end
end

error is that nothing pops up