So i made a gui that activates a script via RemoteEvent. Once you click it your torso should turn invisible.
--script that is run
local rep = game:GetService("ReplicatedStorage")
local remote = rep:WaitForChild("RemoteEvent")
remote.OnServerEvent:Connect(function()
script.Parent.UpperTorso.Transparency = 1
end)
But every players torso gets invisible. how do i make it so only your torso turns invisible?

1 comment
if script.parent.name == your name then