of     1   

ali2556354
#16460150Sunday, November 08, 2009 11:44 PM GMT

I trying to mimic the shield found in the Halo games but everytime the Shield Humanoid gets hurt so does the original humanoid this is the onRespawned script: function onPlayerRespawned(newPlayer) local hScript = script.Humanoid:clone() local name = newPlayer.Name local player = script.Parent:findFirstChild(name) hScript.Parent = player hScript.Disabled = false end script.Parent.ChildAdded:connect(onPlayerRespawned) and this is the Humanoid script: local p = script.Parent local h = p.Humanoid h.Name = "Health" local h2 = Instance.new("Humanoid") h2.Parent = p h2.Sit==true h2.Died:connect(function() h2:Remove() h.Name = "Humanoid" end) I also made it into a model: http://www.roblox.com/Item.aspx?ID=17832538 Any help would be appreciated =D
0364831
#16460226Sunday, November 08, 2009 11:46 PM GMT

Er..Erm... Whats wrong with it?
ali2556354
#16460248Sunday, November 08, 2009 11:46 PM GMT

Did you even read the thread at all? "Everytime the Shield Humanoid gets hurt so does the original humanoid"
ali2556354
#16460313Sunday, November 08, 2009 11:47 PM GMT

The output also says nothing.
0364831
#16460384Sunday, November 08, 2009 11:49 PM GMT

So....Whut.
Kagrenac
#16460416Sunday, November 08, 2009 11:50 PM GMT

Make two humans, make one take damage and the other keep refilling until the second ( shield ) 's health is 0
ali2556354
#16460480Sunday, November 08, 2009 11:51 PM GMT

I know but if the Shield takes damage so does the original Humanoid
Kagrenac
#16460546Sunday, November 08, 2009 11:53 PM GMT

So make it regen script.Parent.Changed:connect(function(prop) if prop == "Health" then script.Parent.Health = 100 end end)
ali2556354
#16460814Sunday, November 08, 2009 11:58 PM GMT

The problem is it doesn't rename the Humanoids or make the shield one sit
ali2556354
#16461029Monday, November 09, 2009 12:02 AM GMT

BUMP
ali2556354
#16461162Monday, November 09, 2009 12:04 AM GMT

BUMP!
ali2556354
#16461591Monday, November 09, 2009 12:12 AM GMT

Why doesn't it rename the Humanoid's?
Kagrenac
#16461694Monday, November 09, 2009 12:14 AM GMT

Well I don't understand what you mean by rename...
ali2556354
#16461912Monday, November 09, 2009 12:17 AM GMT

This: h.Name = "Health"
GermanPrince
#16463292Monday, November 09, 2009 12:42 AM GMT

Why not just take the humanoid's health before its attack and after an attack make it so it is restored to the last health...
ali2556354
#16463928Monday, November 09, 2009 12:54 AM GMT

IDK =P I'm stupid
kension19
#16464619Monday, November 09, 2009 1:06 AM GMT

I remember trying to make something like this. You gotta use a value in the character, and when the bullet/damaging brick tries to deal damage, it checks the value to see if its at 0, then it looks at the humanoid and takes health from it. Its really simple if you set it up the right way.
ali2556354
#16464682Monday, November 09, 2009 1:07 AM GMT

Really? I've been working at it for 2 weeks and I don't find it all that simple. Well thanks anyways I'll try that.
ali2556354
#16467266Monday, November 09, 2009 1:52 AM GMT

@ kension19 I think your way is the most reasonable

    of     1