Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to create an only rank uniform?

Hi, Can someone help? I tryied to script an only rank uniform Script, but it doesn't work.

1 answer

Would work something like this in a server script.

local RankId == 254 --rank id 0-255 check group configure or use https://api.roblox.com/groups/{groupIdhere}

game.Players.PlayerAdded:Connect(function(player)
	plr.CharacterAdded:Connect(function(char)
		if plr:GetRankInGroup({GROUP_ID}) == RankId then
			local Humanoid = character:WaitForChild("Humanoid")
			local HumDesc = Humanoid:GetAppliedDescription():Clone() 
			HumDesc.Shirt = {ShirtId} 
			HumDesc.Pants = {PantsId} 
			Humanoid:ApplyDescription(HumDesc)
		end
	end)
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.