So this is only a test script, but for some reason when I press E, it doesn't print or play the sounds.
local ProximityPromptService = game:GetService("ProximityPromptService") local TweenService = game:GetService("TweenService") local closeDoor = script.Parent:WaitForChild("CloseDoor") local openDoor = script.Parent:WaitForChild("OpenDoor") local door = script.Parent:WaitForChild("Door") local sounds = script.Parent.Sounds local prompt1 = script.Parent.Scanner1.CardScanner.Attachment.ProximityPrompt local prompt2 = script.Parent.Scanner2.CardScanner.Attachment.ProximityPrompt prompt1.Triggered:Connect(function(player) print("Opened!") sounds.Accept:Play() sounds.Open:Play() wait(3) sounds.Close:Play() end)