The goal of this script is to make it so the player is transparent when they spawn but I am not sure where I went wrong. Any help?
local folder = script.Parent
local player = folder.Parent
for index, lookchar in pairs(folder:GetChildren()) do
if lookchar ~= script then
lookchar.Parent = player
player.Character.Torso.Transparency = 1
player.Character:FindFirstChild("Left Arm").Transparency = 1
player.Character:FindFirstChild("Left Leg").Transparency = 1
player.Character:FindFirstChild("Right Arm").Transparency = 1
player.Character:FindFirstChild("Right Leg").Transparency = 1
end
end

1 comment
It's a ServerScript in ServerScriptService. If you want to make them visible, just revert the steps