of     1   

Cheeso135
#139784499Wednesday, July 09, 2014 7:19 PM GMT

In a game. I have a dialogue shop. So I am assuming that I put like a free model of some type of armor and then edit my script? How would I make it increase the max health and current health of the player on touch?
Cheeso135
#139786396Wednesday, July 09, 2014 7:35 PM GMT

b1
Cheeso135
#139847821Thursday, July 10, 2014 5:42 AM GMT

b2
Cheeso135
#139848642Thursday, July 10, 2014 5:52 AM GMT

b3
Cheeso135
#139848737Thursday, July 10, 2014 5:53 AM GMT

b4
Cheeso135
#139848785Thursday, July 10, 2014 5:54 AM GMT

b5
AnonyAnonymous
#139848808Thursday, July 10, 2014 5:54 AM GMT

Player.Character.Humanoid.MaxHealth = NumberHere
Cheeso135
#139849393Thursday, July 10, 2014 6:02 AM GMT

That is not an onTouch event. I don't think that would work. But am I right about just inserting the armor I would like into replicated storage?
Cheeso135
#139849553Thursday, July 10, 2014 6:04 AM GMT

Oh and what script would I use. Because I do not want to clone the armor into the players inventory, but like weld it to the player.
Cheeso135
#139849779Thursday, July 10, 2014 6:07 AM GMT

b6
Cheeso135
#139850177Thursday, July 10, 2014 6:13 AM GMT

b7
Cheeso135
#139850362Thursday, July 10, 2014 6:15 AM GMT

b8
Cheeso135
#139850641Thursday, July 10, 2014 6:19 AM GMT

b9
phoenix53124
#139850668Thursday, July 10, 2014 6:20 AM GMT

There's a function called 'DialogChoiceSelected' x = script.Parent --Dialog choice x.DialogChoiceSelected:connect(function(plr, choice) c = game.Lighting[choice]:clone() c.Parent = plr.Backpack end)
AnonyAnonymous
#139850693Thursday, July 10, 2014 6:20 AM GMT

For changing the MaxHealth, an example would be, game.Workspace.Part.Touched:connect(function(Toucher) if Toucher.Parent and game.Players:FindFirstChild(Toucher.Parent.Name) then Toucher.Parent.Humanoid.MaxHealth = NumberHere end end)
Cheeso135
#139850827Thursday, July 10, 2014 6:22 AM GMT

Ok. And how would I take an armor, put it in replicated storage? And then I need to figure out a script for when it is bought, to weld to the surface of the player?
Cheeso135
#139850990Thursday, July 10, 2014 6:25 AM GMT

I know that function phoenix. But like I said. I want to weld the armor to the player. Not clone the armor to the backpack.
AnonyAnonymous
#139851099Thursday, July 10, 2014 6:26 AM GMT

Set it's position via Vector3 and wield it.
Cheeso135
#139851507Thursday, July 10, 2014 6:32 AM GMT

What is Vector3? Im just looking for a way to like….Put armor in replicated storage. Then once it is bought, using a script that I have no Idea how to make and would weld it to the player. I don't know how to and would like to learn.
Cheeso135
#139851665Thursday, July 10, 2014 6:34 AM GMT

b10
AnonyAnonymous
#139851710Thursday, July 10, 2014 6:35 AM GMT

Cheeso135
#139851892Thursday, July 10, 2014 6:38 AM GMT

ok. So basically it is a way of positioning 3D objects….But isn't there some script that I can make where It just clones armor parts to the player's body?
AnonyAnonymous
#139852055Thursday, July 10, 2014 6:40 AM GMT

There's more then one method of doing that, you'll have to decide and experiment Armor = Instance.new("Part") Armor.Position = Player.Torso.Position That's just an example, also, http://wiki.roblox.com/index.php?title=Welds
Cheeso135
#139852843Thursday, July 10, 2014 6:54 AM GMT

And I could replace armor with the name of the model of armor? And it would weld to the player?
AnonyAnonymous
#139852929Thursday, July 10, 2014 6:56 AM GMT

You'll have to position and weld it yourself, read the articles I linked for more information.

    of     1