Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make an Armour script?

I have no idea how to script an armour script... can anyone help?

3 answers

✓ Accepted answer

You can also find ways to make a a certain player only to give the health to. If you want really high health replace the 200 with math.huge. If this helped a rep point is appreciated.

game.Players.PlayerAdded:connect(function(person) person.CharacterAdded:connect(function(char) char:WaitForChild("Humanoid") char.Humanoid.MaxHealth = 200 char.Humanoid.Health = 200 end) end)

You need to include more details on what you want. For example, have you tried looking up solutions, what other pieces of code have you tried etc.

1 comment

0

I wanted the player to buy the developer product and then get awarded with 200 MaxHealth

When they are wearing the armour, make it so that it changes their Humanoid's MaxHealth.

This discussion is preserved as it was. New answers, comments, and votes are closed.