Creating a shirt, giving it an ID but still doesn't work?
01 | local character = game.Players.LocalPlayer.Character |
02 | local augmaActivated = false |
05 | local function Activate(inputObject, gameProcessedEvent) |
06 | if augmaActivated = = true and inputObject.KeyCode = = Enum.KeyCoutde.Q then |
08 | script.Parent.Frame.Visible = false |
09 | augmaActivated = false |
10 | else if inputObject.KeyCode = = Enum.KeyCode.Q then |
11 | script.Parent.Frame.Visible = true |
14 | Instance.new( "Shirt" , character).Name = "Shirt" |
25 | game:GetService( "UserInputService" ).InputBegan:connect(Activate) |
This is my code, it inserts a Shirt and gives it an ID. It does this, the shirt in the player has the ID. But it doesn't appear on my character? I'm testing it when I have no shirt/pants so I don't need to destroy original Shirt/Pants yet.