How do you make the player's head invisible by changing the head's transparency to 1 when the part is clicked?
local debounce = true
function onClicked()
if debounce == true then
debounce = false
--Make the player's head invisible by changing the head's transparency to 1.
debounce = true
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)

2 comments
Thanks it worked! One more question, you can ignore this if you want, is there an official word instead of "playerWhoClicked"?
Yes! An argument is a varible with value passed through a function. Just think of it as a variable!