~~~~~~~~~~~~~~~~~ 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
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"