#Refresh avatar

1 messages · Page 1 of 1 (latest)

river belfry
#

When i click the refresh avatar button the character doesnt change and doesnt reset to its original state i added it for my clothing game and when i click it the game freezes i just want it to only reset the avatar how can i do that im new btw

blissful spoke
#

wat

#

just delete all accessories prolly

river belfry
#

how bro idk how do i type

#

i only want it to reset the clothes and accessories not the whole avatar and when i press the reset button the game lags and freezes

#

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local Reset = ReplicatedStorage.Events:WaitForChild("Reset")

Reset.OnServerEvent:Connect(function(Player)
local Character = Player.Character or Player.CharacterAdded:Wait()
if not Character then return end

local Humanoid = Character:FindFirstChildOfClass("Humanoid")
if not Humanoid then return end

local Description = Players:GetHumanoidDescriptionFromUserId(Player.UserId)
if Description then
    Humanoid:ApplyDescriptionReset(Description)
end

end)

#

help me 😭

river belfry
#

@blissful spoke

plush sirenBOT
#

studio** You are now Level 1! **studio

river belfry
#

and im using refresh avatar kit

#

these contents

blissful spoke
blissful spoke