Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My change clothes Gui isn't Working, What Needs to be Changed?

Asked by 7 years ago
Edited 7 years ago

The script is not changing the players clothing, its a local script in a text button.

03button = script.Parent
04 
05button.MouseButton1Click:conect(function()
06    player = game.Players.LocalPlayer
07        char = player.Character
08        if char:findFirstChild("Shirt") then
09            char.Shirt.ShirtTemplate = shirtid
10        else
11            a = Instance.new("Shirt", char)
12            a.Name = "Shirt"
13            a.ShirtTemplate = shirtid
14        end
15        if char:findFirstChild("Pants") then
View all 22 lines...

Answer this question