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

How do I make a tool that makes you invisible?

Im pretty new to scripting and always wanted to make a tool like this. Thanks!

2 comments

0

This isn't a request site. Please try making the tool first, then ask what problems are occurring

0

Done

1 answer

✓ Accepted answer

Idk if this will work but i will try tho:

local Activated = false

script.Parent.Activated:Connect(function()
	if not Activated then
		Activated = true
	local PlayerChar = script.Parent.Parent
	local PlayerOwnsFolder = Instance.new("Folder")
	PlayerOwnsFolder.Parent = game.ReplicatedStorage
	PlayerOwnsFolder.Name = PlayerChar.Name.." Items"
	for i,v in pairs(PlayerChar:GetChildren()) do
		PlayerChar.Head.face.Transparency = 1
		if v:IsA("Part") or v:IsA("MeshPart")then
			v.Transparency = 1
		elseif v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Accessory") then
			local SaveClone = v:Clone() 
			SaveClone.Parent = game.ReplicatedStorage[PlayerChar.Name.." Items"]
			v:Destroy()
		end
	end
	else
		local PlayerChar = script.Parent.Parent
	for i,v in pairs(PlayerChar:GetChildren()) do
		if v:IsA("Part") or v:IsA("MeshPart")then
			v.Transparency = 0
			PlayerChar.HumanoidRootPart.Transparency = 1
			PlayerChar.Head.face.Transparency = 0
		end
	end
	for i,v in pairs(game.ReplicatedStorage[PlayerChar.Name.." Items"]:GetChildren()) do
		v.Parent = PlayerChar
	end
		game.ReplicatedStorage[PlayerChar.Name.." Items"]:Destroy()
		Activated = false
	end
end)

If you want me to explain something tell me! Hope it helps

8 comments

0

if this helps mark it as the answer

0

It only makes the head invisible. The rest of the body is still visible sadly :(

0

for me it works hmm

0

Oh yes, ik why this happens,let me fix this

0

is there a way that you could become visible again using this?

0

Like you can click and become visible?

0

Yes, will fix later

0

Thank you so much!

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