--Humanoid.Changed:connect(function(pr)
--	if pr == "Health" then
--		Frame.HP.Text = "HP: " .. Humanoid.Health .. " / " .. Humanoid.MaxHealth
--	elseif pr == "WalkSpeed" then
--		Frame.Speed.Text = "Speed: " .. Humanoid.WalkSpeed
--	end
--end)
--
--Humanoid.Died:connect(function()
--	Frame.HP.Text = "HP: 0 / " .. Humanoid.MaxHealth
--end)


if Humanoid.Health <= 0 then Frame.HP.Text = "HP: 0 / " .. Humanoid.MaxHealth end

Frame.OK.MouseButton1Up:connect(function() Gui:Destroy() end)

while true do
	Frame.HP.Text = "HP: " .. Humanoid.Health .. " / " .. Humanoid.MaxHealth
	
	wait()
end
