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

How to make a transformation change your face to decal?

1
	local Tool = script.Parent --make sure this is a Tool object
2
	 
3
	Tool.Equipped:connect(function(Mouse) --Tool equipped function
4
	    Mouse.Button1Down:connect(function() --Button1Down is an Event for whenever the right mouse is clicked
5
	    local Player = game:GetService("Players").LocalPlayer.Character --Character is a part of LocalPlayer, it is the player in the server where the player has shirts and pants etc.
6
	    Player.Head.Face.Texture = 1296295817 --texture id, make sure Player.Head.Face.Texture is correct or the code will fail
7
	    end)
8
	end)

thats the script someone gave me to get it to work but it wont i have checked the error log there are no errors (i meant output lol) the id is right because when i change a models face decal in the editor it appears

1 comment

0

Vulkarin it is not working i dont know what is wrong

1 answer

Reason why it didn't worked is because you need an actual link to the item Links looks like "rbxassetid://[id_here]"

For example

game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1296295817"

3 comments

0

its not working

0

tested in my studio and it worked fine? What is the error?

0

there is no error thats the thing the face will not change on my character though i dont know if it is tht i am using a tool to do it

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