#Refresh avatar
1 messages · Page 1 of 1 (latest)
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 😭
@blissful spoke
** You are now Level 1! **
oh
firstly, ts might not find humanoid bc its executing immediately after waiting for character added
also applydescriptionreset isnt a thing