I need a script that make when you have the tool your change face but when is unequipped you have your original face! I very need help because I don't find anywhere how to do this!
COMMUNITY QUESTION
How to change face when tool is equipped?
1 answer
If you want to make it so that a block of code runs when your tool is equipped, (in your case, change the face of a player) you must insert a script into the tool containing:
local EQUIPPEDFACEID = 14812835 --Enter the ID of the face you want when the tool is equipped.
script.Parent.Equipped:connect(function() --Called when the tool is equipped.
wait(0.3)
script.Parent.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=".. EQUIPPEDFACEID --Changes the user's character's face.
end)
script.Parent.Unequipped:connect(function() --Called when the tool is unequipped.
wait(0.3)
script.Parent.Parent.Parent.Character.Head.face.Texture = "rbxasset://textures/face.png" --Changes the user's character's face back to normal.
end)
Also make sure that the script's Parent is just the tool itself not any part inside it.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Jesus, what part of "this is not a request site" do you not get?