Good morning guys.
I’ve been messing around with some of the Avatar Service features, I’ve started trying to figure out the PromptCreateOutfit feature. I’ve used the code they originally provide but I wanted to try do it so It can be used for a model. I’ve tried to use
--local humanoid = game.Workspace.DummyTest:WaitForChild("Humanoid") -- (No work)
local humanoid = game.Players.LocalPlayer.Character:WaitForChild("Humanoid") -- Yes work
local currentDescription = humanoid:GetAppliedDescription()
print(currentDescription)
game:GetService("AvatarEditorService"):PromptCreateOutfit(currentDescription, humanoid.RigType)
local result = game:GetService("AvatarEditorService").PromptCreateOutfitCompleted:Wait()
if result == Enum.AvatarPromptResult.Success then
print("very demure, very cutesy") -- This when via the local player
elseif result == Enum.AvatarPromptResult.PermissionDenied then
print("not very nice mate")
elseif result == Enum.AvatarPromptResult.Failed then
print("🤨") -- This when via the model
end
But nothing works, If anyone knows how I can get it to prompt a custom avatar and not the generic one It will be much appreciated, I am currently a headless chicken trying to find the exit in a maze. I have no clue what I am doing with this unfamiliar service.
Kindest Of Regards,
Rhys