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

Use your tool for open this door add this script on part ?

Asked by 5 years ago
Edited 4 years ago
script.Parent.Touched:Connect(function(hit)
        if hit.Parent.Name == "Your Tool Name" then
        script.Parent.CanCollide = false
        script.Parent.Transparency = 0.5
             wait(2)
        script.Parent.CanCollide = true
        script.Parent.Transparency = 0
    end
end)

Answer this question