Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Trying to make a GUI Change the players transparency?

So I don't know how this really works like the limbs except for the head and torso have spaces. Also I'm trying to make everyone in the server see you disappear. And the accessories are really really confusing on how to make the mesh invisible.


Player = script.Parent.Parent.Parent.Parent.Character

function click()
	Player.Head.Transparency = 1
	Player.RightLeg.Transparency = 1
	Player.LeftLeg.Transparency = 1
	Player.LeftArm.Transparency = 1
	Player.RightArm.Transparency = 1
	Player.Torso.Transparency = 1
	Player.Face.Transparency = 1

end

script.Parent.MouseButton1Click:connect(function() click() end)

1 answer

✓ Accepted answer

When doing a function to a connect, you do not need to type

connect(function() click() end)

all you have to do is

Connect(click()
end)

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