How do I insert a UI?
#10
[lua]
function onEnter( c )
if c:isA("Character") then
local player = game.Players[c.Name]
local HealthScript = script.Parent.HealthScript:clone()
HealthScript.Parent = player.UI
end
end
link(game.World.ChildAdded, onEnter)
[/lua]

But it won't work. (I'll work on the updater later)
Reply


Messages In This Thread
How do I insert a UI? - by Glome - 06-01-2011, 02:12 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)