Here is the code [This code is in a REGULAR script.]
local Humanoid = script.Parent.Zombie --Zombie is the name of the humanoid
local Message = Instance.new("Message")
function PwntX_X() --when the boss dies then...
Message.Text = "The boss has been defeated by"..creator --I'm guessing creator means the player that killed the boss? And then the message says the boss has been defeated by playername.
Message.Parent = game.Workspace
wait(5)
Message:Remove() --after 5 sec the message removes
end
Humanoid.Died:connect(PwntX_X) --when the boss dies
I'm not that good with working will humanoids and zombies that well. I explained what im doing throughout the script. This script is inside a model called 'Chicken Boss' Thanks!

2 comments
how would i give it a value
well, i figured out how to give it a value but it still didnt work.