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

How Do I make Individual spawns, Or other Players Temporarily Invis?

I wish to make an individual spawn for each player. Or so that the player cannot see the other players. at spawn - what i mean is. I wish to use Camera malipulation so that the player can see his/her character, but nobody elses.

Anyone know how?

1 comment

0

Just make all the other players invisible locally.

1 answer

Create a normal script in the StarterCharacterScripts folder with the following code:

function checkCharacter(model)
	local children = model:GetChildren()
	model.Head.face.Transparency = 1
	for i = 1,#children do
		if children[i]:IsA("Part") or children[i]:IsA("MeshPart") then
			children[i].Transparency = 1
		end
		if children[i]:IsA("Accessory")then
			children[i].Handle.Transparency = 1
		end
	end
end
wait(2)
if script.Parent:WaitForChild("UpperTorso") or script.Parent:WaitForChild("Torso") then
	checkCharacter(script.Parent)	
end

Then create another script and place it in the StarterCharacterScripts folder with the following code:

function checkCharacter(model)
	local children = model:GetChildren()
	model.Head.face.Transparency = 0
	for i = 1,#children do
		if children[i]:IsA("Part") or children[i]:IsA("MeshPart") then
			if children[i].Name ~= "HumanoidRootPart" then
				children[i].Transparency = 0
			end
		end
		if children[i]:IsA("Accessory")then
			children[i].Handle.Transparency = 0
		end
	end
end
wait(2.5)
if script.Parent:WaitForChild("UpperTorso") or script.Parent:WaitForChild("Torso") then
	checkCharacter(script.Parent)	
end

One problem is that players can still collide with each other. Hope this helps!

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