The script seems to be fine and works in Play-Solo but when I tested it in-game it doesn't seem work so I clicked f9 and check the error message which says "Players.UserOnly16Characters.PlayerGui.ScreenGui.Frame.ImageButton.Cloth:6: attempt to index upvalue 'Me' (a nil Value). I don't know why the error only came up in-game and not in Studio?!? D:
local Player = game.Players.LocalPlayer
local Me = Player.Character
script.Parent.MouseButton1Click:connect(function()
local Humanoid = Me:FindFirstChild("Humanoid")
if Humanoid then
for i,v in pairs (Me:GetChildren()) do
if v:IsA("Pants") or v:IsA("Shirt") or v:IsA("CharacterMesh") or v:IsA("Hat") then
v:remove()
end
if v:IsA("Part") then
v.BrickColor = BrickColor.new("Mid gray")
end end
print("Recoloured Part and Removed Junk")
for i,v in pairs (Me.Head:GetChildren()) do
if v:IsA("Decal") then
v:remove()
end end
print("Remove Face Decal")
local A = Instance.new("Shirt", Me)
A.Name = "Shirt"
A.ShirtTemplate = "http://www.roblox.com/asset/?id=227899193"
print("Added Shirt")
local B = Instance.new("Pants",Me)
B.Name = "Pants"
B.PantsTemplate = "http://www.roblox.com/asset/?id=188558593"
print("Added Pants")
local C = Instance.new("Decal",Me.Head)
C.Name = "face"
C.Texture = "http://www.roblox.com/asset/?id=133620200"
print("face Added")
local Hat = Instance.new("Hat", Me)
local Handle = Instance.new("Part", Hat)
Handle.Name = "Handle"
Handle.Size = Vector3.new(1,1,1)
local Mesh = Instance.new("FileMesh", Hat.Handle)
Mesh.MeshId = "http://www.roblox.com/asset/?id=13070796"
Mesh.TextureId = "http://www.roblox.com/asset/?id=13070807"
local hat = game.ReplicatedStorage.LongHairHeadBand:Clone()
hat.Parent = Me
local Hair = game.ReplicatedStorage["Ultra-Fabulous Hair"]:Clone()
Hair.Parent = Me
end
end)

3 comments
The script is a Local Script which is a Part of a Gui that is inside the StarterGui. I know you say the script work fine but it doesn't seem to work fine in-game.
PS you can edit comments by clicking on them.
Thanks and Thank you for the tip :)