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
Fixed it if i change it it only local i have to change it using a script