How To Make A Keycard Door With A Checker! Roblox Scripting Tutorial.
Script: script.Parent.Touched:Connect(function(hit)
if hit.Parent.Name == "Card" then
script.Parent.CanCollide = false
script.Parent.Checker.BrickColor = BrickColor.new("Bright green")
wait(0.3)
script.Parent.CanCollide = true
script.Parent.Checker.BrickColor = BrickColor.new("Really red")
end
end)
Thanks for watching!
Feel free to subscribe!
Give it a like if this tutorial helped you!
Have a great day!