While I was trying to create a death scream, I came across Humanoid.Died.
Attempting to use Humanoid.Died, I found that it keeps triggering while the humanoid is alive.
Having the script disabled for 3 seconds when the humanoid is created still doesn’t work; Humanoid.Died still triggered. Please help.
local scream = script.Parent
local humanoid = script.Parent.Parent.Parent.Humanoid
screamable = true
if humanoid.Died then
screamable = false
scream:Play()
end
The wait script to attempt to stop humanoid.died from triggering:
local screamscript = script.Parent
wait(3)
screamscript.Enabled = true
In this script, Screamable doesn’t actually serve a purpose, so that can be ignored.