So basically how would i remove waist accessories for every player?
1 Like
This is actually fairly easy using HumanoidDescription. You could simply grab the current HumanoidDescription
from the player’s character’s Humanoid
instance using GetAppliedDescription. Using that, you would simply remove the waist accessories from the description, and reapply the modified description. For example:
-- Get the current description
local humanoidDescription = humanoid:GetAppliedDescription()
-- Clear the waist accessories
humanoidDescription.WaistAccessory = ""
-- Apply the modified description
humanoid:ApplyDescription(humanoidDescription)
However, there is a catch. The ApplyDescription
method does not work unless the character is actually within the DataModel
, meaning it is parented somewhere other than Workspace. You’ll have to design a way to wait and check for this in a way that makes sense for your game specifically.
1 Like