Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

face not a valid member of part?

so i was making a animation for my yt im doing the "WAKE UP SLEEPY HEAD" meme. the face isnt changing but the script is in the head. can someone help me?

wait(1)
script.Parent.face = "http://www.roblox.com/asset/?id=20418658" -- btw its a simple script

2 comments

0

i have to sleep now i hope i have a answer in the morning

0

farsalis is right, but sometimes you might have to do script.Parent:WaitForChild("face").Texture = "http://www.roblox.com/asset/?id=20418658"

1 answer

You trying to change the decal as a whole. Not the texture. The format is this:

wait(1)
script.Parent.face.Texture = "rbxassetid://textures/yourdecal.png" -- Doesn't have to be a png file.

This discussion is preserved as it was. New answers, comments, and votes are closed.