cloudslkak.blogg.se

Roblox shirt template armor pants
Roblox shirt template armor pants






roblox shirt template armor pants

I'm not going to completely show you how Weld each Parts to each "body parts" since that would be pointless because you can use what you learnt to apply it to other body parts.From their secret hideouts and hidden bases, the Yiga Clan continues to be a menace to Hyrule in The Legend of Zelda: Tears of the Kingdom. Weld.Part0 = Armor-Connect the Part0 property of the Weld to the Armor Weld.Part1 = character-Connect the Part1 property of the Weld to the Player's left leg Local Weld = Instance.new("Weld", Armor)-We have created our weld and now we are Parenting it to the Armor Local Armor.CFrame = character.CFrame -For the welding process we'll need to Make the Part contact with the Player so the weld doesn't break. Local Armor = Instance.new(Part, character)- Using Instance we created a Part and parented it inside the Player's character. Only way you can do this is by welding the Armor to the Player's body part. Now for attaching the "Armor" to the Player's Character. Since you know how to change the Player's Shirt, you can now do the same thing for the Pants or even T-shirt. Shirt.ShirtTemplate = ""- Replace the Id with your desired Shirt Id

roblox shirt template armor pants

Local Shirt = character:FindFirstChild("Shirt")-This make sure if the Player's Character has a Shirt in the first place. Now we have that done, we'll now need some way to access the Player's Character but luckily for us this is easier then is sound since we could use Parameters to access the Player's Character. Player.CharacterAdded:connect(function(character) I suggest CharacterAdded event since it calls the script everytime a Player's Character respawns. Lets tackle your first problem about changing the Player's Shirt and Pants.įirstly, We'll need to decide the event we need to use to call the script.








Roblox shirt template armor pants