How to make a Click Part for face?

Hello, Developers

Recently I have been trying to create a click part for face block, but I’m not sure how this script would work apart from using a ClickDetector. Any help would be appreciated, this is what I’m trying to script.

sshf

Thank you!

1 Like

Well, its kinda easy you only need 3 things.

  • click detector
  • script
  • face decal id

now create a part and add clickdetector and script in it.

and type the following

script.Parent.ClickDetector.Activated:Connect(function(plr)
  local char = plr.Character or plr.CharacterAdded:Wait()
  local faceDecal = char.Head:GetChildren()
  for _,v in pairs(faceDecal) do
   if v:IsA("Decal") then
    v.Texture = "put your face id here."
 end
 end
end
3 Likes

Thank you so much! This has really helped me, I appreciate it!

1 Like

No problem always here to help!

2 Likes