Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

face not a valid member of part?

Asked by
3wdo 198
5 years ago

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
0
i have to sleep now i hope i have a answer in the morning 3wdo 198 — 5y
0
farsalis is right, but sometimes you might have to do script.Parent:WaitForChild("face").Texture = "http://www.roblox.com/asset/?id=20418658" NSMascot 113 — 5y

1 answer

Log in to vote
2
Answered by
Farsalis 369 Moderation Voter
5 years ago
Edited 5 years ago

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.
Ad

Answer this question