So I'm trying to make a decal appear on a localplayers torso (Wound is the decal) when their health is 99 or below. The error is saying "Torso is not a valid member of Player" and I'm unsure why it is doing this. Yes, the game is in R6 so it's not the problem of me not putting something like "Uppertorso" instead. May anyone give me a fixed version or at least tell me what I have done wrong? Thank you!
local Humanoid = script.Parent.Humanoid
Humanoid.HealthChanged:Connect(function(Health)
if Health <= 99 then
game.Workspace.DM:Stop()
game.Workspace.Wound:Clone()
game.Workspace.Wound.Parent = game.Players.LocalPlayer.Torso
game.Workspace.Autophobia:Play()
script:Destroy()
end
end)
