I am trying to make a Face Changer Gui and I cannot figure out how to convert the ID the user inputs to something the script can actually use.
I have tried:
- Adding “rbxassetid://” (did not work)
- Adding “http://www.roblox.com/asset/?id=”: (did not work)
- Using Humanoid:GetAppliedDescription() and Humanoid:ApplyDescription/Reset (These completely overwrite the character-- my full system allows you to reposition and move hats around, when I use these, they undo all other changes, making this not a viable method (possibly))
local function updateFace(player, id)
if id == "" then
id = 0
end
local character = player.Character
local face = character.Head:FindFirstChildWhichIsA("Decal")
face.Texture = "rbxassetid://" .. id
end