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
1script.Parent.Touched:Connect(function(hit)
2        if hit.Parent.Name == "Your Tool Name" then
3        script.Parent.CanCollide = false
4        script.Parent.Transparency = 0.5
5             wait(2)
6        script.Parent.CanCollide = true
7        script.Parent.Transparency = 0
8    end
9end)

Answer this question