Variables inside a function

Try this, maybe it will help
2TriggerDoor.rbxl (38.1 KB)