local CheemS = script.Parent.Cheems local BuffDoge = script.Parent.BuffDoge CheemS.Boss.Died:Connect(function() BuffDoge.Boss:TakeDamage(100) end)
i'm trying to make it so when a humanoid dies the other one will take damage but instead of whats intended the other humanoid just straight up dies here is a demonstration and yes it did take 100 damage from the script but it somehow dies instantly idk whats happening which i'm concerned https://gyazo.com/8217b7836b58be83da8ed72b5540b909
You're dealing the 100 damage, which is the default maximum health on a humanoid. Check the NPC's humanoid properties and set max health to something above 100, and set the health to max health.
You could set the health of the humanoid to -100 of what it is.
local CheemS = script.Parent.Cheems local BuffDoge = script.Parent.BuffDoge CheemS.Boss.Died:Connect(function() BuffDoge.Boss.Health -= 100 end)