Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a gui that copys a Bosses health?

Asked by
iuclds 720 Moderation Voter
5 years ago
Edited 5 years ago
function Changed()
if game.Workspace.Reaper.Humanoid.HealthChanged then
script.Parent.Text = game.Workspace.Reaper.Humanoid.Health
end

my script

0
game.Workspace.Reaper.Humanoid.HealthChanged:Connect(function(amount) end) KDarren12 705 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

you need it to trigger when it changes like

game.Workspace.Reaper.Humanoid.HealthChanged:Connect(function()
 script.Parent.Text = game.Workspace.Reaper.Humanoid.Health
end)

Health Changed

Ad

Answer this question