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
4 years ago
Edited 4 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 — 4y

1 answer

Log in to vote
1
Answered by 4 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