Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to make a GUI Change the players transparency?

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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)
Ad

Answer this question