I made a Health UI... But...
#5
I could give you it in roblox lua, but I can't be bothered to translate.

Assuming the script is in the UI:

[lua]-- Put UI in game.Storage

game.Storage.UI = a
Muffinz(Player)
a.Parent = Player.UI
a.script.Enabled = true (THis will activate the script below)
end

game.Players.PlayerAdded:connect(Muffinz)
[/lua]

As for the resetting, put another script in the UI with this in it :

[lua] while script.Parent.Parent.Parent.Name == Players do
wait (0.1)
if script.Parent.Parent.Character.Health > 1 then
--Reset Gui
end
end
[/lua]
Reply


Messages In This Thread
I made a Health UI... But... - by AK-47 - 06-03-2011, 03:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)