How would I go about making a script for when a brick is clicked the players face decal changes?
Put a ClickDetector
and a Script
inside a part. This is the script:
script.Parent.ClickDetector.MouseClick:connect(function(Player) Player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=110287983"--Decal Id end)
How it works:
The script it activated when the ClickDetector
inside the part is clicked. Once it is clicked it will get the Player who clicks it and change the Player's face's texture to the decal id.