Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do I make a tool that makes you invisible? [closed]

Asked by 3 years ago
Edited 3 years ago

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

0
This isn't a request site. Please try making the tool first, then ask what problems are occurring bdam3000 125 — 3y
0
Done yuni_Boy1234 320 — 3y

Closed as Not Constructive by User#32819, WideSteal321, LennyPlayzYT, and JakyeRU

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
-2
Answered by 3 years ago
Edited 3 years ago

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

0
if this helps mark it as the answer yuni_Boy1234 320 — 3y
0
It only makes the head invisible. The rest of the body is still visible sadly :( Sharp_Sharpie -7 — 3y
0
for me it works hmm yuni_Boy1234 320 — 3y
0
Oh yes, ik why this happens,let me fix this yuni_Boy1234 320 — 3y
View all comments (4 more)
0
is there a way that you could become visible again using this? Sharp_Sharpie -7 — 3y
0
Like you can click and become visible? Sharp_Sharpie -7 — 3y
0
Yes, will fix later yuni_Boy1234 320 — 3y
0
Thank you so much! Sharp_Sharpie -7 — 3y
Ad