char = game.Workspace["Hamood Summoner"].Major -- the npcs humanoid ignore the name
local textoutlinetransparency = script.Parent.TextStrokeTransparency
local TextTransparency = script.Parent.TextTransparency
script.Parent.Text = game.Workspace["Hamood Summoner"].Name
if char.Died:Connect(function()
wait(0.05)
textoutlinetransparency = 0.7
TextTransparency = 0.7
wait(0.05)
textoutlinetransparency = 0.8
TextTransparency = 0.8
wait(0.05)
textoutlinetransparency = 0.9
TextTransparency = 0.9
wait(0.05)
textoutlinetransparency = 1
TextTransparency = 1
end)
then
end
i made a script thats supposed to make the text which is supposed to be the overhead name quickly disappear when the humanoid dies but i used the variables to make it less messy and now the text won't become more transparent when the npc dies is there solution to this? i tried not using locals btw

2 comments
char is supposed to be a variable that is specifically the humanoid not the character
also your method didn't work