Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.Touched:connect(function(p)
- if p.Parent.Name == "KeyCard" then -- Instead of key1, type the name of your tool
- script.Parent.Transparency = 0.5
- script.Parent.CanCollide = false
- wait(1)
- script.Parent.Transparency = 0
- script.Parent.CanCollide = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement