So when you enter the game it will change your shirt and pants only if you are in a group.
Script:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
if player:IsInGroup(5816087) then
local Shirt = char.Shirt
local Pants = char.Pants
Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=3058874786"
Pants.PantsTemplate = "http://www.roblox.com/asset/?id=3019791149"
end
end)
end)
This is the output: 14:17:49.556 - ServerScriptService.Uniforms.Uniforms:5: attempt to index nil with 'Character'
