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

Trying to make it to when a player joins there Transparent?

--Made By iThunderStrike24

game.Workspace.Player.Humanoid.Spawned.Transparency = 0.5

1 answer

game.Players.PlayerAdded:connect(function(player) -- get the player when he/she joins the game
	player.CharacterAdded:connect(function(character) -- get the character when it spawns
		for i,v in pairs(character:GetChildren()) do -- making a table out of the character's children
			if v:IsA("Part") then -- checks for each part in the character
				v.Transparency = 0.5 -- final step
			end
		end
	end)
end)

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