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

Special Door to make you transparent when walked through?

Asked by 6 years ago

So I know this is probably very very very simple. But it is surprising how this simple topic has not been covered. How do I make it so when you walk through a door, it changes how transparent you are????

0
this is NOT a request site. Please attempt and research before you make a question. GingeyLol 338 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

I'll give you it this once, but Scripting Helpers is not a request site.

script.Parent.Touched:Connect(function(hit)
    for i,v in pairs(hit.Parent:GetChildren()) do
        if v:IsA("BasePart") then
            v.Transparency = 1
        end
    end
end)

Put that in the part, that SHOULD work. DM me on roblox if it doesn't. Make sure this is a normal script.

Ad

Answer this question