local health = script.Parent.Stats:WaitForChild("Health")
local maxHealth = health.Parent:WaitForChild("MaxHealth")
local text = script.Parent.BillboardGui:WaitForChild("TextLabel")
health.Changed:Connect(function()
if health <= 0 then script.Parent:Destroy()
else
text.Text = health.Value .. " / " .. maxHealth.Value
end
end)
that is the script (ITS IN A SERVER SCRIPT) https://i.imgur.com/aOzwgRy.png ^^^that is the part that its in this is in workspace so when i change the int value the text does not change i tried using prints but they dont print anything

1 comment
try localplayer if its in local script