local Part = script.Parent

local EndParts = {game.Workspace.ASHEndPart, game.Workspace.DessertEndPart, game.Workspace.TEndPart, game.Workspace.Neon1EndPart,
game.Workspace.DEndPart}

Part.Touched:Connect(function(hit)
	local humanoid = hit.Parent:FindFirstChild("Humanoid")
	if humanoid then
		for _, v in pairs (EndParts) do
			wait(1)
		v.Transparency = 1
		wait(60)
	    v.Transparency = 0
		end
	end
end)

I have no idea why it's not working