I have a script that when it shoots a target. Then it will turn the textlabel visible on the targets name so you can tell you hit it. Except. The textlabel isnt turning visible or working. Here's the malfunctioning part of the script
if Hum.Parent.Name == "Dummy" then
local enemychar = Hum.Parent
local enemy = game.Players:GetPlayerFromCharacter(Hum.Parent)
enemychar:FindFirstChild("Head"):FindFirstChild("BillboardGui"):FindFirstChild("TextLabel")
print("Works")
end
So yeah. Anyone know how to fix this?

2 comments
I see no place where you actually change the text, is this in another part of the script, or did you forget to add that?
The text is already named "Hit!". Should that not work?