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 click to wear face?

how to make a click to wear face brick? can some one give me a script?

1 comment

0

You can't ask here for scripts, read rules. You asking us to work for you

1 answer

local ClickDetector = script.Parent -- in this case, your script parent must be the click detector

ClickDetector.MouseClick:Connect(function(PlayerWhoClicked) -- an event to fire when click detector got clicked, player who clicked is a parameter that it gets the additional information from this event
	local character = PlayerWhoClicked.Character -- get the character

	local characterHead = character.Head -- get head
	local characterFace = characterHead.face -- get face
	local faceId = "4593635654" -- the face id you want to replace, also this is the roblox classic epic face

	characterFace.Texture = "http://www.roblox.com/asset/?id=".. faceId -- set face texture to face id
	-- don't be super scared seeing the whole http:///www.roblox.com thing, thats a content data type for getting the face from roblox
end) -- end it

1 comment

0

try to not ask for scripts, unless you are really helpless, i send this script that i made myself is because i can let other people see this too searching google

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