wait() p = game.Players.LocalPlayer groupID= 6998516 game.Players.PlayerAdded:Connect(function(p) if p:IsInGroup(groupID)and p:GetRankInGroup(groupID) >= 252 then p.ShirtTemplate="http://www.roblox.com/asset/?id=981314839" p.PantsTemplate="http://www.roblox.com/asset/?id=457649168" end end)
So first you need at acess player's character "p.CharaterAdded:Connect(function(char)" and after make a for loop .what you did wrong was you wrote "p.ShirtTemplate" it will not acess shirt you need to do "p.Shirt.ShirtTemplate" so it acesses shirt in the local player. :
wait() p = game.Players.LocalPlayergroupID= 6998516 game.Players.PlayerAdded:Connect(function(p) p.CharacterAdded:Connect(function(char) if p:IsInGroup(groupID)and p:GetRankInGroup(groupID) >= 252 then p.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=981314839" p.Pants.PantsTemplate="http://www.roblox.com/asset/?id=457649168" end end) end)